Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -92,7 +92,7 @@ if llama_tokenizer.pad_token is None:
|
|
| 92 |
def llama_generate(
|
| 93 |
message: str,
|
| 94 |
max_new_tokens: int = LLAMA_DEFAULT_MAX_NEW_TOKENS,
|
| 95 |
-
temperature: float = 0.
|
| 96 |
top_p: float = 0.9,
|
| 97 |
top_k: int = 50,
|
| 98 |
repetition_penalty: float = 1.2,
|
|
|
|
| 92 |
def llama_generate(
|
| 93 |
message: str,
|
| 94 |
max_new_tokens: int = LLAMA_DEFAULT_MAX_NEW_TOKENS,
|
| 95 |
+
temperature: float = 0.2,
|
| 96 |
top_p: float = 0.9,
|
| 97 |
top_k: int = 50,
|
| 98 |
repetition_penalty: float = 1.2,
|