IlyaGusev commited on
Commit
a423aae
1 Parent(s): 465adf9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -4
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
- max_length=162,
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)