CHATS-lab / verbalized-sampling
git clone https://github.com/CHATS-lab/verbalized-sampling.git
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.
+0
stars, 24h · #77,436
+0
stars, 7 days · #82,712
+~10
stars, 30 days · #47,144
828
★ total
83
forks · 0 open issues
Star history (as recorded here)
LanguagePython
License—
Created2025-05-20 (1y ago)
Last push28d ago
OwnerOrganization
GitHub topics
claudecreative-writingdialogue-simulationdiversitygeminigptlarge-language-modelsllmmode-collapseprompt-engineeringpythonqwensamplingsynthetic-data
Links
- GitHub: github.com/CHATS-lab/verbalized-sampling
- Homepage: https://www.verbalized-sampling.com/
- Releases · Issues · Hacker News mentions
README
Loading README…