TheVera commited on
Commit
3d1e6e2
·
verified ·
1 Parent(s): 8336e90

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def normalize_text(text):
35
 
36
  return text
37
 
38
- def Mistral7B(prompt, instructions, api_key, temperature=0.2, max_new_tokens=100, top_p=0.9, repetition_penalty=1.0):
39
  try:
40
  temperature = max(float(temperature), 1e-2)
41
  top_p = float(top_p)
 
35
 
36
  return text
37
 
38
+ def Mistral7B(prompt, instructions, api_key, temperature=0.2, max_new_tokens=25, top_p=0.9, repetition_penalty=1.0):
39
  try:
40
  temperature = max(float(temperature), 1e-2)
41
  top_p = float(top_p)