boooooook commited on
Commit
7cba3ed
·
verified ·
1 Parent(s): dab4be8

End of training

Browse files
Files changed (5) hide show
  1. README.md +87 -0
  2. config.json +98 -0
  3. model.safetensors +3 -0
  4. preprocessor_config.json +9 -0
  5. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - boooooook/benben_demo
9
+ metrics:
10
+ - accuracy
11
+ model-index:
12
+ - name: boooooook/finetuned-bb
13
+ results:
14
+ - task:
15
+ name: Audio Classification
16
+ type: audio-classification
17
+ dataset:
18
+ name: benben_demo
19
+ type: boooooook/benben_demo
20
+ config: all
21
+ split: train
22
+ args: all
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.8
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
+ # boooooook/finetuned-bb
33
+
34
+ This model is a fine-tuned version of [ntu-spml/distilhubert](https://huggingface.co/ntu-spml/distilhubert) on the benben_demo dataset.
35
+ It achieves the following results on the evaluation set:
36
+ - Loss: 0.4991
37
+ - Accuracy: 0.8
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: 8
58
+ - eval_batch_size: 8
59
+ - seed: 42
60
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
61
+ - lr_scheduler_type: linear
62
+ - lr_scheduler_warmup_ratio: 0.1
63
+ - num_epochs: 10
64
+ - mixed_precision_training: Native AMP
65
+
66
+ ### Training results
67
+
68
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
70
+ | 1.8883 | 1.0 | 124 | 1.8304 | 0.5182 |
71
+ | 1.1287 | 2.0 | 248 | 1.1052 | 0.7 |
72
+ | 0.897 | 3.0 | 372 | 0.7974 | 0.8182 |
73
+ | 0.7703 | 4.0 | 496 | 0.6288 | 0.8 |
74
+ | 0.6084 | 5.0 | 620 | 0.5731 | 0.8364 |
75
+ | 0.2206 | 6.0 | 744 | 0.5133 | 0.8455 |
76
+ | 0.1527 | 7.0 | 868 | 0.5248 | 0.8182 |
77
+ | 0.128 | 8.0 | 992 | 0.4986 | 0.8364 |
78
+ | 0.1382 | 9.0 | 1116 | 0.4998 | 0.8273 |
79
+ | 0.0664 | 10.0 | 1240 | 0.4991 | 0.8 |
80
+
81
+
82
+ ### Framework versions
83
+
84
+ - Transformers 4.51.3
85
+ - Pytorch 2.6.0+cu124
86
+ - Datasets 3.6.0
87
+ - Tokenizers 0.21.1
config.json ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.1,
3
+ "apply_spec_augment": false,
4
+ "architectures": [
5
+ "HubertForSequenceClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "bos_token_id": 1,
9
+ "classifier_proj_size": 256,
10
+ "conv_bias": false,
11
+ "conv_dim": [
12
+ 512,
13
+ 512,
14
+ 512,
15
+ 512,
16
+ 512,
17
+ 512,
18
+ 512
19
+ ],
20
+ "conv_kernel": [
21
+ 10,
22
+ 3,
23
+ 3,
24
+ 3,
25
+ 3,
26
+ 2,
27
+ 2
28
+ ],
29
+ "conv_pos_batch_norm": false,
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": "benben",
53
+ "1": "blues",
54
+ "10": "rock",
55
+ "2": "classical",
56
+ "3": "country",
57
+ "4": "disco",
58
+ "5": "hiphop",
59
+ "6": "jazz",
60
+ "7": "metal",
61
+ "8": "pop",
62
+ "9": "reggae"
63
+ },
64
+ "initializer_range": 0.02,
65
+ "intermediate_size": 3072,
66
+ "label2id": {
67
+ "benben": "0",
68
+ "blues": "1",
69
+ "classical": "2",
70
+ "country": "3",
71
+ "disco": "4",
72
+ "hiphop": "5",
73
+ "jazz": "6",
74
+ "metal": "7",
75
+ "pop": "8",
76
+ "reggae": "9",
77
+ "rock": "10"
78
+ },
79
+ "layer_norm_eps": 1e-05,
80
+ "layerdrop": 0.0,
81
+ "mask_feature_length": 10,
82
+ "mask_feature_min_masks": 0,
83
+ "mask_feature_prob": 0.0,
84
+ "mask_time_length": 10,
85
+ "mask_time_min_masks": 2,
86
+ "mask_time_prob": 0.05,
87
+ "model_type": "hubert",
88
+ "num_attention_heads": 12,
89
+ "num_conv_pos_embedding_groups": 16,
90
+ "num_conv_pos_embeddings": 128,
91
+ "num_feat_extract_layers": 7,
92
+ "num_hidden_layers": 2,
93
+ "pad_token_id": 0,
94
+ "torch_dtype": "float32",
95
+ "transformers_version": "4.51.3",
96
+ "use_weighted_layer_sum": false,
97
+ "vocab_size": 32
98
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bff64e7dee7338d66758dd24b6e471ba11500ac891ca0cb75994a2ec27bec398
3
+ size 94772756
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
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8925909ac01d80be3f72681198ef7c56e729e6d81c31c772a5a9cfa376402ba8
3
+ size 5368