Spaces:
Sleeping
Sleeping
alfredplpl
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,6 @@ def chat_llama3_8b(message: str,
|
|
81 |
temperature=temperature,
|
82 |
top_p=0.95,
|
83 |
repetition_penalty=1.1,
|
84 |
-
eos_token_id=terminators,
|
85 |
)
|
86 |
# This will enforce greedy generation (do_sample=False) when the temperature is passed 0, avoiding the crash.
|
87 |
if temperature == 0:
|
|
|
81 |
temperature=temperature,
|
82 |
top_p=0.95,
|
83 |
repetition_penalty=1.1,
|
|
|
84 |
)
|
85 |
# This will enforce greedy generation (do_sample=False) when the temperature is passed 0, avoiding the crash.
|
86 |
if temperature == 0:
|