Max200293 commited on
Commit
0f6cb30
·
1 Parent(s): bc1250a

wav2vec2-efeat-300m-norwegian-colab

Browse files
README.md CHANGED
@@ -4,7 +4,7 @@ base_model: facebook/wav2vec2-lv-60-espeak-cv-ft
4
  tags:
5
  - generated_from_trainer
6
  datasets:
7
- - nb_samtale
8
  metrics:
9
  - wer
10
  model-index:
@@ -14,15 +14,15 @@ model-index:
14
  name: Automatic Speech Recognition
15
  type: automatic-speech-recognition
16
  dataset:
17
- name: nb_samtale
18
- type: nb_samtale
19
- config: annotations
20
  split: test
21
- args: annotations
22
  metrics:
23
  - name: Wer
24
  type: wer
25
- value: 1.0
26
  ---
27
 
28
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -30,10 +30,10 @@ should probably proofread and complete it, then remove this comment. -->
30
 
31
  # wav2vec2-efeat-300m-norwegian-colab
32
 
33
- This model is a fine-tuned version of [facebook/wav2vec2-lv-60-espeak-cv-ft](https://huggingface.co/facebook/wav2vec2-lv-60-espeak-cv-ft) on the nb_samtale dataset.
34
  It achieves the following results on the evaluation set:
35
- - Loss: nan
36
- - Wer: 1.0
37
 
38
  ## Model description
39
 
@@ -60,15 +60,15 @@ The following hyperparameters were used during training:
60
  - total_train_batch_size: 32
61
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
62
  - lr_scheduler_type: linear
63
- - lr_scheduler_warmup_steps: 500
64
  - num_epochs: 5
65
  - mixed_precision_training: Native AMP
66
 
67
  ### Training results
68
 
69
- | Training Loss | Epoch | Step | Validation Loss | Wer |
70
- |:-------------:|:-----:|:----:|:---------------:|:---:|
71
- | 0.0 | 2.57 | 400 | nan | 1.0 |
72
 
73
 
74
  ### Framework versions
 
4
  tags:
5
  - generated_from_trainer
6
  datasets:
7
+ - voxpopuli
8
  metrics:
9
  - wer
10
  model-index:
 
14
  name: Automatic Speech Recognition
15
  type: automatic-speech-recognition
16
  dataset:
17
+ name: voxpopuli
18
+ type: voxpopuli
19
+ config: fi
20
  split: test
21
+ args: fi
22
  metrics:
23
  - name: Wer
24
  type: wer
25
+ value: 0.5082158970645575
26
  ---
27
 
28
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
30
 
31
  # wav2vec2-efeat-300m-norwegian-colab
32
 
33
+ This model is a fine-tuned version of [facebook/wav2vec2-lv-60-espeak-cv-ft](https://huggingface.co/facebook/wav2vec2-lv-60-espeak-cv-ft) on the voxpopuli dataset.
34
  It achieves the following results on the evaluation set:
35
+ - Loss: 2050.9434
36
+ - Wer: 0.5082
37
 
38
  ## Model description
39
 
 
60
  - total_train_batch_size: 32
61
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
62
  - lr_scheduler_type: linear
63
+ - lr_scheduler_warmup_steps: 1000
64
  - num_epochs: 5
65
  - mixed_precision_training: Native AMP
66
 
67
  ### Training results
68
 
69
+ | Training Loss | Epoch | Step | Validation Loss | Wer |
70
+ |:-------------:|:-----:|:----:|:---------------:|:------:|
71
+ | 1368.1253 | 2.57 | 400 | 2050.9434 | 0.5082 |
72
 
73
 
74
  ### Framework versions
config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
- "_name_or_path": "facebook/wav2vec2-base-960h",
3
- "activation_dropout": 0.1,
4
  "adapter_attn_dim": null,
5
  "adapter_kernel_size": 3,
6
  "adapter_stride": 2,
@@ -12,9 +12,9 @@
12
  "attention_dropout": 0.1,
13
  "bos_token_id": 1,
14
  "classifier_proj_size": 256,
15
- "codevector_dim": 256,
16
  "contrastive_logits_temperature": 0.1,
17
- "conv_bias": false,
18
  "conv_dim": [
19
  512,
20
  512,
@@ -45,42 +45,49 @@
45
  "ctc_loss_reduction": "sum",
46
  "ctc_zero_infinity": false,
47
  "diversity_loss_weight": 0.1,
48
- "do_stable_layer_norm": false,
49
  "eos_token_id": 2,
50
  "feat_extract_activation": "gelu",
51
  "feat_extract_dropout": 0.0,
52
- "feat_extract_norm": "group",
53
  "feat_proj_dropout": 0.1,
54
  "feat_quantizer_dropout": 0.0,
55
- "final_dropout": 0.1,
56
  "gradient_checkpointing": false,
57
  "hidden_act": "gelu",
58
  "hidden_dropout": 0.1,
59
- "hidden_dropout_prob": 0.1,
60
- "hidden_size": 768,
61
  "initializer_range": 0.02,
62
- "intermediate_size": 3072,
63
  "layer_norm_eps": 1e-05,
64
  "layerdrop": 0.1,
 
 
 
 
 
65
  "mask_feature_length": 10,
66
  "mask_feature_min_masks": 0,
67
  "mask_feature_prob": 0.0,
68
  "mask_time_length": 10,
69
  "mask_time_min_masks": 2,
70
- "mask_time_prob": 0.05,
 
 
 
71
  "model_type": "wav2vec2",
72
  "num_adapter_layers": 3,
73
- "num_attention_heads": 12,
74
  "num_codevector_groups": 2,
75
  "num_codevectors_per_group": 320,
76
  "num_conv_pos_embedding_groups": 16,
77
  "num_conv_pos_embeddings": 128,
78
  "num_feat_extract_layers": 7,
79
- "num_hidden_layers": 12,
80
  "num_negatives": 100,
81
- "output_hidden_size": 768,
82
  "pad_token_id": 0,
83
- "proj_codevector_dim": 256,
84
  "tdnn_dilation": [
85
  1,
86
  2,
@@ -105,6 +112,6 @@
105
  "torch_dtype": "float32",
106
  "transformers_version": "4.35.2",
107
  "use_weighted_layer_sum": false,
108
- "vocab_size": 32,
109
  "xvector_output_dim": 512
110
  }
 
1
  {
2
+ "_name_or_path": "facebook/wav2vec2-lv-60-espeak-cv-ft",
3
+ "activation_dropout": 0.0,
4
  "adapter_attn_dim": null,
5
  "adapter_kernel_size": 3,
6
  "adapter_stride": 2,
 
12
  "attention_dropout": 0.1,
13
  "bos_token_id": 1,
14
  "classifier_proj_size": 256,
15
+ "codevector_dim": 768,
16
  "contrastive_logits_temperature": 0.1,
17
+ "conv_bias": true,
18
  "conv_dim": [
19
  512,
20
  512,
 
45
  "ctc_loss_reduction": "sum",
46
  "ctc_zero_infinity": false,
47
  "diversity_loss_weight": 0.1,
48
+ "do_stable_layer_norm": true,
49
  "eos_token_id": 2,
50
  "feat_extract_activation": "gelu",
51
  "feat_extract_dropout": 0.0,
52
+ "feat_extract_norm": "layer",
53
  "feat_proj_dropout": 0.1,
54
  "feat_quantizer_dropout": 0.0,
55
+ "final_dropout": 0.0,
56
  "gradient_checkpointing": false,
57
  "hidden_act": "gelu",
58
  "hidden_dropout": 0.1,
59
+ "hidden_size": 1024,
 
60
  "initializer_range": 0.02,
61
+ "intermediate_size": 4096,
62
  "layer_norm_eps": 1e-05,
63
  "layerdrop": 0.1,
64
+ "mask_channel_length": 10,
65
+ "mask_channel_min_space": 1,
66
+ "mask_channel_other": 0.0,
67
+ "mask_channel_prob": 0.0,
68
+ "mask_channel_selection": "static",
69
  "mask_feature_length": 10,
70
  "mask_feature_min_masks": 0,
71
  "mask_feature_prob": 0.0,
72
  "mask_time_length": 10,
73
  "mask_time_min_masks": 2,
74
+ "mask_time_min_space": 1,
75
+ "mask_time_other": 0.0,
76
+ "mask_time_prob": 0.075,
77
+ "mask_time_selection": "static",
78
  "model_type": "wav2vec2",
79
  "num_adapter_layers": 3,
80
+ "num_attention_heads": 16,
81
  "num_codevector_groups": 2,
82
  "num_codevectors_per_group": 320,
83
  "num_conv_pos_embedding_groups": 16,
84
  "num_conv_pos_embeddings": 128,
85
  "num_feat_extract_layers": 7,
86
+ "num_hidden_layers": 24,
87
  "num_negatives": 100,
88
+ "output_hidden_size": 1024,
89
  "pad_token_id": 0,
90
+ "proj_codevector_dim": 768,
91
  "tdnn_dilation": [
92
  1,
93
  2,
 
112
  "torch_dtype": "float32",
113
  "transformers_version": "4.35.2",
114
  "use_weighted_layer_sum": false,
115
+ "vocab_size": 392,
116
  "xvector_output_dim": 512
117
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4a5e99a4ef90862044b90732650a471780d80a92a4a0d9280653a143ea208416
3
- size 377611120
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c954e97b96779ab1aaead05771a5e8a285650eeaa1f2436668083242695346f6
3
+ size 1263414696
preprocessor_config.json CHANGED
@@ -3,7 +3,7 @@
3
  "feature_extractor_type": "Wav2Vec2FeatureExtractor",
4
  "feature_size": 1,
5
  "padding_side": "right",
6
- "padding_value": 0.0,
7
- "return_attention_mask": false,
8
  "sampling_rate": 16000
9
  }
 
3
  "feature_extractor_type": "Wav2Vec2FeatureExtractor",
4
  "feature_size": 1,
5
  "padding_side": "right",
6
+ "padding_value": 0,
7
+ "return_attention_mask": true,
8
  "sampling_rate": 16000
9
  }
runs/Dec04_16-58-12_9bf356752520/events.out.tfevents.1701709165.9bf356752520.297.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b2816aaf5421fb42064cdd208c1859d03ca875cc041f8083563f964a4173535
3
+ size 6821
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:45f76a17c798876d8e9909d4bdfcd3e7d4c35e0d0169ba97552e63bf35fda7a0
3
  size 4600
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a7ab742eb299af50a3a024b9a8865d8a1af061f29941fc31af85b97ae5cd7a4c
3
  size 4600