ArthurZ HF staff commited on
Commit
52aafab
1 Parent(s): 6b3eac1

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-small.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:a512226e7f16843bf8d8800c85dd1267080d860947530da2d68590bb657894f2
3
- size 967096067
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de9684890cfba49040127fc47b1bd655a5dc4cb9cf92b461022e355e49e14044
3
+ size 967089347