NickyNicky
commited on
Commit
•
e11935f
1
Parent(s):
0febcfb
Update README.md
Browse files
README.md
CHANGED
@@ -182,9 +182,9 @@ inputs = tokenizer.encode(txt,
|
|
182 |
max_new_tokens=1000
|
183 |
generation_config = GenerationConfig(
|
184 |
max_new_tokens=max_new_tokens,
|
185 |
-
temperature=0.
|
186 |
#top_p=0.9,
|
187 |
-
|
188 |
repetition_penalty=1.1,
|
189 |
do_sample=True,
|
190 |
)
|
|
|
182 |
max_new_tokens=1000
|
183 |
generation_config = GenerationConfig(
|
184 |
max_new_tokens=max_new_tokens,
|
185 |
+
temperature=0.2,
|
186 |
#top_p=0.9,
|
187 |
+
top_k=50,
|
188 |
repetition_penalty=1.1,
|
189 |
do_sample=True,
|
190 |
)
|