End of training
Browse files- README.md +61 -0
- config.json +82 -0
- model.safetensors +3 -0
- preprocessor_config.json +9 -0
- runs/Nov20_09-13-14_ubuntu-server/events.out.tfevents.1732094002.ubuntu-server.3762906.7 +3 -0
- runs/Nov20_09-15-36_ubuntu-server/events.out.tfevents.1732094139.ubuntu-server.3762906.8 +3 -0
- runs/Nov20_09-24-40_ubuntu-server/events.out.tfevents.1732094687.ubuntu-server.3762906.9 +3 -0
- runs/Nov20_09-24-40_ubuntu-server/events.out.tfevents.1732094833.ubuntu-server.3762906.10 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
- audiofolder
|
9 |
+
model-index:
|
10 |
+
- name: ph-audio-classification-v1
|
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 |
+
# ph-audio-classification-v1
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [ntu-spml/distilhubert](https://huggingface.co/ntu-spml/distilhubert) on the audiofolder dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- eval_loss: 0.3404
|
22 |
+
- eval_accuracy: 1.0
|
23 |
+
- eval_runtime: 0.8233
|
24 |
+
- eval_samples_per_second: 8.503
|
25 |
+
- eval_steps_per_second: 1.215
|
26 |
+
- epoch: 1.0
|
27 |
+
- step: 4
|
28 |
+
|
29 |
+
## Model description
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Intended uses & limitations
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training and evaluation data
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training procedure
|
42 |
+
|
43 |
+
### Training hyperparameters
|
44 |
+
|
45 |
+
The following hyperparameters were used during training:
|
46 |
+
- learning_rate: 5e-05
|
47 |
+
- train_batch_size: 8
|
48 |
+
- eval_batch_size: 8
|
49 |
+
- seed: 42
|
50 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- lr_scheduler_warmup_ratio: 0.1
|
53 |
+
- num_epochs: 20
|
54 |
+
- mixed_precision_training: Native AMP
|
55 |
+
|
56 |
+
### Framework versions
|
57 |
+
|
58 |
+
- Transformers 4.46.3
|
59 |
+
- Pytorch 2.4.0+cu124
|
60 |
+
- Datasets 3.1.0
|
61 |
+
- Tokenizers 0.20.3
|
config.json
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "busytone",
|
53 |
+
"1": "ringtone",
|
54 |
+
"2": "speech"
|
55 |
+
},
|
56 |
+
"initializer_range": 0.02,
|
57 |
+
"intermediate_size": 3072,
|
58 |
+
"label2id": {
|
59 |
+
"busytone": "0",
|
60 |
+
"ringtone": "1",
|
61 |
+
"speech": "2"
|
62 |
+
},
|
63 |
+
"layer_norm_eps": 1e-05,
|
64 |
+
"layerdrop": 0.0,
|
65 |
+
"mask_feature_length": 10,
|
66 |
+
"mask_feature_min_masks": 0,
|
67 |
+
"mask_feature_prob": 0.0,
|
68 |
+
"mask_time_length": 10,
|
69 |
+
"mask_time_min_masks": 2,
|
70 |
+
"mask_time_prob": 0.05,
|
71 |
+
"model_type": "hubert",
|
72 |
+
"num_attention_heads": 12,
|
73 |
+
"num_conv_pos_embedding_groups": 16,
|
74 |
+
"num_conv_pos_embeddings": 128,
|
75 |
+
"num_feat_extract_layers": 7,
|
76 |
+
"num_hidden_layers": 2,
|
77 |
+
"pad_token_id": 0,
|
78 |
+
"torch_dtype": "float32",
|
79 |
+
"transformers_version": "4.46.3",
|
80 |
+
"use_weighted_layer_sum": false,
|
81 |
+
"vocab_size": 32
|
82 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0540ac88c46a6247f37a03050621ddd04f82226f5f3a76a38df288697eac0a05
|
3 |
+
size 94764524
|
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/Nov20_09-13-14_ubuntu-server/events.out.tfevents.1732094002.ubuntu-server.3762906.7
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ca0adbef3b74bb02c5b4c5a44d33fcb769f569c813a3b950e7b7a94da8ab3045
|
3 |
+
size 15995
|
runs/Nov20_09-15-36_ubuntu-server/events.out.tfevents.1732094139.ubuntu-server.3762906.8
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ef5e7743bc3b71f5d86a087d8b1e07da68b172accb456365b28a869a8085f1d0
|
3 |
+
size 15994
|
runs/Nov20_09-24-40_ubuntu-server/events.out.tfevents.1732094687.ubuntu-server.3762906.9
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:32f6a40feeadb95f318203113e8aa34a27c37369d8bd196a88a55a777cafaa25
|
3 |
+
size 15995
|
runs/Nov20_09-24-40_ubuntu-server/events.out.tfevents.1732094833.ubuntu-server.3762906.10
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:831bdea9778a57cbe8b0d22f5fa95efb35ea15af5a41c2ebfa41bedca4cc2c21
|
3 |
+
size 6312
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:017eb7bb58ea96eaaf42400fff93bdaa2c765fa275168e995f79da98e2db57fc
|
3 |
+
size 5304
|