SiRoZaRuPa commited on
Commit
287d28c
1 Parent(s): 444ed38

End of training

Browse files
Files changed (5) hide show
  1. README.md +85 -0
  2. config.json +107 -0
  3. model.safetensors +3 -0
  4. preprocessor_config.json +9 -0
  5. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: rinna/japanese-wav2vec2-base
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - wer
8
+ model-index:
9
+ - name: wav2vec2-kanji-base-unigram
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/tokudai-nishimura-lab/Emoto-ASR-training-log/runs/icxw1p2j)
17
+ # wav2vec2-kanji-base-unigram
18
+
19
+ This model is a fine-tuned version of [rinna/japanese-wav2vec2-base](https://huggingface.co/rinna/japanese-wav2vec2-base) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 1.6841
22
+ - Cer: 0.4426
23
+ - Wer: 1.0
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 5e-05
43
+ - train_batch_size: 4
44
+ - eval_batch_size: 2
45
+ - seed: 42
46
+ - gradient_accumulation_steps: 4
47
+ - total_train_batch_size: 16
48
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: cosine
50
+ - lr_scheduler_warmup_steps: 77380
51
+ - num_epochs: 20
52
+ - mixed_precision_training: Native AMP
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Cer | Wer |
57
+ |:-------------:|:-----:|:------:|:---------------:|:------:|:-----:|
58
+ | 5.0463 | 1.0 | 19348 | 7.1017 | 0.9448 | 0.999 |
59
+ | 2.3465 | 2.0 | 38696 | 4.1177 | 0.6757 | 1.0 |
60
+ | 1.6622 | 3.0 | 58044 | 4.1171 | 0.6136 | 1.0 |
61
+ | 1.478 | 4.0 | 77392 | 2.8624 | 0.5836 | 1.0 |
62
+ | 1.3639 | 5.0 | 96740 | 3.2231 | 0.5709 | 1.0 |
63
+ | 1.2924 | 6.0 | 116088 | 3.6346 | 0.5807 | 1.0 |
64
+ | 1.2191 | 7.0 | 135436 | 2.4840 | 0.5444 | 1.0 |
65
+ | 1.1705 | 8.0 | 154784 | 2.5931 | 0.5403 | 1.0 |
66
+ | 1.117 | 9.0 | 174132 | 2.4750 | 0.5263 | 1.0 |
67
+ | 1.0689 | 10.0 | 193480 | 2.1332 | 0.5131 | 1.0 |
68
+ | 1.0371 | 11.0 | 212828 | 2.0070 | 0.4903 | 1.0 |
69
+ | 0.9922 | 12.0 | 232176 | 2.0196 | 0.4847 | 1.0 |
70
+ | 0.948 | 13.0 | 251524 | 1.7148 | 0.4597 | 1.0 |
71
+ | 0.9143 | 14.0 | 270872 | 1.5651 | 0.4506 | 1.0 |
72
+ | 0.8841 | 15.0 | 290220 | 1.7433 | 0.4530 | 1.0 |
73
+ | 0.8593 | 16.0 | 309568 | 1.7191 | 0.4528 | 1.0 |
74
+ | 0.8388 | 17.0 | 328916 | 1.6598 | 0.4455 | 1.0 |
75
+ | 0.8304 | 18.0 | 348264 | 1.6671 | 0.4434 | 1.0 |
76
+ | 0.8219 | 19.0 | 367612 | 1.6866 | 0.4426 | 1.0 |
77
+ | 0.8184 | 20.0 | 386960 | 1.6841 | 0.4426 | 1.0 |
78
+
79
+
80
+ ### Framework versions
81
+
82
+ - Transformers 4.42.0
83
+ - Pytorch 2.3.1+cu121
84
+ - Datasets 2.20.0
85
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "rinna/japanese-wav2vec2-base",
3
+ "activation_dropout": 0.1,
4
+ "adapter_attn_dim": null,
5
+ "adapter_kernel_size": 3,
6
+ "adapter_stride": 2,
7
+ "add_adapter": false,
8
+ "apply_spec_augment": true,
9
+ "architectures": [
10
+ "Wav2Vec2ForCTC"
11
+ ],
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,
21
+ 512,
22
+ 512,
23
+ 512,
24
+ 512,
25
+ 512
26
+ ],
27
+ "conv_kernel": [
28
+ 10,
29
+ 3,
30
+ 3,
31
+ 3,
32
+ 3,
33
+ 2,
34
+ 2
35
+ ],
36
+ "conv_stride": [
37
+ 5,
38
+ 2,
39
+ 2,
40
+ 2,
41
+ 2,
42
+ 2,
43
+ 2
44
+ ],
45
+ "ctc_loss_reduction": "mean",
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_norm": "group",
52
+ "feat_proj_dropout": 0.0,
53
+ "feat_quantizer_dropout": 0.0,
54
+ "final_dropout": 0.1,
55
+ "hidden_act": "gelu",
56
+ "hidden_dropout": 0.1,
57
+ "hidden_size": 768,
58
+ "initializer_range": 0.02,
59
+ "intermediate_size": 3072,
60
+ "layer_norm_eps": 1e-05,
61
+ "layerdrop": 0.1,
62
+ "mask_feature_length": 10,
63
+ "mask_feature_min_masks": 0,
64
+ "mask_feature_prob": 0.0,
65
+ "mask_time_length": 10,
66
+ "mask_time_min_masks": 2,
67
+ "mask_time_prob": 0.05,
68
+ "model_type": "wav2vec2",
69
+ "num_adapter_layers": 3,
70
+ "num_attention_heads": 12,
71
+ "num_codevector_groups": 2,
72
+ "num_codevectors_per_group": 320,
73
+ "num_conv_pos_embedding_groups": 16,
74
+ "num_conv_pos_embeddings": 128,
75
+ "num_feat_extract_layers": 7,
76
+ "num_hidden_layers": 12,
77
+ "num_negatives": 100,
78
+ "output_hidden_size": 768,
79
+ "pad_token_id": 3200,
80
+ "proj_codevector_dim": 256,
81
+ "tdnn_dilation": [
82
+ 1,
83
+ 2,
84
+ 3,
85
+ 1,
86
+ 1
87
+ ],
88
+ "tdnn_dim": [
89
+ 512,
90
+ 512,
91
+ 512,
92
+ 512,
93
+ 1500
94
+ ],
95
+ "tdnn_kernel": [
96
+ 5,
97
+ 3,
98
+ 3,
99
+ 1,
100
+ 1
101
+ ],
102
+ "torch_dtype": "float32",
103
+ "transformers_version": "4.42.0",
104
+ "use_weighted_layer_sum": false,
105
+ "vocab_size": 3205,
106
+ "xvector_output_dim": 512
107
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2011a163042dda9b979f359c31f8722d05c14a1b597161c7992890424de9d01
3
+ size 387371316
preprocessor_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": false,
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
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:307bee1591662441dd61b1eb5d3b5ddebf48ace53d30b49237ab791bcba96b10
3
+ size 5240