AbhishekRaghuvanshi
commited on
Commit
•
e2791ce
1
Parent(s):
2437a52
Update README.md
Browse files
README.md
CHANGED
@@ -130,12 +130,12 @@ input_ids = tokenizer(
|
|
130 |
return_tensors="pt",
|
131 |
padding="max_length",
|
132 |
truncation=True,
|
133 |
-
max_length=
|
134 |
)["input_ids"]
|
135 |
|
136 |
output_ids = model.generate(
|
137 |
input_ids=input_ids,
|
138 |
-
max_length=
|
139 |
no_repeat_ngram_size=2,
|
140 |
num_beams=4
|
141 |
)[0]
|
|
|
130 |
return_tensors="pt",
|
131 |
padding="max_length",
|
132 |
truncation=True,
|
133 |
+
max_length=5120
|
134 |
)["input_ids"]
|
135 |
|
136 |
output_ids = model.generate(
|
137 |
input_ids=input_ids,
|
138 |
+
max_length=840,
|
139 |
no_repeat_ngram_size=2,
|
140 |
num_beams=4
|
141 |
)[0]
|