Owos commited on
Commit
91ce83d
·
verified ·
1 Parent(s): 88a7276

Upload WhisperForConditionalGeneration

Browse files
Files changed (4) hide show
  1. README.md +7 -7
  2. config.json +12 -2
  3. generation_config.json +15 -0
  4. model.safetensors +3 -0
README.md CHANGED
@@ -1,6 +1,8 @@
1
  ---
2
- language:
3
  - en
 
 
4
  tags:
5
  - audio
6
  - automatic-speech-recognition
@@ -14,21 +16,19 @@ model-index:
14
  - name: whisper-medium
15
  results:
16
  - task:
17
- name: Automatic Speech Recognition
18
  type: automatic-speech-recognition
 
19
  dataset:
20
  name: Afrispeech-200
21
  type: intronhealth/afrispeech-200
22
  config: clean
23
  split: test
24
- args:
25
  language: en
26
  metrics:
27
- - name: Test WER
28
- type: wer
29
  value: 0
30
- pipeline_tag: automatic-speech-recognition
31
- license: apache-2.0
32
  ---
33
 
34
  # Afrispeech-Whisper-Medium-All
 
1
  ---
2
+ language:
3
  - en
4
+ license: apache-2.0
5
+ pipeline_tag: automatic-speech-recognition
6
  tags:
7
  - audio
8
  - automatic-speech-recognition
 
16
  - name: whisper-medium
17
  results:
18
  - task:
 
19
  type: automatic-speech-recognition
20
+ name: Automatic Speech Recognition
21
  dataset:
22
  name: Afrispeech-200
23
  type: intronhealth/afrispeech-200
24
  config: clean
25
  split: test
26
+ args:
27
  language: en
28
  metrics:
29
+ - type: wer
 
30
  value: 0
31
+ name: Test WER
 
32
  ---
33
 
34
  # Afrispeech-Whisper-Medium-All
config.json CHANGED
@@ -1,7 +1,8 @@
1
  {
2
- "_name_or_path": "openai/whisper-medium",
3
  "activation_dropout": 0.0,
4
  "activation_function": "gelu",
 
5
  "architectures": [
6
  "WhisperForConditionalGeneration"
7
  ],
@@ -11,6 +12,7 @@
11
  50257
12
  ],
13
  "bos_token_id": 50257,
 
14
  "d_model": 1024,
15
  "decoder_attention_heads": 16,
16
  "decoder_ffn_dim": 4096,
@@ -26,9 +28,16 @@
26
  "forced_decoder_ids": null,
27
  "init_std": 0.02,
28
  "is_encoder_decoder": true,
 
 
 
 
 
 
29
  "max_length": 448,
30
  "max_source_positions": 1500,
31
  "max_target_positions": 448,
 
32
  "model_type": "whisper",
33
  "num_hidden_layers": 24,
34
  "num_mel_bins": 80,
@@ -36,7 +45,8 @@
36
  "scale_embedding": false,
37
  "suppress_tokens": [],
38
  "torch_dtype": "float32",
39
- "transformers_version": "4.25.1",
40
  "use_cache": false,
 
41
  "vocab_size": 51865
42
  }
 
1
  {
2
+ "_name_or_path": "/home/abraham-owos/experiments/afrispeech-whisper-medium-all",
3
  "activation_dropout": 0.0,
4
  "activation_function": "gelu",
5
+ "apply_spec_augment": false,
6
  "architectures": [
7
  "WhisperForConditionalGeneration"
8
  ],
 
12
  50257
13
  ],
14
  "bos_token_id": 50257,
15
+ "classifier_proj_size": 256,
16
  "d_model": 1024,
17
  "decoder_attention_heads": 16,
18
  "decoder_ffn_dim": 4096,
 
28
  "forced_decoder_ids": null,
29
  "init_std": 0.02,
30
  "is_encoder_decoder": true,
31
+ "mask_feature_length": 10,
32
+ "mask_feature_min_masks": 0,
33
+ "mask_feature_prob": 0.0,
34
+ "mask_time_length": 10,
35
+ "mask_time_min_masks": 2,
36
+ "mask_time_prob": 0.05,
37
  "max_length": 448,
38
  "max_source_positions": 1500,
39
  "max_target_positions": 448,
40
+ "median_filter_width": 7,
41
  "model_type": "whisper",
42
  "num_hidden_layers": 24,
43
  "num_mel_bins": 80,
 
45
  "scale_embedding": false,
46
  "suppress_tokens": [],
47
  "torch_dtype": "float32",
48
+ "transformers_version": "4.39.0",
49
  "use_cache": false,
50
+ "use_weighted_layer_sum": false,
51
  "vocab_size": 51865
52
  }
generation_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "begin_suppress_tokens": [
4
+ 220,
5
+ 50257
6
+ ],
7
+ "bos_token_id": 50257,
8
+ "decoder_start_token_id": 50258,
9
+ "eos_token_id": 50257,
10
+ "max_length": 448,
11
+ "pad_token_id": 50257,
12
+ "suppress_tokens": [],
13
+ "transformers_version": "4.39.0",
14
+ "use_cache": false
15
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60632100904b57db6eedb031ad746e15bd00a8778d911b75f537110ce85d508b
3
+ size 3055544304