ghosthamlet commited on
Commit
ed93c41
·
1 Parent(s): 032437b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,10 +14,10 @@ def text_generate(prompt, generated_txt):
14
  json_ = {"inputs": prompt,
15
  "parameters":
16
  {
17
- "top_p": 0.8,
18
  "top_k": 100,
19
  "temperature": 1.0,
20
- "max_new_tokens": 250,
21
  "return_full_text": True,
22
  "do_sample":True,
23
  },
 
14
  json_ = {"inputs": prompt,
15
  "parameters":
16
  {
17
+ "top_p": 0.5,
18
  "top_k": 100,
19
  "temperature": 1.0,
20
+ "max_new_tokens": 512,
21
  "return_full_text": True,
22
  "do_sample":True,
23
  },