thelikhit commited on
Commit
a7ceb24
·
verified ·
1 Parent(s): 6396ca2

End of training

Browse files
README.md ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: facebook/hubert-base-ls960
5
+ tags:
6
+ - generated_from_trainer
7
+ datasets:
8
+ - gtzan
9
+ metrics:
10
+ - accuracy
11
+ - precision
12
+ - recall
13
+ - f1
14
+ model-index:
15
+ - name: hubert-model-v1
16
+ results:
17
+ - task:
18
+ name: Audio Classification
19
+ type: audio-classification
20
+ dataset:
21
+ name: gtzan
22
+ type: gtzan
23
+ config: default
24
+ split: train
25
+ args: default
26
+ metrics:
27
+ - name: Accuracy
28
+ type: accuracy
29
+ value: 0.775
30
+ - name: Precision
31
+ type: precision
32
+ value: 0.7724506443587075
33
+ - name: Recall
34
+ type: recall
35
+ value: 0.775
36
+ - name: F1
37
+ type: f1
38
+ value: 0.7598948943956552
39
+ ---
40
+
41
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
42
+ should probably proofread and complete it, then remove this comment. -->
43
+
44
+ # hubert-model-v1
45
+
46
+ This model is a fine-tuned version of [facebook/hubert-base-ls960](https://huggingface.co/facebook/hubert-base-ls960) on the gtzan dataset.
47
+ It achieves the following results on the evaluation set:
48
+ - Loss: 0.8438
49
+ - Accuracy: 0.775
50
+ - Precision: 0.7725
51
+ - Recall: 0.775
52
+ - F1: 0.7599
53
+
54
+ ## Model description
55
+
56
+ More information needed
57
+
58
+ ## Intended uses & limitations
59
+
60
+ More information needed
61
+
62
+ ## Training and evaluation data
63
+
64
+ More information needed
65
+
66
+ ## Training procedure
67
+
68
+ ### Training hyperparameters
69
+
70
+ The following hyperparameters were used during training:
71
+ - learning_rate: 5e-05
72
+ - train_batch_size: 4
73
+ - eval_batch_size: 4
74
+ - seed: 42
75
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
76
+ - lr_scheduler_type: linear
77
+ - lr_scheduler_warmup_ratio: 0.1
78
+ - num_epochs: 8
79
+ - mixed_precision_training: Native AMP
80
+
81
+ ### Training results
82
+
83
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
84
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
85
+ | No log | 1.0 | 180 | 2.0025 | 0.29 | 0.2351 | 0.29 | 0.1935 |
86
+ | No log | 2.0 | 360 | 1.6515 | 0.46 | 0.3961 | 0.46 | 0.3960 |
87
+ | 1.8167 | 3.0 | 540 | 1.2595 | 0.6 | 0.5193 | 0.6 | 0.5449 |
88
+ | 1.8167 | 4.0 | 720 | 1.1376 | 0.655 | 0.6648 | 0.655 | 0.6349 |
89
+ | 1.8167 | 5.0 | 900 | 1.0759 | 0.71 | 0.7372 | 0.71 | 0.6947 |
90
+ | 1.0396 | 6.0 | 1080 | 0.8932 | 0.78 | 0.8324 | 0.78 | 0.7705 |
91
+ | 1.0396 | 7.0 | 1260 | 0.9236 | 0.75 | 0.7820 | 0.75 | 0.7314 |
92
+ | 1.0396 | 8.0 | 1440 | 0.8438 | 0.775 | 0.7725 | 0.775 | 0.7599 |
93
+
94
+
95
+ ### Framework versions
96
+
97
+ - Transformers 4.47.1
98
+ - Pytorch 2.5.1+cu121
99
+ - Datasets 3.2.0
100
+ - Tokenizers 0.21.0
config.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "blues",
56
+ "1": "classical",
57
+ "2": "country",
58
+ "3": "disco",
59
+ "4": "hiphop",
60
+ "5": "jazz",
61
+ "6": "metal",
62
+ "7": "pop",
63
+ "8": "reggae",
64
+ "9": "rock"
65
+ },
66
+ "initializer_range": 0.02,
67
+ "intermediate_size": 3072,
68
+ "label2id": {
69
+ "blues": "0",
70
+ "classical": "1",
71
+ "country": "2",
72
+ "disco": "3",
73
+ "hiphop": "4",
74
+ "jazz": "5",
75
+ "metal": "6",
76
+ "pop": "7",
77
+ "reggae": "8",
78
+ "rock": "9"
79
+ },
80
+ "layer_norm_eps": 1e-05,
81
+ "layerdrop": 0.1,
82
+ "mask_feature_length": 10,
83
+ "mask_feature_min_masks": 0,
84
+ "mask_feature_prob": 0.0,
85
+ "mask_time_length": 10,
86
+ "mask_time_min_masks": 2,
87
+ "mask_time_prob": 0.05,
88
+ "model_type": "hubert",
89
+ "num_attention_heads": 12,
90
+ "num_conv_pos_embedding_groups": 16,
91
+ "num_conv_pos_embeddings": 128,
92
+ "num_feat_extract_layers": 7,
93
+ "num_hidden_layers": 12,
94
+ "pad_token_id": 0,
95
+ "tokenizer_class": "Wav2Vec2CTCTokenizer",
96
+ "torch_dtype": "float32",
97
+ "transformers_version": "4.47.1",
98
+ "use_weighted_layer_sum": false,
99
+ "vocab_size": 32
100
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:466cfb52e67ca51121c39a8d7448519fef69b93d46e4c49033b55f4ed14ded93
3
+ size 378310176
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/Dec30_11-42-21_bcaaa883cecc/events.out.tfevents.1735558942.bcaaa883cecc.898.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9eb02edd864bbb9c9931ca3d279021968206b3d8a0807c5c836cde5d1317a59d
3
+ size 10901
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a14f602f7ce0ee0053524d247d06362aedf398f01ea7ec0e5c722bdca9bc1695
3
+ size 5304