DarwinAnim8or
commited on
Commit
•
00b38b1
1
Parent(s):
a997e81
Update README.md
Browse files
README.md
CHANGED
@@ -41,7 +41,7 @@ happy_gen = HappyGeneration("GPT-NEO", "DarwinAnim8or/GPT-Greentext-125m")
|
|
41 |
|
42 |
#Set generation settings:
|
43 |
from happytransformer import GENSettings
|
44 |
-
args_top_k = GENSettings(no_repeat_ngram_size=
|
45 |
|
46 |
#Generate a response:
|
47 |
result = happy_gen.generate_text(""">be me
|
|
|
41 |
|
42 |
#Set generation settings:
|
43 |
from happytransformer import GENSettings
|
44 |
+
args_top_k = GENSettings(no_repeat_ngram_size=2, do_sample=True,top_k=80, temperature=0.4, max_length=150, early_stopping=False)
|
45 |
|
46 |
#Generate a response:
|
47 |
result = happy_gen.generate_text(""">be me
|