From 96924b48ff5f7521062dd0f0b23715935b0f44b7 Mon Sep 17 00:00:00 2001 From: pliny <133052465+elder-plinius@users.noreply.github.com> Date: Fri, 3 Nov 2023 19:21:08 -0700 Subject: [PATCH] Update autotemp.py --- autotemp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autotemp.py b/autotemp.py index 73c1ac9..8b68813 100644 --- a/autotemp.py +++ b/autotemp.py @@ -56,7 +56,7 @@ class AutoTemp: output_text = self.generate_with_chat(prompt, temp) if output_text: outputs[temp] = output_text - eval_prompt = f"You are a task output evaluator. Rate the quality of the following output on a scale from 0 to 1000. Output only an integer. The output is: {output_text}" + eval_prompt = f"You are a task output evaluator. Rate the quality of the following output on a scale from 0 to 100. Output only an integer. The output is: {output_text}" score_text = self.generate_with_chat(eval_prompt, 0) score_match = re.search(r'\d+', score_text) if score_match: