patrickvonplaten commited on
Commit
608f412
1 Parent(s): 8cf2071

Correct long-form generation config parameters 'max_initial_timestamp_index' and 'prev_sot_token_id'.

Browse files

Hey openai 👋,

Your model repository seems to contain outdated generation config parameters, such as 'max_initial_timestamp_index' and is missing the 'prev_sot_token_id' parameter. These parameters need to be updated to correctly handle long-form generation as stated in as part of https://github.com/huggingface/transformers/pull/27658. This PR makes sure that everything is up to date and can be safely merged.

Best, the Transformers team.

Files changed (1) hide show
  1. generation_config.json +2 -1
generation_config.json CHANGED
@@ -91,10 +91,11 @@
91
  ]
92
  ],
93
  "is_multilingual": false,
94
- "max_initial_timestamp_index": 1,
95
  "max_length": 448,
96
  "no_timestamps_token_id": 50362,
97
  "pad_token_id": 50256,
 
98
  "suppress_tokens": [
99
  1,
100
  2,
 
91
  ]
92
  ],
93
  "is_multilingual": false,
94
+ "max_initial_timestamp_index": 50,
95
  "max_length": 448,
96
  "no_timestamps_token_id": 50362,
97
  "pad_token_id": 50256,
98
+ "prev_sot_token_id": 50360,
99
  "suppress_tokens": [
100
  1,
101
  2,