Update app.py
Browse files
app.py
CHANGED
|
@@ -41,7 +41,7 @@ def generate(
|
|
| 41 |
max_new_tokens: int = 1024,
|
| 42 |
temperature: float = 0.1,
|
| 43 |
top_p: float = 0.9,
|
| 44 |
-
top_k: int =
|
| 45 |
repetition_penalty: float = 1.4,
|
| 46 |
) -> Iterator[str]:
|
| 47 |
|
|
|
|
| 41 |
max_new_tokens: int = 1024,
|
| 42 |
temperature: float = 0.1,
|
| 43 |
top_p: float = 0.9,
|
| 44 |
+
top_k: int = 3,
|
| 45 |
repetition_penalty: float = 1.4,
|
| 46 |
) -> Iterator[str]:
|
| 47 |
|