jhypark commited on
Commit
d086219
1 Parent(s): 3443879

Upload WhisperForConditionalGeneration

Browse files
Files changed (4) hide show
  1. README.md +3 -3
  2. config.json +12 -2
  3. generation_config.json +14 -0
  4. model.safetensors +3 -0
README.md CHANGED
@@ -14,8 +14,8 @@ model-index:
14
  - name: Whisper Medium Korean
15
  results:
16
  - task:
17
- name: Automatic Speech Recognition
18
  type: automatic-speech-recognition
 
19
  dataset:
20
  name: Zeroth Korean
21
  type: kresnik/zeroth_korean
@@ -23,9 +23,9 @@ model-index:
23
  split: test
24
  args: 'split: test'
25
  metrics:
26
- - name: Test Wer
27
- type: wer
28
  value: 3.6440295136274656
 
29
  ---
30
 
31
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
14
  - name: Whisper Medium Korean
15
  results:
16
  - task:
 
17
  type: automatic-speech-recognition
18
+ name: Automatic Speech Recognition
19
  dataset:
20
  name: Zeroth Korean
21
  type: kresnik/zeroth_korean
 
23
  split: test
24
  args: 'split: test'
25
  metrics:
26
+ - type: wer
 
27
  value: 3.6440295136274656
28
+ name: Test Wer
29
  ---
30
 
31
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
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.26.0.dev0",
40
  "use_cache": true,
 
41
  "vocab_size": 51865
42
  }
 
1
  {
2
+ "_name_or_path": "seastar105/whisper-medium-ko-zeroth",
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.41.2",
49
  "use_cache": true,
50
+ "use_weighted_layer_sum": false,
51
  "vocab_size": 51865
52
  }
generation_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.41.2"
14
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c172f1e20416047328218dfa55f65203afcbbdc79d6c6d5fa01124355d477b8
3
+ size 3055544304