Update app.py
Browse files
app.py
CHANGED
|
@@ -41,7 +41,7 @@ hf = HuggingFacePipeline.from_model_id(
|
|
| 41 |
#model_id= "swiss-ai/Apertus-8B-Instruct-2509",
|
| 42 |
model_id= "microsoft/Phi-4-mini-instruct",
|
| 43 |
task="text-generation",
|
| 44 |
-
pipeline_kwargs = {"max_new_tokens": 400, "temperature": 0.
|
| 45 |
|
| 46 |
chat_model = ChatHuggingFace(llm=hf)
|
| 47 |
|
|
|
|
| 41 |
#model_id= "swiss-ai/Apertus-8B-Instruct-2509",
|
| 42 |
model_id= "microsoft/Phi-4-mini-instruct",
|
| 43 |
task="text-generation",
|
| 44 |
+
pipeline_kwargs = {"max_new_tokens": 400, "temperature": 0.1})
|
| 45 |
|
| 46 |
chat_model = ChatHuggingFace(llm=hf)
|
| 47 |
|