HamdanXI/w2v2_fb_labeled
Browse files- README.md +18 -8
- config.json +118 -12
- model.safetensors +2 -2
- runs/Apr30_20-10-13_7db393de5383/events.out.tfevents.1714507814.7db393de5383.729.0 +3 -0
- runs/Apr30_20-12-24_7db393de5383/events.out.tfevents.1714507944.7db393de5383.729.1 +3 -0
- runs/Apr30_20-17-23_7db393de5383/events.out.tfevents.1714508244.7db393de5383.3206.0 +3 -0
- runs/Apr30_20-20-19_7db393de5383/events.out.tfevents.1714508420.7db393de5383.4036.0 +3 -0
- runs/Apr30_20-21-00_7db393de5383/events.out.tfevents.1714508461.7db393de5383.4551.0 +3 -0
- runs/Apr30_20-21-19_7db393de5383/events.out.tfevents.1714508480.7db393de5383.4551.1 +3 -0
- training_args.bin +2 -2
README.md
CHANGED
@@ -1,8 +1,10 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
-
base_model:
|
4 |
tags:
|
5 |
- generated_from_trainer
|
|
|
|
|
6 |
model-index:
|
7 |
- name: results
|
8 |
results: []
|
@@ -13,7 +15,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
13 |
|
14 |
# results
|
15 |
|
16 |
-
This model is a fine-tuned version of [
|
|
|
|
|
|
|
17 |
|
18 |
## Model description
|
19 |
|
@@ -32,21 +37,26 @@ More information needed
|
|
32 |
### Training hyperparameters
|
33 |
|
34 |
The following hyperparameters were used during training:
|
35 |
-
- learning_rate:
|
36 |
-
- train_batch_size:
|
37 |
- eval_batch_size: 8
|
38 |
- seed: 42
|
|
|
|
|
39 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
40 |
- lr_scheduler_type: linear
|
41 |
- num_epochs: 3
|
42 |
|
43 |
### Training results
|
44 |
|
|
|
|
|
|
|
45 |
|
46 |
|
47 |
### Framework versions
|
48 |
|
49 |
-
- Transformers 4.
|
50 |
-
- Pytorch 2.1
|
51 |
-
- Datasets 2.
|
52 |
-
- Tokenizers 0.
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
base_model: facebook/wav2vec2-base-960h
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
model-index:
|
9 |
- name: results
|
10 |
results: []
|
|
|
15 |
|
16 |
# results
|
17 |
|
18 |
+
This model is a fine-tuned version of [facebook/wav2vec2-base-960h](https://huggingface.co/facebook/wav2vec2-base-960h) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 1.5525
|
21 |
+
- Accuracy: 0.5206
|
22 |
|
23 |
## Model description
|
24 |
|
|
|
37 |
### Training hyperparameters
|
38 |
|
39 |
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 0.0001
|
41 |
+
- train_batch_size: 16
|
42 |
- eval_batch_size: 8
|
43 |
- seed: 42
|
44 |
+
- gradient_accumulation_steps: 2
|
45 |
+
- total_train_batch_size: 32
|
46 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
- lr_scheduler_type: linear
|
48 |
- num_epochs: 3
|
49 |
|
50 |
### Training results
|
51 |
|
52 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
53 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|
|
54 |
+
| 1.5813 | 1.8762 | 500 | 1.5525 | 0.5206 |
|
55 |
|
56 |
|
57 |
### Framework versions
|
58 |
|
59 |
+
- Transformers 4.40.1
|
60 |
+
- Pytorch 2.2.1+cu121
|
61 |
+
- Datasets 2.19.0
|
62 |
+
- Tokenizers 0.19.1
|
config.json
CHANGED
@@ -1,26 +1,132 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
-
"
|
7 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
"gradient_checkpointing": false,
|
9 |
"hidden_act": "gelu",
|
|
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 3072,
|
14 |
-
"
|
15 |
-
|
16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
"num_attention_heads": 12,
|
|
|
|
|
|
|
|
|
|
|
18 |
"num_hidden_layers": 12,
|
|
|
|
|
19 |
"pad_token_id": 0,
|
20 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
"torch_dtype": "float32",
|
22 |
-
"transformers_version": "4.
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
26 |
}
|
|
|
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,
|
7 |
+
"add_adapter": false,
|
8 |
+
"apply_spec_augment": true,
|
9 |
"architectures": [
|
10 |
+
"Wav2Vec2ForSequenceClassification"
|
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": "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 |
+
"id2label": {
|
62 |
+
"0": "LABEL_0",
|
63 |
+
"1": "LABEL_1",
|
64 |
+
"2": "LABEL_2",
|
65 |
+
"3": "LABEL_3",
|
66 |
+
"4": "LABEL_4",
|
67 |
+
"5": "LABEL_5",
|
68 |
+
"6": "LABEL_6",
|
69 |
+
"7": "LABEL_7",
|
70 |
+
"8": "LABEL_8"
|
71 |
+
},
|
72 |
"initializer_range": 0.02,
|
73 |
"intermediate_size": 3072,
|
74 |
+
"label2id": {
|
75 |
+
"LABEL_0": 0,
|
76 |
+
"LABEL_1": 1,
|
77 |
+
"LABEL_2": 2,
|
78 |
+
"LABEL_3": 3,
|
79 |
+
"LABEL_4": 4,
|
80 |
+
"LABEL_5": 5,
|
81 |
+
"LABEL_6": 6,
|
82 |
+
"LABEL_7": 7,
|
83 |
+
"LABEL_8": 8
|
84 |
+
},
|
85 |
+
"layer_norm_eps": 1e-05,
|
86 |
+
"layerdrop": 0.1,
|
87 |
+
"mask_feature_length": 10,
|
88 |
+
"mask_feature_min_masks": 0,
|
89 |
+
"mask_feature_prob": 0.0,
|
90 |
+
"mask_time_length": 10,
|
91 |
+
"mask_time_min_masks": 2,
|
92 |
+
"mask_time_prob": 0.05,
|
93 |
+
"model_type": "wav2vec2",
|
94 |
+
"num_adapter_layers": 3,
|
95 |
"num_attention_heads": 12,
|
96 |
+
"num_codevector_groups": 2,
|
97 |
+
"num_codevectors_per_group": 320,
|
98 |
+
"num_conv_pos_embedding_groups": 16,
|
99 |
+
"num_conv_pos_embeddings": 128,
|
100 |
+
"num_feat_extract_layers": 7,
|
101 |
"num_hidden_layers": 12,
|
102 |
+
"num_negatives": 100,
|
103 |
+
"output_hidden_size": 768,
|
104 |
"pad_token_id": 0,
|
105 |
+
"proj_codevector_dim": 256,
|
106 |
+
"tdnn_dilation": [
|
107 |
+
1,
|
108 |
+
2,
|
109 |
+
3,
|
110 |
+
1,
|
111 |
+
1
|
112 |
+
],
|
113 |
+
"tdnn_dim": [
|
114 |
+
512,
|
115 |
+
512,
|
116 |
+
512,
|
117 |
+
512,
|
118 |
+
1500
|
119 |
+
],
|
120 |
+
"tdnn_kernel": [
|
121 |
+
5,
|
122 |
+
3,
|
123 |
+
3,
|
124 |
+
1,
|
125 |
+
1
|
126 |
+
],
|
127 |
"torch_dtype": "float32",
|
128 |
+
"transformers_version": "4.40.1",
|
129 |
+
"use_weighted_layer_sum": false,
|
130 |
+
"vocab_size": 32,
|
131 |
+
"xvector_output_dim": 512
|
132 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b2fd207087b4eff6b40547b6e73ab95b205afe263ca4b61f330aea5ee4447d19
|
3 |
+
size 378309564
|
runs/Apr30_20-10-13_7db393de5383/events.out.tfevents.1714507814.7db393de5383.729.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0d6adb3fac1d69f19ae885b3fc04d60907312d5426e2775c178786c69d3b5689
|
3 |
+
size 6516
|
runs/Apr30_20-12-24_7db393de5383/events.out.tfevents.1714507944.7db393de5383.729.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:87c6e641bb924b0439ff34f8212162c3d3734dd98acf4d7ab9235a5f11d69502
|
3 |
+
size 6478
|
runs/Apr30_20-17-23_7db393de5383/events.out.tfevents.1714508244.7db393de5383.3206.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eb800c2cc62989f98f703a770158669c52de2077fea1bfd894f893788a0202cf
|
3 |
+
size 4184
|
runs/Apr30_20-20-19_7db393de5383/events.out.tfevents.1714508420.7db393de5383.4036.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a926effef80e607b95394d96f3e0bdd2ae9d46a3ed1270cb3556d41f45445b8f
|
3 |
+
size 4184
|
runs/Apr30_20-21-00_7db393de5383/events.out.tfevents.1714508461.7db393de5383.4551.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:205b328be468fe8f157b41e0c6744aeec928c0514055205b61aae337676d90ae
|
3 |
+
size 6478
|
runs/Apr30_20-21-19_7db393de5383/events.out.tfevents.1714508480.7db393de5383.4551.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:999a4e667055d13c14a2de268db241350e77c08958e532286ce9b7989533f66b
|
3 |
+
size 7366
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0c7a7f87c86c164b7b3e3bae033e8936d39c7294f4f07d521d63edbe85f7d62e
|
3 |
+
size 4984
|