BigHugger
GH Repository · CHATS-lab

verbalized-sampling

Verbalized Sampling, a training-free prompting strategy to mitigate mode collapse in LLMs by requesting responses with probabilities. Achieves 2-3x diversity improvement while maintaining quality. Model-agnostic framework with CLI/API for creative writing, synthetic data generation, and dialogue simulation.

stars
810
30-day movement
+31/day
Related entries
60
Connections
1
otherPythondialogue-simulationclaudesynthetic-datacreative-writinggeminiqwenmakegptllmdiversitypythonlarge-language-modelssamplingmode-collapseprompt-engineering
Role
other
Language
Python
Licence
custom (licence file present)
Forks
84
Last push
2026-01-03