arslanarjumand
commited on
Commit
•
e29ae13
1
Parent(s):
2d42b1f
arslanarjumand/wav2vec-repeat
Browse files- README.md +78 -0
- config.json +94 -0
- model.safetensors +3 -0
- preprocessor_config.json +11 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: arslanarjumand/wav2vec-reptiles
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: wav2vec-repeat
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# wav2vec-repeat
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [arslanarjumand/wav2vec-reptiles](https://huggingface.co/arslanarjumand/wav2vec-reptiles) on the None dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 205.9549
|
19 |
+
- Pcc Accuracy: 0.8004
|
20 |
+
- Pcc Fluency: 0.7759
|
21 |
+
- Pcc Total Score: 0.8207
|
22 |
+
- Pcc Content: 0.7220
|
23 |
+
|
24 |
+
## Model description
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Intended uses & limitations
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training and evaluation data
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training procedure
|
37 |
+
|
38 |
+
### Training hyperparameters
|
39 |
+
|
40 |
+
The following hyperparameters were used during training:
|
41 |
+
- learning_rate: 2.5e-05
|
42 |
+
- train_batch_size: 4
|
43 |
+
- eval_batch_size: 6
|
44 |
+
- seed: 42
|
45 |
+
- gradient_accumulation_steps: 4
|
46 |
+
- total_train_batch_size: 16
|
47 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
48 |
+
- lr_scheduler_type: cosine
|
49 |
+
- lr_scheduler_warmup_ratio: 0.5
|
50 |
+
- num_epochs: 50
|
51 |
+
- mixed_precision_training: Native AMP
|
52 |
+
|
53 |
+
### Training results
|
54 |
+
|
55 |
+
| Training Loss | Epoch | Step | Validation Loss | Pcc Accuracy | Pcc Fluency | Pcc Total Score | Pcc Content |
|
56 |
+
|:-------------:|:-----:|:----:|:---------------:|:------------:|:-----------:|:---------------:|:-----------:|
|
57 |
+
| 507.295 | 3.54 | 500 | 538.7184 | 0.2592 | 0.2368 | 0.2807 | 0.3206 |
|
58 |
+
| 267.4833 | 7.08 | 1000 | 374.0983 | 0.5787 | 0.5582 | 0.5900 | 0.5040 |
|
59 |
+
| 246.7156 | 10.62 | 1500 | 483.3237 | 0.6618 | 0.6387 | 0.6761 | 0.5837 |
|
60 |
+
| 269.7238 | 14.16 | 2000 | 446.4642 | 0.6964 | 0.6691 | 0.7131 | 0.6288 |
|
61 |
+
| 289.3261 | 17.7 | 2500 | 244.4726 | 0.7201 | 0.6928 | 0.7371 | 0.6482 |
|
62 |
+
| 249.89 | 21.24 | 3000 | 413.8036 | 0.7340 | 0.7052 | 0.7548 | 0.6796 |
|
63 |
+
| 235.8593 | 24.78 | 3500 | 251.3629 | 0.7472 | 0.7217 | 0.7676 | 0.6808 |
|
64 |
+
| 217.7143 | 28.32 | 4000 | 212.4162 | 0.7779 | 0.7547 | 0.7973 | 0.6948 |
|
65 |
+
| 123.7326 | 31.86 | 4500 | 362.4697 | 0.7782 | 0.7528 | 0.7987 | 0.7062 |
|
66 |
+
| 132.7905 | 35.4 | 5000 | 228.9714 | 0.7826 | 0.7603 | 0.8021 | 0.6987 |
|
67 |
+
| 111.7989 | 38.94 | 5500 | 189.2367 | 0.7985 | 0.7754 | 0.8188 | 0.7169 |
|
68 |
+
| 104.5979 | 42.48 | 6000 | 271.8181 | 0.7929 | 0.7692 | 0.8143 | 0.7192 |
|
69 |
+
| 115.256 | 46.02 | 6500 | 220.4324 | 0.8008 | 0.7753 | 0.8209 | 0.7230 |
|
70 |
+
| 86.3804 | 49.56 | 7000 | 205.9549 | 0.8004 | 0.7759 | 0.8207 | 0.7220 |
|
71 |
+
|
72 |
+
|
73 |
+
### Framework versions
|
74 |
+
|
75 |
+
- Transformers 4.38.1
|
76 |
+
- Pytorch 2.1.2
|
77 |
+
- Datasets 2.17.1
|
78 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "arslanarjumand/wav2vec-reptiles",
|
3 |
+
"activation_dropout": 0.019,
|
4 |
+
"adapter_act": "relu",
|
5 |
+
"adapter_kernel_size": 3,
|
6 |
+
"adapter_stride": 2,
|
7 |
+
"add_adapter": false,
|
8 |
+
"apply_spec_augment": false,
|
9 |
+
"architectures": [
|
10 |
+
"Wav2Vec2BertForSequenceClassification"
|
11 |
+
],
|
12 |
+
"attention_dropout": 0.0094,
|
13 |
+
"bos_token_id": 1,
|
14 |
+
"classifier_proj_size": 768,
|
15 |
+
"codevector_dim": 768,
|
16 |
+
"conformer_conv_dropout": 0.1,
|
17 |
+
"contrastive_logits_temperature": 0.1,
|
18 |
+
"conv_depthwise_kernel_size": 31,
|
19 |
+
"ctc_loss_reduction": "sum",
|
20 |
+
"ctc_zero_infinity": false,
|
21 |
+
"diversity_loss_weight": 0.1,
|
22 |
+
"eos_token_id": 2,
|
23 |
+
"feat_proj_dropout": 0.0,
|
24 |
+
"feat_quantizer_dropout": 0.0,
|
25 |
+
"feature_projection_input_dim": 160,
|
26 |
+
"final_dropout": 0.005,
|
27 |
+
"hidden_act": "swish",
|
28 |
+
"hidden_dropout": 0.008,
|
29 |
+
"hidden_size": 1024,
|
30 |
+
"id2label": {
|
31 |
+
"0": "LABEL_0",
|
32 |
+
"1": "LABEL_1",
|
33 |
+
"2": "LABEL_2",
|
34 |
+
"3": "LABEL_3"
|
35 |
+
},
|
36 |
+
"initializer_range": 0.02,
|
37 |
+
"intermediate_size": 4096,
|
38 |
+
"label2id": {
|
39 |
+
"LABEL_0": 0,
|
40 |
+
"LABEL_1": 1,
|
41 |
+
"LABEL_2": 2,
|
42 |
+
"LABEL_3": 3
|
43 |
+
},
|
44 |
+
"layer_norm_eps": 1e-05,
|
45 |
+
"layerdrop": 0.0005,
|
46 |
+
"left_max_position_embeddings": 64,
|
47 |
+
"mask_feature_length": 10,
|
48 |
+
"mask_feature_min_masks": 2,
|
49 |
+
"mask_feature_prob": 0.0575,
|
50 |
+
"mask_time_length": 3,
|
51 |
+
"mask_time_min_masks": 2,
|
52 |
+
"mask_time_prob": 0.0885,
|
53 |
+
"max_source_positions": 5000,
|
54 |
+
"model_type": "wav2vec2-bert",
|
55 |
+
"num_adapter_layers": 1,
|
56 |
+
"num_attention_heads": 16,
|
57 |
+
"num_codevector_groups": 2,
|
58 |
+
"num_codevectors_per_group": 320,
|
59 |
+
"num_hidden_layers": 12,
|
60 |
+
"num_negatives": 100,
|
61 |
+
"output_hidden_size": 1024,
|
62 |
+
"pad_token_id": 0,
|
63 |
+
"position_embeddings_type": "relative_key",
|
64 |
+
"proj_codevector_dim": 768,
|
65 |
+
"right_max_position_embeddings": 8,
|
66 |
+
"rotary_embedding_base": 10000,
|
67 |
+
"tdnn_dilation": [
|
68 |
+
1,
|
69 |
+
2,
|
70 |
+
3,
|
71 |
+
1,
|
72 |
+
1
|
73 |
+
],
|
74 |
+
"tdnn_dim": [
|
75 |
+
512,
|
76 |
+
512,
|
77 |
+
512,
|
78 |
+
512,
|
79 |
+
1500
|
80 |
+
],
|
81 |
+
"tdnn_kernel": [
|
82 |
+
5,
|
83 |
+
3,
|
84 |
+
3,
|
85 |
+
1,
|
86 |
+
1
|
87 |
+
],
|
88 |
+
"torch_dtype": "float32",
|
89 |
+
"transformers_version": "4.38.1",
|
90 |
+
"use_intermediate_ffn_before_adapter": false,
|
91 |
+
"use_weighted_layer_sum": false,
|
92 |
+
"vocab_size": null,
|
93 |
+
"xvector_output_dim": 512
|
94 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a5c94f872b67ebfbb90775d2d156a52a21c357c4bb8a24d52396955fa2cde4d7
|
3 |
+
size 1164530912
|
preprocessor_config.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"feature_extractor_type": "SeamlessM4TFeatureExtractor",
|
3 |
+
"feature_size": 80,
|
4 |
+
"num_mel_bins": 80,
|
5 |
+
"padding_side": "right",
|
6 |
+
"padding_value": 1,
|
7 |
+
"processor_class": "Wav2Vec2BertProcessor",
|
8 |
+
"return_attention_mask": true,
|
9 |
+
"sampling_rate": 16000,
|
10 |
+
"stride": 2
|
11 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e7c87c43e8936bd9ff7c194c01942cf5e0de67757642f189982ee5840c43433c
|
3 |
+
size 4920
|