BredForCompanionship commited on
Commit
3c1166e
1 Parent(s): beaf264

Update metric.py

Browse files
Files changed (1) hide show
  1. metric.py +1 -1
metric.py CHANGED
@@ -76,7 +76,7 @@ def compute(params):
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
- engine="gpt-3.5-turbo-instruct",
80
  prompt=prompt,
81
  temperature=0,
82
  max_tokens=1,
 
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",
80
  prompt=prompt,
81
  temperature=0,
82
  max_tokens=1,