LMFlow icon indicating copy to clipboard operation
LMFlow copied to clipboard

Issue on default temperature settings

Open wcphkust opened this issue 1 year ago • 1 comments

Hi, I am using LMFlow to invoke the model codellama/CodeLlama-7b-Instruct-hf. However, I found that the output was very repetitive. It seems that the default temperature setting is current set to 0. It would be better to add an option to support users specifying specific temperatures.

wcphkust avatar Oct 17 '23 15:10 wcphkust

Thanks for your interest in LMFlow! The commandline argument --temperature 1.0 can be used for this purpose when using examples/chatbot.py. Also, to reduce repetition, one can adopt --repetition_penalty xxx for some value >= 1.0. Thanks 😄

research4pan avatar Oct 29 '23 08:10 research4pan