Jan Štihec commited on
Commit
b1f3c8d
1 Parent(s): d2dc8ab

Update max tokens

Browse files
Files changed (1) hide show
  1. GPTHelper.py +2 -2
GPTHelper.py CHANGED
@@ -46,8 +46,8 @@ def gpt35_check_fact(evidence, fact):
46
  response = openai.Completion.create(
47
  model="text-davinci-003",
48
  prompt=prompt,
49
- max_tokens=2, # Don't need more for true/false/undetermined
50
- temperature=0
51
  )
52
  response = response['choices'][0]['text'].strip()
53
  response = response.replace('.', '')
 
46
  response = openai.Completion.create(
47
  model="text-davinci-003",
48
  prompt=prompt,
49
+ max_tokens=3, # Don't need more for Entails/Contradicts/Undetermined
50
+ temperature=0 # Higher temperature would not increase prediction accuracy.
51
  )
52
  response = response['choices'][0]['text'].strip()
53
  response = response.replace('.', '')