HuBERT_Initial_Result_2Epochs
Browse files- README.md +62 -0
- config.json +84 -0
- model.safetensors +3 -0
- preprocessor_config.json +9 -0
- runs/Sep23_00-35-06_DESKTOP-U6D00JG/events.out.tfevents.1727022907.DESKTOP-U6D00JG.12072.0 +3 -0
- runs/Sep23_00-36-56_DESKTOP-U6D00JG/events.out.tfevents.1727023016.DESKTOP-U6D00JG.12072.1 +3 -0
- runs/Sep23_00-37-32_DESKTOP-U6D00JG/events.out.tfevents.1727023053.DESKTOP-U6D00JG.12072.2 +3 -0
- runs/Sep23_00-38-55_DESKTOP-U6D00JG/events.out.tfevents.1727023135.DESKTOP-U6D00JG.12072.3 +3 -0
- runs/Sep23_00-41-12_DESKTOP-U6D00JG/events.out.tfevents.1727023273.DESKTOP-U6D00JG.14096.0 +3 -0
- runs/Sep23_00-41-52_DESKTOP-U6D00JG/events.out.tfevents.1727023313.DESKTOP-U6D00JG.14096.1 +3 -0
- runs/Sep23_00-42-17_DESKTOP-U6D00JG/events.out.tfevents.1727023338.DESKTOP-U6D00JG.14096.2 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: facebook/hubert-base-ls960
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
model-index:
|
10 |
+
- name: results
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# results
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [facebook/hubert-base-ls960](https://huggingface.co/facebook/hubert-base-ls960) on an unknown dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.0265
|
22 |
+
- Accuracy: 0.9941
|
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: 5e-05
|
42 |
+
- train_batch_size: 8
|
43 |
+
- eval_batch_size: 8
|
44 |
+
- seed: 42
|
45 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
+
- lr_scheduler_type: linear
|
47 |
+
- num_epochs: 2
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
52 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
53 |
+
| 0.0019 | 1.0 | 170 | 0.0031 | 1.0 |
|
54 |
+
| 0.0014 | 2.0 | 340 | 0.0265 | 0.9941 |
|
55 |
+
|
56 |
+
|
57 |
+
### Framework versions
|
58 |
+
|
59 |
+
- Transformers 4.44.2
|
60 |
+
- Pytorch 2.4.1+cu124
|
61 |
+
- Datasets 3.0.0
|
62 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/hubert-base-ls960",
|
3 |
+
"activation_dropout": 0.1,
|
4 |
+
"apply_spec_augment": true,
|
5 |
+
"architectures": [
|
6 |
+
"HubertForSequenceClassification"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.1,
|
9 |
+
"bos_token_id": 1,
|
10 |
+
"classifier_proj_size": 256,
|
11 |
+
"conv_bias": false,
|
12 |
+
"conv_dim": [
|
13 |
+
512,
|
14 |
+
512,
|
15 |
+
512,
|
16 |
+
512,
|
17 |
+
512,
|
18 |
+
512,
|
19 |
+
512
|
20 |
+
],
|
21 |
+
"conv_kernel": [
|
22 |
+
10,
|
23 |
+
3,
|
24 |
+
3,
|
25 |
+
3,
|
26 |
+
3,
|
27 |
+
2,
|
28 |
+
2
|
29 |
+
],
|
30 |
+
"conv_stride": [
|
31 |
+
5,
|
32 |
+
2,
|
33 |
+
2,
|
34 |
+
2,
|
35 |
+
2,
|
36 |
+
2,
|
37 |
+
2
|
38 |
+
],
|
39 |
+
"ctc_loss_reduction": "sum",
|
40 |
+
"ctc_zero_infinity": false,
|
41 |
+
"do_stable_layer_norm": false,
|
42 |
+
"eos_token_id": 2,
|
43 |
+
"feat_extract_activation": "gelu",
|
44 |
+
"feat_extract_dropout": 0.0,
|
45 |
+
"feat_extract_norm": "group",
|
46 |
+
"feat_proj_dropout": 0.1,
|
47 |
+
"feat_proj_layer_norm": true,
|
48 |
+
"final_dropout": 0.1,
|
49 |
+
"gradient_checkpointing": false,
|
50 |
+
"hidden_act": "gelu",
|
51 |
+
"hidden_dropout": 0.1,
|
52 |
+
"hidden_dropout_prob": 0.1,
|
53 |
+
"hidden_size": 768,
|
54 |
+
"id2label": {
|
55 |
+
"0": "DeepfakeAudio",
|
56 |
+
"1": "GenuineAudio"
|
57 |
+
},
|
58 |
+
"initializer_range": 0.02,
|
59 |
+
"intermediate_size": 3072,
|
60 |
+
"label2id": {
|
61 |
+
"DeepfakeAudio": 0,
|
62 |
+
"GenuineAudio": 1
|
63 |
+
},
|
64 |
+
"layer_norm_eps": 1e-05,
|
65 |
+
"layerdrop": 0.1,
|
66 |
+
"mask_feature_length": 10,
|
67 |
+
"mask_feature_min_masks": 0,
|
68 |
+
"mask_feature_prob": 0.0,
|
69 |
+
"mask_time_length": 10,
|
70 |
+
"mask_time_min_masks": 2,
|
71 |
+
"mask_time_prob": 0.05,
|
72 |
+
"model_type": "hubert",
|
73 |
+
"num_attention_heads": 12,
|
74 |
+
"num_conv_pos_embedding_groups": 16,
|
75 |
+
"num_conv_pos_embeddings": 128,
|
76 |
+
"num_feat_extract_layers": 7,
|
77 |
+
"num_hidden_layers": 12,
|
78 |
+
"pad_token_id": 0,
|
79 |
+
"tokenizer_class": "Wav2Vec2CTCTokenizer",
|
80 |
+
"torch_dtype": "float32",
|
81 |
+
"transformers_version": "4.44.2",
|
82 |
+
"use_weighted_layer_sum": false,
|
83 |
+
"vocab_size": 32
|
84 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:60f5ea9c366add298e85ce31fab391ef3f497d25101665f861fa9e4dbb620971
|
3 |
+
size 378301944
|
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,
|
7 |
+
"return_attention_mask": true,
|
8 |
+
"sampling_rate": 16000
|
9 |
+
}
|
runs/Sep23_00-35-06_DESKTOP-U6D00JG/events.out.tfevents.1727022907.DESKTOP-U6D00JG.12072.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:afce5e7d7cd11be92f281ad6d996708878a29ae3a4410893151485f35702d12d
|
3 |
+
size 6682
|
runs/Sep23_00-36-56_DESKTOP-U6D00JG/events.out.tfevents.1727023016.DESKTOP-U6D00JG.12072.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0445edc28f86a2d24e1d415ec593992189cd5e096026a63d8331a974350496b1
|
3 |
+
size 6682
|
runs/Sep23_00-37-32_DESKTOP-U6D00JG/events.out.tfevents.1727023053.DESKTOP-U6D00JG.12072.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4753b0ae37209c44dfd595ad0f628b3d37a3093af8161022f5f9192beabe157a
|
3 |
+
size 6682
|
runs/Sep23_00-38-55_DESKTOP-U6D00JG/events.out.tfevents.1727023135.DESKTOP-U6D00JG.12072.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c821424494e33ebeab687a5d1a467e2cb43f2352c3860bef4e68f65a97168947
|
3 |
+
size 6682
|
runs/Sep23_00-41-12_DESKTOP-U6D00JG/events.out.tfevents.1727023273.DESKTOP-U6D00JG.14096.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:266ad500b394bf0c59c1f34b1846b58d66ca90255995c8e7c6a455cb45befab2
|
3 |
+
size 6682
|
runs/Sep23_00-41-52_DESKTOP-U6D00JG/events.out.tfevents.1727023313.DESKTOP-U6D00JG.14096.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:11467ac81961fd871d1c72337d03a60257dfdbe0af811b6733d922b8b0328581
|
3 |
+
size 6682
|
runs/Sep23_00-42-17_DESKTOP-U6D00JG/events.out.tfevents.1727023338.DESKTOP-U6D00JG.14096.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fdf49709119a152c8ed970c459e95f26617cb2e496f8f6a5dd7596fcbe1b6a0c
|
3 |
+
size 6682
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:afddf0f78b657d07725c02ccb8ffdb555aef6c8d9d7837ae2403491c5db0b90b
|
3 |
+
size 5176
|