Update autotemp.py

This commit is contained in:
pliny
2023-11-17 17:21:51 -08:00
committed by GitHub
parent 88fe17212a
commit 07674781bb

View File

@@ -63,7 +63,7 @@ class AutoTemp:
{output}
---
"""
score_text = self.generate_with_openai(eval_prompt, 0.5, fixed_top_p_for_evaluation)
score_text = self.generate_with_openai(eval_prompt, 0.69, fixed_top_p_for_evaluation)
score_match = re.search(r'\b\d+(\.\d)?\b', score_text)
if score_match:
return round(float(score_match.group()), 1) # Round the score to one decimal place