shubham13596 commited on
Commit
36720b6
·
verified ·
1 Parent(s): 498af30

End of training

Browse files
Files changed (2) hide show
  1. README.md +89 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: ntu-spml/distilhubert
5
+ tags:
6
+ - generated_from_trainer
7
+ datasets:
8
+ - marsyas/gtzan
9
+ metrics:
10
+ - accuracy
11
+ model-index:
12
+ - name: distilhubert-finetuned-gtzan
13
+ results:
14
+ - task:
15
+ name: Audio Classification
16
+ type: audio-classification
17
+ dataset:
18
+ name: GTZAN
19
+ type: marsyas/gtzan
20
+ config: all
21
+ split: train
22
+ args: all
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.84
27
+ ---
28
+
29
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
30
+ should probably proofread and complete it, then remove this comment. -->
31
+
32
+ # distilhubert-finetuned-gtzan
33
+
34
+ This model is a fine-tuned version of [ntu-spml/distilhubert](https://huggingface.co/ntu-spml/distilhubert) on the GTZAN dataset.
35
+ It achieves the following results on the evaluation set:
36
+ - Loss: 0.5422
37
+ - Accuracy: 0.84
38
+
39
+ ## Model description
40
+
41
+ More information needed
42
+
43
+ ## Intended uses & limitations
44
+
45
+ More information needed
46
+
47
+ ## Training and evaluation data
48
+
49
+ More information needed
50
+
51
+ ## Training procedure
52
+
53
+ ### Training hyperparameters
54
+
55
+ The following hyperparameters were used during training:
56
+ - learning_rate: 5e-05
57
+ - train_batch_size: 4
58
+ - eval_batch_size: 4
59
+ - seed: 42
60
+ - gradient_accumulation_steps: 2
61
+ - total_train_batch_size: 8
62
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
63
+ - lr_scheduler_type: linear
64
+ - lr_scheduler_warmup_ratio: 0.1
65
+ - num_epochs: 10
66
+ - mixed_precision_training: Native AMP
67
+
68
+ ### Training results
69
+
70
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
71
+ |:-------------:|:------:|:----:|:---------------:|:--------:|
72
+ | 3.8879 | 1.0 | 113 | 1.8475 | 0.48 |
73
+ | 2.3642 | 2.0 | 226 | 1.3292 | 0.63 |
74
+ | 2.0716 | 3.0 | 339 | 0.9880 | 0.69 |
75
+ | 1.5056 | 4.0 | 452 | 0.9496 | 0.72 |
76
+ | 0.955 | 5.0 | 565 | 0.6776 | 0.84 |
77
+ | 0.8962 | 6.0 | 678 | 0.5757 | 0.82 |
78
+ | 0.6331 | 7.0 | 791 | 0.5094 | 0.89 |
79
+ | 0.3574 | 8.0 | 904 | 0.5486 | 0.87 |
80
+ | 0.3271 | 9.0 | 1017 | 0.5569 | 0.85 |
81
+ | 0.4816 | 9.9156 | 1120 | 0.5422 | 0.84 |
82
+
83
+
84
+ ### Framework versions
85
+
86
+ - Transformers 4.47.1
87
+ - Pytorch 2.5.1+cu124
88
+ - Datasets 3.2.0
89
+ - Tokenizers 0.21.0
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a0d4bc5bffd7ae75cb1a8ff9ecc1899299dcad8e699c0b3c9ff496372de4e37a
3
  size 94771728
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98742c4d40aca656428aa5be43a729b9d184a0e111bd7c0779ba16b71f657d38
3
  size 94771728