Update README.md
Browse files
README.md
CHANGED
@@ -89,7 +89,7 @@ model.generate(
|
|
89 |
top_k=64, # top-k sampling
|
90 |
top_p=0.9, # nucleus sampling
|
91 |
temperature=0.3, # a low temparature to make the outputs less chaotic
|
92 |
-
repetition_penalty=1.0, # turn the repetition penalty off, having it on can lead to
|
93 |
do_sample=True, # randomly sample the outputs
|
94 |
use_cache=True # speed-up generation
|
95 |
)
|
|
|
89 |
top_k=64, # top-k sampling
|
90 |
top_p=0.9, # nucleus sampling
|
91 |
temperature=0.3, # a low temparature to make the outputs less chaotic
|
92 |
+
repetition_penalty=1.0, # turn the repetition penalty off, having it on can lead to very bad outputs
|
93 |
do_sample=True, # randomly sample the outputs
|
94 |
use_cache=True # speed-up generation
|
95 |
)
|