BredForCompanionship
commited on
Commit
•
62a52e5
1
Parent(s):
7c02758
Update metric.py
Browse files
metric.py
CHANGED
@@ -73,7 +73,7 @@ def compute(params):
|
|
73 |
print('answer:', answer)
|
74 |
print('label:', label)
|
75 |
|
76 |
-
prompt=f"Give me a score from 1 to 10 (higher is better) judging how similar these two captions are. Caption one: {answer}. Caption two: {label}\nScore:"
|
77 |
|
78 |
response = client.completions.create(
|
79 |
model="gpt-3.5-turbo-instruct",
|
|
|
73 |
print('answer:', answer)
|
74 |
print('label:', label)
|
75 |
|
76 |
+
prompt=f"Give me a score from 1 to 10 (higher is better) judging how similar these two captions are. Caption one: {answer}. Caption two: {label}\nScore: "
|
77 |
|
78 |
response = client.completions.create(
|
79 |
model="gpt-3.5-turbo-instruct",
|