What are the best settings for OpenAI?

hellboy_1

Regular Member
Joined
Jul 19, 2022
Messages
289
Reaction score
169
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?
 
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 own
 
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

This is the default parameters with the old davinci-002.
 
Back
Top