Update app.py
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ Provide a concise and direct answer to the question:
|
|
| 42 |
def get_model():
|
| 43 |
return HuggingFaceHub(
|
| 44 |
repo_id="mistralai/Mistral-7B-Instruct-v0.3",
|
| 45 |
-
model_kwargs={"temperature": 0.
|
| 46 |
huggingfacehub_api_token=huggingface_token
|
| 47 |
)
|
| 48 |
|
|
|
|
| 42 |
def get_model():
|
| 43 |
return HuggingFaceHub(
|
| 44 |
repo_id="mistralai/Mistral-7B-Instruct-v0.3",
|
| 45 |
+
model_kwargs={"temperature": 0.2, "max_length": 512},
|
| 46 |
huggingfacehub_api_token=huggingface_token
|
| 47 |
)
|
| 48 |
|