ArthurZ HF staff commited on
Commit
c60f6aa
1 Parent(s): e21fc35

Update `max_length` param

Browse files
Files changed (2) hide show
  1. config.json +7 -1
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,6 +1,10 @@
1
  {
 
2
  "activation_dropout": 0.0,
3
  "activation_function": "gelu",
 
 
 
4
  "attention_dropout": 0.0,
5
  "begin_suppress_tokens": [
6
  220,
@@ -27,6 +31,7 @@
27
  ],
28
  "init_std": 0.02,
29
  "is_encoder_decoder": true,
 
30
  "max_source_positions": 1500,
31
  "max_target_positions": 448,
32
  "model_type": "whisper",
@@ -126,7 +131,8 @@
126
  50360,
127
  50361
128
  ],
129
- "transformers_version": "4.23.0.dev0",
 
130
  "use_cache": true,
131
  "vocab_size": 51864
132
  }
 
1
  {
2
+ "_name_or_path": "openai/whisper-base.en",
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,
 
31
  ],
32
  "init_std": 0.02,
33
  "is_encoder_decoder": true,
34
+ "max_length": 448,
35
  "max_source_positions": 1500,
36
  "max_target_positions": 448,
37
  "model_type": "whisper",
 
131
  50360,
132
  50361
133
  ],
134
+ "torch_dtype": "float32",
135
+ "transformers_version": "4.24.0.dev0",
136
  "use_cache": true,
137
  "vocab_size": 51864
138
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6ce7b310f4330f21031c8064c8fdaf3511b4769a122a34f3879dc5ff7e3216de
3
- size 290454551
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:404fa07b37813e1a425ae22348db6f7d0b359f72acd8d457927cc0d029beb278
3
+ size 290451159