Changing a model’s generation settings (like temperature or top-p) is often the cheapest way to significantly boost performance, before touching prompts, RAG, or finetuning.
Here is why 👇:
Language models are probabilistic, they pick the next word based on likelihood.
But you can control how wild or safe they are with generation settings.
top-p (nucleus sampling):
Only picks from the top X% of likely tokens.
top-p = 0.9 = creative
top-p = 0.5 = focused
Combine with temp for balance.
temperature:
0.0 → deterministic, always picks the top token
0.7 → adds randomness
1.0 → creative, diverse, sometimes chaotic
Use cases:
📚 Creative writing → temp = 0.9, top-p = 0.95
📊 Factual summaries → temp = 0.3, top-p = 0.8
🤖 Support bots → temp = 0.5, top-p = 0.9
🧠 Extra tip:
Don’t just treat these as “randomness knobs”, they directly impact tone, diversity, and factuality. A low temperature with high top-p often sounds confident but may hallucinate less. Conversely, high temp + high top-p boosts exploration, but risks drifting off-topic. Tuning these is cheaper and faster than rerunning experiments or retraining models, yet it’s the most underused tool in a GenAI dev’s toolbox.
@vxntrl you're sitting in the interview for your dream job, everything's going great… then they go, 'Alright, one last thing, can you explain this tweet?'
@elazzabi_ I've noticed the same. even with high speeds, some services like streaming or gaming still feel throttled. the speed isn't consistent across everything
I think using a VPN (like NordVPN) might help, though I haven't tried it yet.
@vxntrl So there's anime (the cartoons) and manga (the comics version). People who use manga pfps think they are more sophisticated (than the anime people),
I'm here to say they are both gay.
Everyone blames the LLM when RAG outputs go sideways.
But often the real villain? Your embedding model.
Most teams still run on OpenAI’s text-embedding-ada-002 , not because it's good, but because it's easy.
Cheap, compatible, everywhere.
But performance? Mid at best.
Here’s the kicker: OSS models like BGE or E5 + a reranker routinely crush it in retrieval quality.
Want fewer hallucinations and tighter answers?
Don’t just tune your prompts, upgrade your embeddings.
Retrieval is half the stack.
Stop ignoring it.