patrickvonplaten commited on
Commit
5f20981
1 Parent(s): 601d975

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
@@ -35,10 +35,11 @@
35
  ]
36
  ],
37
  "is_multilingual": false,
38
- "max_initial_timestamp_index": 1,
39
  "max_length": 448,
40
  "no_timestamps_token_id": 50362,
41
  "pad_token_id": 50256,
 
42
  "return_timestamps": false,
43
  "suppress_tokens": [
44
  1,
 
35
  ]
36
  ],
37
  "is_multilingual": false,
38
+ "max_initial_timestamp_index": 50,
39
  "max_length": 448,
40
  "no_timestamps_token_id": 50362,
41
  "pad_token_id": 50256,
42
+ "prev_sot_token_id": 50360,
43
  "return_timestamps": false,
44
  "suppress_tokens": [
45
  1,