Update README.md
Browse files
README.md
CHANGED
@@ -41,10 +41,7 @@ input_ids = tokenizer.prepare_seq2seq_batch(
|
|
41 |
|
42 |
output_ids = model.generate(
|
43 |
input_ids=input_ids,
|
44 |
-
|
45 |
-
no_repeat_ngram_size=3,
|
46 |
-
num_beams=5,
|
47 |
-
top_k=0
|
48 |
)[0]
|
49 |
|
50 |
summary = tokenizer.decode(output_ids, skip_special_tokens=True, clean_up_tokenization_spaces=False)
|
|
|
41 |
|
42 |
output_ids = model.generate(
|
43 |
input_ids=input_ids,
|
44 |
+
no_repeat_ngram_size=3
|
|
|
|
|
|
|
45 |
)[0]
|
46 |
|
47 |
summary = tokenizer.decode(output_ids, skip_special_tokens=True, clean_up_tokenization_spaces=False)
|