Update README.md
Browse files
README.md
CHANGED
@@ -175,7 +175,7 @@ model_inputs = tokenizer(
|
|
175 |
)
|
176 |
|
177 |
model_output = model.generate(**model_inputs.to(model.device), generation_config=GenerationConfig(
|
178 |
-
max_new_tokens=
|
179 |
min_new_tokens=1,
|
180 |
do_sample=False,
|
181 |
num_beams=1,
|
@@ -221,7 +221,7 @@ model_inputs = tokenizer(
|
|
221 |
)
|
222 |
|
223 |
model_output = model.generate(**model_inputs.to(model.device), generation_config=GenerationConfig(
|
224 |
-
max_new_tokens=
|
225 |
min_new_tokens=1,
|
226 |
do_sample=False,
|
227 |
num_beams=1,
|
|
|
175 |
)
|
176 |
|
177 |
model_output = model.generate(**model_inputs.to(model.device), generation_config=GenerationConfig(
|
178 |
+
max_new_tokens=64,
|
179 |
min_new_tokens=1,
|
180 |
do_sample=False,
|
181 |
num_beams=1,
|
|
|
221 |
)
|
222 |
|
223 |
model_output = model.generate(**model_inputs.to(model.device), generation_config=GenerationConfig(
|
224 |
+
max_new_tokens=64,
|
225 |
min_new_tokens=1,
|
226 |
do_sample=False,
|
227 |
num_beams=1,
|