Update README.md
Browse files
README.md
CHANGED
@@ -46,7 +46,7 @@ model_inputs = tokenizer([text], return_tensors="pt").to(device)
|
|
46 |
|
47 |
generated_ids = model.generate(
|
48 |
model_inputs.input_ids,
|
49 |
-
max_new_tokens=
|
50 |
)
|
51 |
generated_ids = [
|
52 |
output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
|
|
|
46 |
|
47 |
generated_ids = model.generate(
|
48 |
model_inputs.input_ids,
|
49 |
+
max_new_tokens=4096
|
50 |
)
|
51 |
generated_ids = [
|
52 |
output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
|