Skip to content
The Daily Repo

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.

Why this job: works in the areas we cover, but does not say which job it does

What it does

To try Verbalized Sampling, just copy and paste this into any chatbot (ChatGPT, Claude, Gemini, etc.). For best results, we recommend starting with models like GPT-5, Claude 4 Opus, and Gemini 2.5 Pro:

Get started

pip install verbalized-sampling
Maintenance
Active
Last commit 2 days ago
Stars
823
+7 this week
Licence
Custom
Read before business use
Downloads for
None listed
No release files
Latest version
None yet
No releases
Built with
Python
62% of the code

Is it looked after?

Contributors
Not stated
Last 90 days
Issues
100% closed
0 still open
Pull requests
29 merged
0 waiting
Releases
None
Never published
  • No contributing guide
  • No security policy
  • No code of conduct
More: languages, topics and project record

Languages

  • Python 62%
  • Jupyter Notebook 37%
  • Shell <1%
  • Makefile <1%

Topics

  • claude
  • creative-writing
  • diversity
  • gemini
  • gpt
  • large-language-models
  • llm
  • mode-collapse
  • prompt-engineering
  • python
  • qwen
  • sampling

Project record

  • JobOther AI tools
  • StatusListed
  • Commits46
  • Forks84
  • Watching8
  • Stars in 28 days+13
  • CreatedMay 20, 2025
  • First seen by usNov 7, 2026
  • CheckedNov 9, 2026

Type to search.

Try