As the title says, what are the best settings for Temperature, Top P, Best of, etc that I can use to get the best results in OpenAI?
Try finding some one sharing that on social media, I don't remember who, but you can find him to learn and improve on your ownAs the title says, what are the best settings for Temperature, Top P, Best of, etc that I can use to get the best results in OpenAI?
Appreciate the honestyThe ones that people have tested and won't share, in all honesty.
Best one so far :
def function(prompt, engine='text-davinci-002', temp=0.7, top_p=1.0, tokens=400, freq_pen=0.0, pres_pen=0.0, stop=['JAX:', 'USER:']):
prompt = prompt.encode(encoding='ASCII',errors='ignore').decode()
response = openai.Completion.create(
engine=engine,
prompt=prompt,
temperature=temp,
max_tokens=tokens,
top_p=top_p,
frequency_penalty=freq_pen,
presence_penalty=pres_pen,
stop=stop)
text = response['choices'][0]['text'].strip()
return text
ENJOY