patrickvonplaten
commited on
Commit
•
8530d02
1
Parent(s):
60c8e22
Correct long-form generation config parameters 'max_initial_timestamp_index' and 'prev_sot_token_id'.
Browse filesHey 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.
- generation_config.json +2 -1
generation_config.json
CHANGED
@@ -47,10 +47,11 @@
|
|
47 |
]
|
48 |
],
|
49 |
"is_multilingual": false,
|
50 |
-
"max_initial_timestamp_index":
|
51 |
"max_length": 448,
|
52 |
"no_timestamps_token_id": 50362,
|
53 |
"pad_token_id": 50256,
|
|
|
54 |
"return_timestamps": false,
|
55 |
"suppress_tokens": [
|
56 |
1,
|
|
|
47 |
]
|
48 |
],
|
49 |
"is_multilingual": false,
|
50 |
+
"max_initial_timestamp_index": 50,
|
51 |
"max_length": 448,
|
52 |
"no_timestamps_token_id": 50362,
|
53 |
"pad_token_id": 50256,
|
54 |
+
"prev_sot_token_id": 50360,
|
55 |
"return_timestamps": false,
|
56 |
"suppress_tokens": [
|
57 |
1,
|