patrickvonplaten commited on
Commit
b1ef471
1 Parent(s): 5329fc4

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

Browse files

Hey Subhaka 👋,

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
@@ -118,10 +118,11 @@
118
  "<|yo|>": 50325,
119
  "<|zh|>": 50260
120
  },
121
- "max_initial_timestamp_index": 1,
122
  "max_length": 448,
123
  "no_timestamps_token_id": 50363,
124
  "pad_token_id": 50257,
 
125
  "return_timestamps": false,
126
  "suppress_tokens": [
127
  1,
 
118
  "<|yo|>": 50325,
119
  "<|zh|>": 50260
120
  },
121
+ "max_initial_timestamp_index": 50,
122
  "max_length": 448,
123
  "no_timestamps_token_id": 50363,
124
  "pad_token_id": 50257,
125
+ "prev_sot_token_id": 50361,
126
  "return_timestamps": false,
127
  "suppress_tokens": [
128
  1,