annaponomarchuk
commited on
Commit
•
7134bd3
1
Parent(s):
ed5fdd5
End of training
Browse files- README.md +88 -0
- added_tokens.json +4 -0
- config.json +117 -0
- model.safetensors +3 -0
- preprocessor_config.json +9 -0
- special_tokens_map.json +6 -0
- tokenizer_config.json +48 -0
- training_args.bin +3 -0
- vocab.json +82 -0
README.md
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- ev
|
4 |
+
license: apache-2.0
|
5 |
+
base_model: facebook/wav2vec2-large-xlsr-53
|
6 |
+
tags:
|
7 |
+
- generated_from_trainer
|
8 |
+
metrics:
|
9 |
+
- wer
|
10 |
+
model-index:
|
11 |
+
- name: wav2vec2-large-xlsr-53
|
12 |
+
results: []
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
# wav2vec2-large-xlsr-53
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on the Evenki dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.8728
|
23 |
+
- Wer: 65.9678
|
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: 0.0003
|
43 |
+
- train_batch_size: 4
|
44 |
+
- eval_batch_size: 8
|
45 |
+
- seed: 42
|
46 |
+
- gradient_accumulation_steps: 8
|
47 |
+
- total_train_batch_size: 32
|
48 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
49 |
+
- lr_scheduler_type: linear
|
50 |
+
- lr_scheduler_warmup_steps: 500
|
51 |
+
- num_epochs: 15
|
52 |
+
- mixed_precision_training: Native AMP
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer |
|
57 |
+
|:-------------:|:-------:|:----:|:---------------:|:-------:|
|
58 |
+
| 8.8625 | 0.6279 | 100 | 4.7672 | 100.0 |
|
59 |
+
| 3.5933 | 1.2559 | 200 | 3.5125 | 100.0 |
|
60 |
+
| 3.4942 | 1.8838 | 300 | 3.4852 | 100.0 |
|
61 |
+
| 3.5053 | 2.5118 | 400 | 3.4885 | 100.0 |
|
62 |
+
| 3.2185 | 3.1397 | 500 | 2.8873 | 100.0 |
|
63 |
+
| 2.2076 | 3.7677 | 600 | 1.6237 | 99.9844 |
|
64 |
+
| 1.6129 | 4.3956 | 700 | 1.2754 | 92.5833 |
|
65 |
+
| 1.5995 | 5.0235 | 800 | 1.1585 | 84.6033 |
|
66 |
+
| 1.333 | 5.6515 | 900 | 1.0689 | 80.4882 |
|
67 |
+
| 1.2571 | 6.2794 | 1000 | 1.0283 | 77.4840 |
|
68 |
+
| 1.1675 | 6.9074 | 1100 | 0.9761 | 75.3716 |
|
69 |
+
| 1.1193 | 7.5353 | 1200 | 0.9367 | 73.3532 |
|
70 |
+
| 1.0054 | 8.1633 | 1300 | 0.9723 | 72.4300 |
|
71 |
+
| 1.0211 | 8.7912 | 1400 | 0.8911 | 70.4115 |
|
72 |
+
| 0.9408 | 9.4192 | 1500 | 0.9405 | 70.6775 |
|
73 |
+
| 0.9115 | 10.0471 | 1600 | 0.8998 | 68.2835 |
|
74 |
+
| 0.8533 | 10.6750 | 1700 | 0.9073 | 68.3461 |
|
75 |
+
| 0.7981 | 11.3030 | 1800 | 0.8838 | 67.8141 |
|
76 |
+
| 0.8154 | 11.9309 | 1900 | 0.8872 | 66.7345 |
|
77 |
+
| 0.7603 | 12.5589 | 2000 | 0.8681 | 66.9379 |
|
78 |
+
| 0.7711 | 13.1868 | 2100 | 0.8723 | 66.5154 |
|
79 |
+
| 0.6974 | 13.8148 | 2200 | 0.8634 | 66.1242 |
|
80 |
+
| 0.7224 | 14.4427 | 2300 | 0.8728 | 65.9678 |
|
81 |
+
|
82 |
+
|
83 |
+
### Framework versions
|
84 |
+
|
85 |
+
- Transformers 4.41.2
|
86 |
+
- Pytorch 2.3.0+cu121
|
87 |
+
- Datasets 2.20.0
|
88 |
+
- Tokenizers 0.19.1
|
added_tokens.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"</s>": 81,
|
3 |
+
"<s>": 80
|
4 |
+
}
|
config.json
ADDED
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/wav2vec2-large-xlsr-53",
|
3 |
+
"activation_dropout": 0.0,
|
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": 768,
|
16 |
+
"contrastive_logits_temperature": 0.1,
|
17 |
+
"conv_bias": true,
|
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": 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.0,
|
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.05,
|
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": 79,
|
90 |
+
"proj_codevector_dim": 768,
|
91 |
+
"tdnn_dilation": [
|
92 |
+
1,
|
93 |
+
2,
|
94 |
+
3,
|
95 |
+
1,
|
96 |
+
1
|
97 |
+
],
|
98 |
+
"tdnn_dim": [
|
99 |
+
512,
|
100 |
+
512,
|
101 |
+
512,
|
102 |
+
512,
|
103 |
+
1500
|
104 |
+
],
|
105 |
+
"tdnn_kernel": [
|
106 |
+
5,
|
107 |
+
3,
|
108 |
+
3,
|
109 |
+
1,
|
110 |
+
1
|
111 |
+
],
|
112 |
+
"torch_dtype": "float32",
|
113 |
+
"transformers_version": "4.41.2",
|
114 |
+
"use_weighted_layer_sum": false,
|
115 |
+
"vocab_size": 82,
|
116 |
+
"xvector_output_dim": 512
|
117 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2c9a1df23b8684f0ec19b7642cbb954e9ca99ae420c770989bf6abb54133dd11
|
3 |
+
size 1262143680
|
preprocessor_config.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"feature_extractor_type": "Wav2Vec2FeatureExtractor",
|
4 |
+
"feature_size": 1,
|
5 |
+
"padding_side": "right",
|
6 |
+
"padding_value": 0.0,
|
7 |
+
"return_attention_mask": true,
|
8 |
+
"sampling_rate": 16000
|
9 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"eos_token": "</s>",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"unk_token": "[UNK]"
|
6 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"78": {
|
4 |
+
"content": "[UNK]",
|
5 |
+
"lstrip": true,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": true,
|
8 |
+
"single_word": false,
|
9 |
+
"special": false
|
10 |
+
},
|
11 |
+
"79": {
|
12 |
+
"content": "[PAD]",
|
13 |
+
"lstrip": true,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": true,
|
16 |
+
"single_word": false,
|
17 |
+
"special": false
|
18 |
+
},
|
19 |
+
"80": {
|
20 |
+
"content": "<s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"81": {
|
28 |
+
"content": "</s>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
}
|
35 |
+
},
|
36 |
+
"bos_token": "<s>",
|
37 |
+
"clean_up_tokenization_spaces": true,
|
38 |
+
"do_lower_case": false,
|
39 |
+
"eos_token": "</s>",
|
40 |
+
"model_max_length": 1000000000000000019884624838656,
|
41 |
+
"pad_token": "[PAD]",
|
42 |
+
"processor_class": "Wav2Vec2Processor",
|
43 |
+
"replace_word_delimiter_char": " ",
|
44 |
+
"target_lang": null,
|
45 |
+
"tokenizer_class": "Wav2Vec2CTCTokenizer",
|
46 |
+
"unk_token": "[UNK]",
|
47 |
+
"word_delimiter_token": "|"
|
48 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:83db0c4c2540974dc0db8b056afb9f5301e62b1150ab4518ef4651e66986f8ec
|
3 |
+
size 5048
|
vocab.json
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"'": 33,
|
3 |
+
"[PAD]": 79,
|
4 |
+
"[UNK]": 78,
|
5 |
+
"a": 2,
|
6 |
+
"b": 15,
|
7 |
+
"d": 11,
|
8 |
+
"e": 32,
|
9 |
+
"f": 35,
|
10 |
+
"g": 18,
|
11 |
+
"h": 17,
|
12 |
+
"i": 4,
|
13 |
+
"j": 24,
|
14 |
+
"k": 7,
|
15 |
+
"l": 9,
|
16 |
+
"m": 12,
|
17 |
+
"n": 3,
|
18 |
+
"o": 10,
|
19 |
+
"p": 27,
|
20 |
+
"r": 8,
|
21 |
+
"s": 22,
|
22 |
+
"t": 6,
|
23 |
+
"u": 5,
|
24 |
+
"v": 43,
|
25 |
+
"w": 13,
|
26 |
+
"y": 68,
|
27 |
+
"z": 40,
|
28 |
+
"|": 0,
|
29 |
+
"Ø": 28,
|
30 |
+
"ā": 20,
|
31 |
+
"č": 23,
|
32 |
+
"ď": 19,
|
33 |
+
"ē": 37,
|
34 |
+
"ī": 16,
|
35 |
+
"ľ": 75,
|
36 |
+
"ń": 31,
|
37 |
+
"ŋ": 14,
|
38 |
+
"ō": 21,
|
39 |
+
"ś": 29,
|
40 |
+
"š": 38,
|
41 |
+
"ť": 46,
|
42 |
+
"ū": 25,
|
43 |
+
"ž": 39,
|
44 |
+
"ǝ": 67,
|
45 |
+
"ɔ": 73,
|
46 |
+
"ɕ": 71,
|
47 |
+
"ə": 1,
|
48 |
+
"ɨ": 30,
|
49 |
+
"ɲ": 60,
|
50 |
+
"ʲ": 56,
|
51 |
+
"̄": 26,
|
52 |
+
"γ": 34,
|
53 |
+
"а": 44,
|
54 |
+
"б": 58,
|
55 |
+
"в": 50,
|
56 |
+
"г": 77,
|
57 |
+
"д": 64,
|
58 |
+
"е": 47,
|
59 |
+
"ж": 72,
|
60 |
+
"з": 59,
|
61 |
+
"и": 48,
|
62 |
+
"й": 74,
|
63 |
+
"к": 53,
|
64 |
+
"л": 57,
|
65 |
+
"м": 55,
|
66 |
+
"н": 49,
|
67 |
+
"о": 42,
|
68 |
+
"п": 54,
|
69 |
+
"р": 45,
|
70 |
+
"с": 51,
|
71 |
+
"т": 52,
|
72 |
+
"у": 65,
|
73 |
+
"ф": 63,
|
74 |
+
"ч": 70,
|
75 |
+
"ш": 62,
|
76 |
+
"ы": 66,
|
77 |
+
"ь": 69,
|
78 |
+
"э": 76,
|
79 |
+
"я": 61,
|
80 |
+
"ә": 41,
|
81 |
+
"’": 36
|
82 |
+
}
|