Update app.py
Browse files
app.py
CHANGED
|
@@ -48,7 +48,7 @@ hf = HuggingFacePipeline.from_model_id(
|
|
| 48 |
#model_id= "swiss-ai/Apertus-8B-Instruct-2509",
|
| 49 |
model_id= "microsoft/Phi-4-mini-instruct",
|
| 50 |
task="text-generation",
|
| 51 |
-
pipeline_kwargs = {"max_new_tokens": 700, "temperature": 0.
|
| 52 |
|
| 53 |
chat_model = ChatHuggingFace(llm=hf)
|
| 54 |
|
|
|
|
| 48 |
#model_id= "swiss-ai/Apertus-8B-Instruct-2509",
|
| 49 |
model_id= "microsoft/Phi-4-mini-instruct",
|
| 50 |
task="text-generation",
|
| 51 |
+
pipeline_kwargs = {"max_new_tokens": 700, "temperature": 0.1})
|
| 52 |
|
| 53 |
chat_model = ChatHuggingFace(llm=hf)
|
| 54 |
|