wlin21at commited on
Commit
54137e2
·
1 Parent(s): a5f2a3e

change mixtral api temperature to 0

Browse files
Files changed (1) hide show
  1. metric.py +1 -1
metric.py CHANGED
@@ -60,7 +60,7 @@ def heading(text: str) -> str:
60
 
61
  def chat_llm_batch(model_id, prompts, limit= 20):
62
  parameters = TextGenerationParameters(
63
- decoding_method=DecodingMethod.SAMPLE, max_new_tokens=128, min_new_tokens=30, temperature=0.7, top_k=50, top_p=1
64
  )
65
  client = Client(credentials=Credentials.from_env())
66
  response_list = []
 
60
 
61
  def chat_llm_batch(model_id, prompts, limit= 20):
62
  parameters = TextGenerationParameters(
63
+ decoding_method=DecodingMethod.SAMPLE, max_new_tokens=128, min_new_tokens=30, temperature=0, top_k=50, top_p=1
64
  )
65
  client = Client(credentials=Credentials.from_env())
66
  response_list = []