Update README.md (#2)
Browse files- Update README.md (e24da8d3f0880223ba78bd73a56c8a87f3d525bf)
Co-authored-by: Mikhail Evtikhiev <[email protected]>
README.md
CHANGED
@@ -83,8 +83,8 @@ def generate(problem):
|
|
83 |
sample = model.generate(
|
84 |
problem,
|
85 |
temperature=0.1,
|
86 |
-
|
87 |
-
min_new_tokens=
|
88 |
pad_token_id=tokenizer.eos_token_id,
|
89 |
do_sample=False,
|
90 |
num_beams=1,
|
|
|
83 |
sample = model.generate(
|
84 |
problem,
|
85 |
temperature=0.1,
|
86 |
+
max_length=512,
|
87 |
+
min_new_tokens=5,
|
88 |
pad_token_id=tokenizer.eos_token_id,
|
89 |
do_sample=False,
|
90 |
num_beams=1,
|