CreitinGameplays
commited on
Commit
•
610065d
1
Parent(s):
93d9450
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def generate_text(prompt):
|
|
22 |
do_sample=True, # Enable sampling for creativity
|
23 |
top_k=50, # Sample from the top 50 most likely tokens at each step
|
24 |
top_p=0.15, # Filter out highly probable unlikely continuations
|
25 |
-
temperature=0.1 # Control the randomness of the generated text (1.0 for default)
|
26 |
repetition_penalty=1.165
|
27 |
)
|
28 |
|
|
|
22 |
do_sample=True, # Enable sampling for creativity
|
23 |
top_k=50, # Sample from the top 50 most likely tokens at each step
|
24 |
top_p=0.15, # Filter out highly probable unlikely continuations
|
25 |
+
temperature=0.1, # Control the randomness of the generated text (1.0 for default)
|
26 |
repetition_penalty=1.165
|
27 |
)
|
28 |
|