ArthurZ HF staff commited on
Commit
baca495
1 Parent(s): 71d37f7

Update `max_length` param

Browse files
Files changed (1) hide show
  1. config.json +6 -1
config.json CHANGED
@@ -2,6 +2,9 @@
2
  "_name_or_path": "openai/whisper-large",
3
  "activation_dropout": 0.0,
4
  "activation_function": "gelu",
 
 
 
5
  "attention_dropout": 0.0,
6
  "begin_suppress_tokens": [
7
  220,
@@ -32,6 +35,7 @@
32
  ],
33
  "init_std": 0.02,
34
  "is_encoder_decoder": true,
 
35
  "max_source_positions": 1500,
36
  "max_target_positions": 448,
37
  "model_type": "whisper",
@@ -129,7 +133,8 @@
129
  50361,
130
  50362
131
  ],
132
- "transformers_version": "4.23.0.dev0",
 
133
  "use_cache": true,
134
  "vocab_size": 51865
135
  }
 
2
  "_name_or_path": "openai/whisper-large",
3
  "activation_dropout": 0.0,
4
  "activation_function": "gelu",
5
+ "architectures": [
6
+ "WhisperForConditionalGeneration"
7
+ ],
8
  "attention_dropout": 0.0,
9
  "begin_suppress_tokens": [
10
  220,
 
35
  ],
36
  "init_std": 0.02,
37
  "is_encoder_decoder": true,
38
+ "max_length": 448,
39
  "max_source_positions": 1500,
40
  "max_target_positions": 448,
41
  "model_type": "whisper",
 
133
  50361,
134
  50362
135
  ],
136
+ "torch_dtype": "float32",
137
+ "transformers_version": "4.24.0.dev0",
138
  "use_cache": true,
139
  "vocab_size": 51865
140
  }