abhishtagatya commited on
Commit
169e8c7
1 Parent(s): 45dbc54

End of training

Browse files
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: microsoft/wavlm-base
3
+ tags:
4
+ - audio-classification
5
+ - deepfake
6
+ - audio-spoof
7
+ - generated_from_trainer
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: wavlm-base-960h-asv19-deepfake
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
+ # wavlm-base-960h-asv19-deepfake
19
+
20
+ This model is a fine-tuned version of [microsoft/wavlm-base](https://huggingface.co/microsoft/wavlm-base) on an unknown dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.0332
23
+ - Accuracy: 0.9950
24
+ - Far: 0.0416
25
+ - Frr: 0.0009
26
+ - Eer: 0.0212
27
+
28
+ ## Model description
29
+
30
+ More information needed
31
+
32
+ ## Intended uses & limitations
33
+
34
+ More information needed
35
+
36
+ ## Training and evaluation data
37
+
38
+ More information needed
39
+
40
+ ## Training procedure
41
+
42
+ ### Training hyperparameters
43
+
44
+ The following hyperparameters were used during training:
45
+ - learning_rate: 1e-06
46
+ - train_batch_size: 2
47
+ - eval_batch_size: 2
48
+ - seed: 42
49
+ - gradient_accumulation_steps: 2
50
+ - total_train_batch_size: 4
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 2.0
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Far | Frr | Eer |
58
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|:------:|:------:|
59
+ | 0.2408 | 0.39 | 2500 | 0.0574 | 0.9889 | 0.0863 | 0.0025 | 0.0444 |
60
+ | 0.0372 | 0.79 | 5000 | 0.0524 | 0.9901 | 0.0914 | 0.0006 | 0.0460 |
61
+ | 0.0231 | 1.18 | 7500 | 0.0539 | 0.9912 | 0.0824 | 0.0004 | 0.0414 |
62
+ | 0.0213 | 1.58 | 10000 | 0.0301 | 0.9951 | 0.0361 | 0.0013 | 0.0187 |
63
+ | 0.0191 | 1.97 | 12500 | 0.0332 | 0.9950 | 0.0416 | 0.0009 | 0.0212 |
64
+
65
+
66
+ ### Framework versions
67
+
68
+ - Transformers 4.38.0.dev0
69
+ - Pytorch 2.1.2+cu121
70
+ - Datasets 2.16.2.dev0
71
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/wavlm-base",
3
+ "activation_dropout": 0.0,
4
+ "adapter_kernel_size": 3,
5
+ "adapter_stride": 2,
6
+ "add_adapter": false,
7
+ "apply_spec_augment": true,
8
+ "architectures": [
9
+ "WavLMForSequenceClassification"
10
+ ],
11
+ "attention_dropout": 0.1,
12
+ "bos_token_id": 1,
13
+ "classifier_proj_size": 256,
14
+ "codevector_dim": 256,
15
+ "contrastive_logits_temperature": 0.1,
16
+ "conv_bias": false,
17
+ "conv_dim": [
18
+ 512,
19
+ 512,
20
+ 512,
21
+ 512,
22
+ 512,
23
+ 512,
24
+ 512
25
+ ],
26
+ "conv_kernel": [
27
+ 10,
28
+ 3,
29
+ 3,
30
+ 3,
31
+ 3,
32
+ 2,
33
+ 2
34
+ ],
35
+ "conv_stride": [
36
+ 5,
37
+ 2,
38
+ 2,
39
+ 2,
40
+ 2,
41
+ 2,
42
+ 2
43
+ ],
44
+ "ctc_loss_reduction": "sum",
45
+ "ctc_zero_infinity": false,
46
+ "diversity_loss_weight": 0.1,
47
+ "do_stable_layer_norm": false,
48
+ "eos_token_id": 2,
49
+ "feat_extract_activation": "gelu",
50
+ "feat_extract_norm": "group",
51
+ "feat_proj_dropout": 0.1,
52
+ "feat_quantizer_dropout": 0.0,
53
+ "final_dropout": 0.0,
54
+ "finetuning_task": "wavlm_clf",
55
+ "freeze_feat_extract_train": true,
56
+ "hidden_act": "gelu",
57
+ "hidden_dropout": 0.1,
58
+ "hidden_size": 768,
59
+ "id2label": {
60
+ "0": "bonafide",
61
+ "1": "spoof"
62
+ },
63
+ "initializer_range": 0.02,
64
+ "intermediate_size": 3072,
65
+ "label2id": {
66
+ "bonafide": 0,
67
+ "spoof": 1
68
+ },
69
+ "layer_norm_eps": 1e-05,
70
+ "layerdrop": 0.05,
71
+ "mask_channel_length": 10,
72
+ "mask_channel_min_space": 1,
73
+ "mask_channel_other": 0.0,
74
+ "mask_channel_prob": 0.0,
75
+ "mask_channel_selection": "static",
76
+ "mask_feature_length": 10,
77
+ "mask_feature_min_masks": 0,
78
+ "mask_feature_prob": 0.0,
79
+ "mask_time_length": 10,
80
+ "mask_time_min_masks": 2,
81
+ "mask_time_min_space": 1,
82
+ "mask_time_other": 0.0,
83
+ "mask_time_prob": 0.05,
84
+ "mask_time_selection": "static",
85
+ "max_bucket_distance": 800,
86
+ "model_type": "wavlm",
87
+ "no_mask_channel_overlap": false,
88
+ "no_mask_time_overlap": false,
89
+ "num_adapter_layers": 3,
90
+ "num_attention_heads": 12,
91
+ "num_buckets": 320,
92
+ "num_codevector_groups": 2,
93
+ "num_codevectors_per_group": 320,
94
+ "num_conv_pos_embedding_groups": 16,
95
+ "num_conv_pos_embeddings": 128,
96
+ "num_ctc_classes": 80,
97
+ "num_feat_extract_layers": 7,
98
+ "num_hidden_layers": 12,
99
+ "num_negatives": 100,
100
+ "output_hidden_size": 768,
101
+ "pad_token_id": 0,
102
+ "pooling_mode": "mean",
103
+ "proj_codevector_dim": 256,
104
+ "tdnn_dilation": [
105
+ 1,
106
+ 2,
107
+ 3,
108
+ 1,
109
+ 1
110
+ ],
111
+ "tdnn_dim": [
112
+ 512,
113
+ 512,
114
+ 512,
115
+ 512,
116
+ 1500
117
+ ],
118
+ "tdnn_kernel": [
119
+ 5,
120
+ 3,
121
+ 3,
122
+ 1,
123
+ 1
124
+ ],
125
+ "tokenizer_class": "Wav2Vec2CTCTokenizer",
126
+ "torch_dtype": "float32",
127
+ "transformers_version": "4.38.0.dev0",
128
+ "use_weighted_layer_sum": false,
129
+ "vocab_size": 32,
130
+ "xvector_output_dim": 512
131
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a9673b7014076494816fc94ccfd903b8cfa2188e270c0295223bd52e3258e5e
3
+ size 378347256
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": true,
8
+ "sampling_rate": 16000
9
+ }
runs/Mar13_19-15-46_d8bcbcf72ee8/events.out.tfevents.1710357347.d8bcbcf72ee8.4708.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64ed7183ab431abbd22ead937e0ff3ab8a2d7c866ce875b2961b688bce6cd69c
3
+ size 9898
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db92fb201c14ff5b08d1e31b508a1e2348acc42edb12b214468156e73d77a475
3
+ size 4792