ArthurZ HF staff commited on
Commit
31a4aab
1 Parent(s): 7368b8e

Upload WhisperForConditionalGeneration

Browse files
Files changed (2) hide show
  1. config.json +6 -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
  "bos_token_id": 50257,
6
  "d_model": 1024,
@@ -14,7 +18,7 @@
14
  "encoder_ffn_dim": 4096,
15
  "encoder_layerdrop": 0.0,
16
  "encoder_layers": 24,
17
- "eos_token_id": 50257,
18
  "feature_size": 1,
19
  "init_std": 0.02,
20
  "input_channels": 1,
@@ -112,6 +116,7 @@
112
  "num_mel_bins": 80,
113
  "pad_token_id": 0,
114
  "scale_embedding": false,
 
115
  "transformers_version": "4.23.0.dev0",
116
  "use_cache": true,
117
  "vocab_size": 51864
 
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
  "bos_token_id": 50257,
10
  "d_model": 1024,
 
18
  "encoder_ffn_dim": 4096,
19
  "encoder_layerdrop": 0.0,
20
  "encoder_layers": 24,
21
+ "eos_token_id": 50256,
22
  "feature_size": 1,
23
  "init_std": 0.02,
24
  "input_channels": 1,
 
116
  "num_mel_bins": 80,
117
  "pad_token_id": 0,
118
  "scale_embedding": false,
119
+ "torch_dtype": "float32",
120
  "transformers_version": "4.23.0.dev0",
121
  "use_cache": true,
122
  "vocab_size": 51864
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dafa7d483f02db31dab0a0774c3818fd368c0ab56ebc1b3cc96122bd9afbd725
3
- size 3055725531
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d605c0f28e32c8ff35413dadced8f06908f6163198a62a65ca5e5b2407cdcab8
3
+ size 3055744475