MalikIbrar commited on
Commit
99b347b
1 Parent(s): efddcda

Training in progress, epoch 1

Browse files
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: ntu-spml/distilhubert
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - marsyas/gtzan
8
+ model-index:
9
+ - name: distilhubert-finetuned-gtzan
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
+ # distilhubert-finetuned-gtzan
17
+
18
+ This model is a fine-tuned version of [ntu-spml/distilhubert](https://huggingface.co/ntu-spml/distilhubert) on the GTZAN dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - eval_loss: 2.3098
21
+ - eval_accuracy: 0.22
22
+ - eval_runtime: 49.5115
23
+ - eval_samples_per_second: 2.02
24
+ - eval_steps_per_second: 0.263
25
+ - epoch: 0.98
26
+ - step: 37
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: 7e-05
46
+ - train_batch_size: 8
47
+ - eval_batch_size: 8
48
+ - seed: 42
49
+ - gradient_accumulation_steps: 1.5
50
+ - total_train_batch_size: 12.0
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - lr_scheduler_warmup_ratio: 0.1
54
+ - num_epochs: 13
55
+ - mixed_precision_training: Native AMP
56
+
57
+ ### Framework versions
58
+
59
+ - Transformers 4.38.0.dev0
60
+ - Pytorch 2.1.0+cu121
61
+ - Datasets 2.16.1
62
+ - Tokenizers 0.15.1
config.json ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "ntu-spml/distilhubert",
3
+ "activation_dropout": 0.1,
4
+ "apply_spec_augment": false,
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_norm": "group",
45
+ "feat_proj_dropout": 0.0,
46
+ "feat_proj_layer_norm": false,
47
+ "final_dropout": 0.0,
48
+ "hidden_act": "gelu",
49
+ "hidden_dropout": 0.1,
50
+ "hidden_size": 768,
51
+ "id2label": {
52
+ "0": "blues",
53
+ "1": "classical",
54
+ "2": "country",
55
+ "3": "disco",
56
+ "4": "hiphop",
57
+ "5": "jazz",
58
+ "6": "metal",
59
+ "7": "pop",
60
+ "8": "reggae",
61
+ "9": "rock"
62
+ },
63
+ "initializer_range": 0.02,
64
+ "intermediate_size": 3072,
65
+ "label2id": {
66
+ "blues": "0",
67
+ "classical": "1",
68
+ "country": "2",
69
+ "disco": "3",
70
+ "hiphop": "4",
71
+ "jazz": "5",
72
+ "metal": "6",
73
+ "pop": "7",
74
+ "reggae": "8",
75
+ "rock": "9"
76
+ },
77
+ "layer_norm_eps": 1e-05,
78
+ "layerdrop": 0.0,
79
+ "mask_feature_length": 10,
80
+ "mask_feature_min_masks": 0,
81
+ "mask_feature_prob": 0.0,
82
+ "mask_time_length": 10,
83
+ "mask_time_min_masks": 2,
84
+ "mask_time_prob": 0.05,
85
+ "model_type": "hubert",
86
+ "num_attention_heads": 12,
87
+ "num_conv_pos_embedding_groups": 16,
88
+ "num_conv_pos_embeddings": 128,
89
+ "num_feat_extract_layers": 7,
90
+ "num_hidden_layers": 2,
91
+ "pad_token_id": 0,
92
+ "torch_dtype": "float32",
93
+ "transformers_version": "4.38.0.dev0",
94
+ "use_weighted_layer_sum": false,
95
+ "vocab_size": 32
96
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:750d80cdb339d39ae1aa1719d5c30e2bed89ae461f71affb8abec4bbffcedf59
3
+ size 94771728
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/Jan30_11-58-40_eec2c034aa98/events.out.tfevents.1706615939.eec2c034aa98.2072.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:784f9cd1a19b1c2d65bc3a63c7564aa4c3956aba091ed8dd19d87737f3979971
3
+ size 14033
runs/Jan30_12-21-01_eec2c034aa98/events.out.tfevents.1706617292.eec2c034aa98.2072.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07556ee141721e2b64482141443c5c518453e419f26c47c02fb08773233fd2a7
3
+ size 13659
runs/Jan30_12-51-21_eec2c034aa98/events.out.tfevents.1706619108.eec2c034aa98.2072.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:192c0ee4d4e1633a17bf7f9118f70162ff221f00d314b391dd6b011feca8cebe
3
+ size 9340
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9737e9cd3699f9bdcad1927f8854395f1be8da0b091fac6292ea0fee4ae5924
3
+ size 4792