Temperature and repetition_penalty
#1
by
ayyylol
- opened
Hi,
In the readme example it says:
temperature=0, do_sample=False, repetition_penalty=1.08)
But in the generation_config.json it says:
"repetition_penalty": 1.1,
"temperature": 0.7,
I was wondering what the correct values are?
Thank you!
Ok after messing with this for a while, the best values for me are:
--top_k 20
--top_p 8.0
--temp 0.7
--repeat-penalty 1.2
As soon as I drop repeat-penalty to 1.1 it starts repeating itself.