Safetensors
Chinese
English
seed_oss

Sampling parameters?

#3
by McG-221 - opened

Dear @Azure99 please have a look, if my current sampling parameters are set correctly:

Bild 24.01.26 um 09.05

Up to this point I used different ones, but it seems that these "unlock" additional features (like "fancy" paragraph formatting, which I didn't have before)?

Much appreciated! ๐ŸŒธ

Owner

@McG-221 sorry for the late reply โ€” I only just saw your message.
For llama.cpp, Iโ€™d recommend using the following sampling parameters:
--temp 0.5 --top-p 0.85 --top-k 50 --repeat-penalty 1.05 --repeat-last-n -1 --min-p 0 --samplers "penalties;temperature;top_k;top_p"
In my experience, this setup tends to give a good balance between stability and flexibility.

Thank you very much! It's often not so easy to determine, if a model has a "sweet spot". I guess that's the nature of stochastic sampling... but sometimes, I just feel the urge to "optimize" towards a model's trained state, in the sense of "works as designed". Well, will try that out, thanks mate! โœŒ๏ธ

Sign up or log in to comment