Update README.md
Browse files
README.md
CHANGED
@@ -60,7 +60,8 @@ def generate_response(input_text: str) -> str:
|
|
60 |
do_sample=True,
|
61 |
top_k=1,
|
62 |
temperature=0.5,
|
63 |
-
max_new_tokens=300,
|
|
|
64 |
pad_token_id=tokenizer.eos_token_id)
|
65 |
|
66 |
# Tokenize input
|
|
|
60 |
do_sample=True,
|
61 |
top_k=1,
|
62 |
temperature=0.5,
|
63 |
+
max_new_tokens=300,
|
64 |
+
repetition_penalty=1.1,
|
65 |
pad_token_id=tokenizer.eos_token_id)
|
66 |
|
67 |
# Tokenize input
|