Spaces:
Runtime error
Runtime error
Commit
•
f548568
1
Parent(s):
1fb2014
Update app.py
Browse files
app.py
CHANGED
@@ -50,6 +50,7 @@ def generate(instruction, temperature=0.9, max_new_tokens=256, top_p=0.95, top_k
|
|
50 |
do_sample=True,
|
51 |
truncate=999,
|
52 |
seed=42,
|
|
|
53 |
)
|
54 |
|
55 |
stream = client.generate_stream(
|
|
|
50 |
do_sample=True,
|
51 |
truncate=999,
|
52 |
seed=42,
|
53 |
+
stop_sequences=["</s>"],
|
54 |
)
|
55 |
|
56 |
stream = client.generate_stream(
|