wav2vec2-speaker-identifier-CV20
Browse files- README.md +64 -0
- config.json +162 -0
- model.safetensors +3 -0
- preprocessor_config.json +9 -0
- runs/Jul24_05-20-40_e45f7d0d401e/events.out.tfevents.1721798441.e45f7d0d401e.669.0 +3 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: facebook/wav2vec2-base
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
metrics:
|
| 7 |
+
- accuracy
|
| 8 |
+
model-index:
|
| 9 |
+
- name: results
|
| 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 |
+
# results
|
| 17 |
+
|
| 18 |
+
This model is a fine-tuned version of [facebook/wav2vec2-base](https://huggingface.co/facebook/wav2vec2-base) on an unknown dataset.
|
| 19 |
+
It achieves the following results on the evaluation set:
|
| 20 |
+
- Loss: 0.3386
|
| 21 |
+
- Accuracy: 0.9893
|
| 22 |
+
|
| 23 |
+
## Model description
|
| 24 |
+
|
| 25 |
+
More information needed
|
| 26 |
+
|
| 27 |
+
## Intended uses & limitations
|
| 28 |
+
|
| 29 |
+
More information needed
|
| 30 |
+
|
| 31 |
+
## Training and evaluation data
|
| 32 |
+
|
| 33 |
+
More information needed
|
| 34 |
+
|
| 35 |
+
## Training procedure
|
| 36 |
+
|
| 37 |
+
### Training hyperparameters
|
| 38 |
+
|
| 39 |
+
The following hyperparameters were used during training:
|
| 40 |
+
- learning_rate: 2e-05
|
| 41 |
+
- train_batch_size: 16
|
| 42 |
+
- eval_batch_size: 16
|
| 43 |
+
- seed: 42
|
| 44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 45 |
+
- lr_scheduler_type: linear
|
| 46 |
+
- num_epochs: 5
|
| 47 |
+
|
| 48 |
+
### Training results
|
| 49 |
+
|
| 50 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 51 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 52 |
+
| 2.4107 | 1.0 | 210 | 1.7190 | 0.8012 |
|
| 53 |
+
| 1.3081 | 2.0 | 420 | 0.8791 | 0.9298 |
|
| 54 |
+
| 0.7142 | 3.0 | 630 | 0.5254 | 0.9440 |
|
| 55 |
+
| 0.4789 | 4.0 | 840 | 0.3892 | 0.9798 |
|
| 56 |
+
| 0.3817 | 5.0 | 1050 | 0.3386 | 0.9893 |
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
### Framework versions
|
| 60 |
+
|
| 61 |
+
- Transformers 4.42.4
|
| 62 |
+
- Pytorch 2.3.1+cu121
|
| 63 |
+
- Datasets 2.20.0
|
| 64 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
|
@@ -0,0 +1,162 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
| 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_norm": "group",
|
| 52 |
+
"feat_proj_dropout": 0.1,
|
| 53 |
+
"feat_quantizer_dropout": 0.0,
|
| 54 |
+
"final_dropout": 0.0,
|
| 55 |
+
"freeze_feat_extract_train": true,
|
| 56 |
+
"hidden_act": "gelu",
|
| 57 |
+
"hidden_dropout": 0.1,
|
| 58 |
+
"hidden_size": 768,
|
| 59 |
+
"id2label": {
|
| 60 |
+
"0": "LABEL_0",
|
| 61 |
+
"1": "LABEL_1",
|
| 62 |
+
"2": "LABEL_2",
|
| 63 |
+
"3": "LABEL_3",
|
| 64 |
+
"4": "LABEL_4",
|
| 65 |
+
"5": "LABEL_5",
|
| 66 |
+
"6": "LABEL_6",
|
| 67 |
+
"7": "LABEL_7",
|
| 68 |
+
"8": "LABEL_8",
|
| 69 |
+
"9": "LABEL_9",
|
| 70 |
+
"10": "LABEL_10",
|
| 71 |
+
"11": "LABEL_11",
|
| 72 |
+
"12": "LABEL_12",
|
| 73 |
+
"13": "LABEL_13",
|
| 74 |
+
"14": "LABEL_14",
|
| 75 |
+
"15": "LABEL_15",
|
| 76 |
+
"16": "LABEL_16",
|
| 77 |
+
"17": "LABEL_17",
|
| 78 |
+
"18": "LABEL_18",
|
| 79 |
+
"19": "LABEL_19"
|
| 80 |
+
},
|
| 81 |
+
"initializer_range": 0.02,
|
| 82 |
+
"intermediate_size": 3072,
|
| 83 |
+
"label2id": {
|
| 84 |
+
"LABEL_0": 0,
|
| 85 |
+
"LABEL_1": 1,
|
| 86 |
+
"LABEL_10": 10,
|
| 87 |
+
"LABEL_11": 11,
|
| 88 |
+
"LABEL_12": 12,
|
| 89 |
+
"LABEL_13": 13,
|
| 90 |
+
"LABEL_14": 14,
|
| 91 |
+
"LABEL_15": 15,
|
| 92 |
+
"LABEL_16": 16,
|
| 93 |
+
"LABEL_17": 17,
|
| 94 |
+
"LABEL_18": 18,
|
| 95 |
+
"LABEL_19": 19,
|
| 96 |
+
"LABEL_2": 2,
|
| 97 |
+
"LABEL_3": 3,
|
| 98 |
+
"LABEL_4": 4,
|
| 99 |
+
"LABEL_5": 5,
|
| 100 |
+
"LABEL_6": 6,
|
| 101 |
+
"LABEL_7": 7,
|
| 102 |
+
"LABEL_8": 8,
|
| 103 |
+
"LABEL_9": 9
|
| 104 |
+
},
|
| 105 |
+
"layer_norm_eps": 1e-05,
|
| 106 |
+
"layerdrop": 0.0,
|
| 107 |
+
"mask_channel_length": 10,
|
| 108 |
+
"mask_channel_min_space": 1,
|
| 109 |
+
"mask_channel_other": 0.0,
|
| 110 |
+
"mask_channel_prob": 0.0,
|
| 111 |
+
"mask_channel_selection": "static",
|
| 112 |
+
"mask_feature_length": 10,
|
| 113 |
+
"mask_feature_min_masks": 0,
|
| 114 |
+
"mask_feature_prob": 0.0,
|
| 115 |
+
"mask_time_length": 10,
|
| 116 |
+
"mask_time_min_masks": 2,
|
| 117 |
+
"mask_time_min_space": 1,
|
| 118 |
+
"mask_time_other": 0.0,
|
| 119 |
+
"mask_time_prob": 0.05,
|
| 120 |
+
"mask_time_selection": "static",
|
| 121 |
+
"model_type": "wav2vec2",
|
| 122 |
+
"no_mask_channel_overlap": false,
|
| 123 |
+
"no_mask_time_overlap": false,
|
| 124 |
+
"num_adapter_layers": 3,
|
| 125 |
+
"num_attention_heads": 12,
|
| 126 |
+
"num_codevector_groups": 2,
|
| 127 |
+
"num_codevectors_per_group": 320,
|
| 128 |
+
"num_conv_pos_embedding_groups": 16,
|
| 129 |
+
"num_conv_pos_embeddings": 128,
|
| 130 |
+
"num_feat_extract_layers": 7,
|
| 131 |
+
"num_hidden_layers": 12,
|
| 132 |
+
"num_negatives": 100,
|
| 133 |
+
"output_hidden_size": 768,
|
| 134 |
+
"pad_token_id": 0,
|
| 135 |
+
"proj_codevector_dim": 256,
|
| 136 |
+
"tdnn_dilation": [
|
| 137 |
+
1,
|
| 138 |
+
2,
|
| 139 |
+
3,
|
| 140 |
+
1,
|
| 141 |
+
1
|
| 142 |
+
],
|
| 143 |
+
"tdnn_dim": [
|
| 144 |
+
512,
|
| 145 |
+
512,
|
| 146 |
+
512,
|
| 147 |
+
512,
|
| 148 |
+
1500
|
| 149 |
+
],
|
| 150 |
+
"tdnn_kernel": [
|
| 151 |
+
5,
|
| 152 |
+
3,
|
| 153 |
+
3,
|
| 154 |
+
1,
|
| 155 |
+
1
|
| 156 |
+
],
|
| 157 |
+
"torch_dtype": "float32",
|
| 158 |
+
"transformers_version": "4.42.4",
|
| 159 |
+
"use_weighted_layer_sum": false,
|
| 160 |
+
"vocab_size": 32,
|
| 161 |
+
"xvector_output_dim": 512
|
| 162 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c9baea1052ad60f74095a81db4df89c7cb2d86aef7b18f86c606924ac5f4e002
|
| 3 |
+
size 378320872
|
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": false,
|
| 8 |
+
"sampling_rate": 16000
|
| 9 |
+
}
|
runs/Jul24_05-20-40_e45f7d0d401e/events.out.tfevents.1721798441.e45f7d0d401e.669.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1fb1cce35b4681dbb2640bfa04e4ede1b88a016f751cfe1f9cf52d0fa83ea80a
|
| 3 |
+
size 10383
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e8f67f6e31aec418ffcaf8cdf337487940105ba443c7831c0d637cc2c770eee6
|
| 3 |
+
size 5112
|