ArthurZ HF staff commited on
Commit
2fe5eef
1 Parent(s): 33335f2

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-medium.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:d605c0f28e32c8ff35413dadced8f06908f6163198a62a65ca5e5b2407cdcab8
3
- size 3055744475
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9cab9e33c423511099b0f7b9b8f54eb37c5acfdbdd1e363765621b6cec24657c
3
+ size 3055731227