EbanLee commited on
Commit
c17e2b2
1 Parent(s): 3e7a3ac

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -28,11 +28,11 @@ summary_text_ids = model.generate(
28
  input_ids=input_ids,
29
  bos_token_id=model.config.bos_token_id,
30
  eos_token_id=model.config.eos_token_id,
31
- length_penalty=0.8,
32
- max_length=30,
33
  min_length=3,
34
  num_beams=6,
35
- repetition_penalty=2.0,
36
  )
37
 
38
  # Decoding Text Ids
 
28
  input_ids=input_ids,
29
  bos_token_id=model.config.bos_token_id,
30
  eos_token_id=model.config.eos_token_id,
31
+ length_penalty=1.0,
32
+ max_length=40,
33
  min_length=3,
34
  num_beams=6,
35
+ repetition_penalty=1.5,
36
  )
37
 
38
  # Decoding Text Ids