Spaces:
Runtime error
Runtime error
traversaal-ai
commited on
Commit
•
7ff78a5
1
Parent(s):
bc3374a
Update run.py
Browse files
run.py
CHANGED
@@ -15,9 +15,9 @@ gen_kwargs = dict(
|
|
15 |
max_new_tokens=1024,
|
16 |
top_k=30,
|
17 |
top_p=0.9,
|
18 |
-
temperature=0.
|
19 |
repetition_penalty=1.05, #1.02
|
20 |
-
stop=["\
|
21 |
)
|
22 |
|
23 |
def generate_text(prompt):
|
|
|
15 |
max_new_tokens=1024,
|
16 |
top_k=30,
|
17 |
top_p=0.9,
|
18 |
+
temperature=0.8,
|
19 |
repetition_penalty=1.05, #1.02
|
20 |
+
stop= ["\n"],
|
21 |
)
|
22 |
|
23 |
def generate_text(prompt):
|