Update README.md
Browse files
README.md
CHANGED
@@ -82,9 +82,8 @@ def generate(problem):
|
|
82 |
problem = tokenizer.encode(problem, return_tensors="pt").to('cuda')
|
83 |
sample = model.generate(
|
84 |
problem,
|
85 |
-
|
86 |
-
|
87 |
-
min_new_tokens=5,
|
88 |
pad_token_id=tokenizer.eos_token_id,
|
89 |
do_sample=False,
|
90 |
num_beams=1,
|
|
|
82 |
problem = tokenizer.encode(problem, return_tensors="pt").to('cuda')
|
83 |
sample = model.generate(
|
84 |
problem,
|
85 |
+
max_new_tokens=256,
|
86 |
+
min_new_tokens=128,
|
|
|
87 |
pad_token_id=tokenizer.eos_token_id,
|
88 |
do_sample=False,
|
89 |
num_beams=1,
|