michaelsh commited on
Commit
864db5d
1 Parent(s): 92fff5a

Upload 7 files

Browse files
Files changed (6) hide show
  1. README.md +63 -2
  2. config.json +1 -1
  3. gitattributes.txt +35 -0
  4. gitignore.txt +1 -0
  5. pytorch_model.bin +1 -1
  6. training_args.bin +1 -1
README.md CHANGED
@@ -1,7 +1,7 @@
1
  ---
2
  license: apache-2.0
3
  tags:
4
- - marsyas/gtzan
5
  datasets:
6
  - marsyas/gtzan
7
  metrics:
@@ -9,4 +9,65 @@ metrics:
9
  model-index:
10
  - name: distilhubert-finetuned-gtzan
11
  results: []
12
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
  tags:
4
+ - generated_from_trainer
5
  datasets:
6
  - marsyas/gtzan
7
  metrics:
 
9
  model-index:
10
  - name: distilhubert-finetuned-gtzan
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
+ # distilhubert-finetuned-gtzan
18
+
19
+ This model is a fine-tuned version of [ntu-spml/distilhubert](https://huggingface.co/ntu-spml/distilhubert) on the GTZAN dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.7058
22
+ - Accuracy: 0.79
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: 4
43
+ - eval_batch_size: 4
44
+ - seed: 42
45
+ - gradient_accumulation_steps: 2
46
+ - total_train_batch_size: 8
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: linear
49
+ - lr_scheduler_warmup_ratio: 0.1
50
+ - num_epochs: 10
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
55
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
56
+ | 1.7675 | 1.0 | 112 | 1.8184 | 0.42 |
57
+ | 1.2504 | 2.0 | 225 | 1.3015 | 0.62 |
58
+ | 1.0353 | 3.0 | 337 | 0.9890 | 0.72 |
59
+ | 0.8318 | 4.0 | 450 | 0.8237 | 0.8 |
60
+ | 0.4429 | 5.0 | 562 | 0.8123 | 0.78 |
61
+ | 0.4286 | 6.0 | 675 | 0.6820 | 0.8 |
62
+ | 0.2553 | 7.0 | 787 | 0.7826 | 0.78 |
63
+ | 0.3022 | 8.0 | 900 | 0.6811 | 0.77 |
64
+ | 0.1889 | 9.0 | 1012 | 0.6761 | 0.8 |
65
+ | 0.1073 | 9.96 | 1120 | 0.7058 | 0.79 |
66
+
67
+
68
+ ### Framework versions
69
+
70
+ - Transformers 4.30.2
71
+ - Pytorch 2.0.1+cu118
72
+ - Datasets 2.13.0
73
+ - Tokenizers 0.13.3
config.json CHANGED
@@ -90,7 +90,7 @@
90
  "num_hidden_layers": 2,
91
  "pad_token_id": 0,
92
  "torch_dtype": "float32",
93
- "transformers_version": "4.31.0.dev0",
94
  "use_weighted_layer_sum": false,
95
  "vocab_size": 32
96
  }
 
90
  "num_hidden_layers": 2,
91
  "pad_token_id": 0,
92
  "torch_dtype": "float32",
93
+ "transformers_version": "4.30.2",
94
  "use_weighted_layer_sum": false,
95
  "vocab_size": 32
96
  }
gitattributes.txt ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
gitignore.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ checkpoint-*/
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:213bef9ea1cb8c00dc924977331618ea4ae9823f2d2b164e92ee138a1a71b505
3
  size 94783376
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:126cce7dd53ef47b6b14b1efef81923074373318c51761a0d043001b21bd7e57
3
  size 94783376
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5a8354dc326f843935d0365262dd9a2d2c1c9ecddc6b717d50fa49ba59768733
3
  size 3963
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87018a0041714dc4eb9474259ae81181f9425ea9fd9021663ded64e066e7df5d
3
  size 3963