Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=
|
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=18, top_p=0.9, repetition_penalty=1.0):
|
39 |
try:
|
40 |
temperature = max(float(temperature), 1e-2)
|
41 |
top_p = float(top_p)
|