BredForCompanionship
commited on
Commit
•
bff47ae
1
Parent(s):
d88eb9b
Update metric.py
Browse files
metric.py
CHANGED
@@ -82,9 +82,9 @@ def compute(params):
|
|
82 |
max_tokens=1,
|
83 |
)
|
84 |
eval_result = response.choices[0].text.strip()
|
|
|
85 |
print('eval_result', eval_result)
|
86 |
-
|
87 |
-
print(f"score = {eval_result}")
|
88 |
# try:
|
89 |
|
90 |
|
|
|
82 |
max_tokens=1,
|
83 |
)
|
84 |
eval_result = response.choices[0].text.strip()
|
85 |
+
print(response)
|
86 |
print('eval_result', eval_result)
|
87 |
+
score = int(eval_result)
|
|
|
88 |
# try:
|
89 |
|
90 |
|