patrickvonplaten commited on
Commit
ebdaff1
1 Parent(s): e34e8ae

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
@@ -160,10 +160,11 @@
160
  "<|yo|>": 50325,
161
  "<|zh|>": 50260
162
  },
163
- "max_initial_timestamp_index": 1,
164
  "max_length": 448,
165
  "no_timestamps_token_id": 50363,
166
  "pad_token_id": 50257,
 
167
  "return_timestamps": false,
168
  "suppress_tokens": [
169
  1,
 
160
  "<|yo|>": 50325,
161
  "<|zh|>": 50260
162
  },
163
+ "max_initial_timestamp_index": 50,
164
  "max_length": 448,
165
  "no_timestamps_token_id": 50363,
166
  "pad_token_id": 50257,
167
+ "prev_sot_token_id": 50361,
168
  "return_timestamps": false,
169
  "suppress_tokens": [
170
  1,