easxtn commited on
Commit
19903e1
1 Parent(s): 78d4069

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def text_generation(text):
32
  "max_new_tokens": 500,
33
  "return_full_text": False,
34
  "temperature": 0.0,
35
- "do_sample": False,
36
  }
37
 
38
  text_gen= pipeline("text-generation", model="microsoft/Phi-3-mini-128k-instruct", tokenizer=tokenizer, trust_remote_code = True)
 
32
  "max_new_tokens": 500,
33
  "return_full_text": False,
34
  "temperature": 0.0,
35
+ "do_sample": True,
36
  }
37
 
38
  text_gen= pipeline("text-generation", model="microsoft/Phi-3-mini-128k-instruct", tokenizer=tokenizer, trust_remote_code = True)