cafierom commited on
Commit
24fcb1d
·
verified ·
1 Parent(s): 71076f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
38
  hf = HuggingFacePipeline.from_model_id(
39
  model_id= "microsoft/Phi-4-mini-instruct",
40
  task="text-generation",
41
- pipeline_kwargs = {"max_new_tokens": 500, "temperature": 0.4})
42
 
43
  chat_model = ChatHuggingFace(llm=hf)
44
 
 
38
  hf = HuggingFacePipeline.from_model_id(
39
  model_id= "microsoft/Phi-4-mini-instruct",
40
  task="text-generation",
41
+ pipeline_kwargs = {"max_new_tokens": 800, "temperature": 0.4})
42
 
43
  chat_model = ChatHuggingFace(llm=hf)
44