Marcos12886
commited on
Commit
•
0635ba5
1
Parent(s):
c0e3c8e
End of training
Browse files- README.md +61 -61
- config.json +86 -88
- model.safetensors +2 -2
- preprocessor_config.json +9 -9
- runs/Aug31_20-07-18_ubumarcos/events.out.tfevents.1725127642.ubumarcos +3 -0
- training_args.bin +1 -1
README.md
CHANGED
@@ -1,61 +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: distilhubert-finetuned-donateacry
|
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-donateacry
|
18 |
-
|
19 |
-
This model is a fine-tuned version of [ntu-spml/distilhubert](https://huggingface.co/ntu-spml/distilhubert) on the audiofolder dataset.
|
20 |
-
|
21 |
-
## Model description
|
22 |
-
|
23 |
-
More information needed
|
24 |
-
|
25 |
-
## Intended uses & limitations
|
26 |
-
|
27 |
-
More information needed
|
28 |
-
|
29 |
-
## Training and evaluation data
|
30 |
-
|
31 |
-
More information needed
|
32 |
-
|
33 |
-
## Training procedure
|
34 |
-
|
35 |
-
### Training hyperparameters
|
36 |
-
|
37 |
-
The following hyperparameters were used during training:
|
38 |
-
- learning_rate: 0.001
|
39 |
-
- train_batch_size: 8
|
40 |
-
- eval_batch_size: 8
|
41 |
-
- seed: 42
|
42 |
-
- gradient_accumulation_steps: 8
|
43 |
-
- total_train_batch_size: 64
|
44 |
-
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
-
- lr_scheduler_type: cosine
|
46 |
-
- lr_scheduler_warmup_ratio: 0.03
|
47 |
-
- num_epochs: 1
|
48 |
-
|
49 |
-
### Training results
|
50 |
-
|
51 |
-
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
52 |
-
|:-------------:|:------:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
|
53 |
-
| No log | 0.
|
54 |
-
|
55 |
-
|
56 |
-
### Framework versions
|
57 |
-
|
58 |
-
- Transformers 4.44.2
|
59 |
-
- Pytorch 2.4.0+
|
60 |
-
- Datasets 2.21.0
|
61 |
-
- Tokenizers 0.19.1
|
|
|
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: distilhubert-finetuned-donateacry
|
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-donateacry
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [ntu-spml/distilhubert](https://huggingface.co/ntu-spml/distilhubert) on the audiofolder dataset.
|
20 |
+
|
21 |
+
## Model description
|
22 |
+
|
23 |
+
More information needed
|
24 |
+
|
25 |
+
## Intended uses & limitations
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Training and evaluation data
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training procedure
|
34 |
+
|
35 |
+
### Training hyperparameters
|
36 |
+
|
37 |
+
The following hyperparameters were used during training:
|
38 |
+
- learning_rate: 0.001
|
39 |
+
- train_batch_size: 8
|
40 |
+
- eval_batch_size: 8
|
41 |
+
- seed: 42
|
42 |
+
- gradient_accumulation_steps: 8
|
43 |
+
- total_train_batch_size: 64
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: cosine
|
46 |
+
- lr_scheduler_warmup_ratio: 0.03
|
47 |
+
- num_epochs: 1
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
52 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
|
53 |
+
| No log | 0.8696 | 5 | 0.6828 | 0.8370 | 0.7627 | 0.7005 | 0.8370 |
|
54 |
+
|
55 |
+
|
56 |
+
### Framework versions
|
57 |
+
|
58 |
+
- Transformers 4.44.2
|
59 |
+
- Pytorch 2.4.0+cu121
|
60 |
+
- Datasets 2.21.0
|
61 |
+
- Tokenizers 0.19.1
|
config.json
CHANGED
@@ -1,88 +1,86 @@
|
|
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": "
|
53 |
-
"1": "burping",
|
54 |
-
"2": "discomfort",
|
55 |
-
"3": "hungry",
|
56 |
-
"4": "
|
57 |
-
|
58 |
-
|
59 |
-
"
|
60 |
-
"
|
61 |
-
|
62 |
-
"
|
63 |
-
"
|
64 |
-
"
|
65 |
-
"
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
"
|
70 |
-
"
|
71 |
-
"
|
72 |
-
"
|
73 |
-
"
|
74 |
-
"
|
75 |
-
"
|
76 |
-
"
|
77 |
-
"
|
78 |
-
"
|
79 |
-
"
|
80 |
-
"
|
81 |
-
"
|
82 |
-
"
|
83 |
-
"
|
84 |
-
"
|
85 |
-
"
|
86 |
-
|
87 |
-
"vocab_size": 32
|
88 |
-
}
|
|
|
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": "belly_pain",
|
53 |
+
"1": "burping",
|
54 |
+
"2": "discomfort",
|
55 |
+
"3": "hungry",
|
56 |
+
"4": "tired"
|
57 |
+
},
|
58 |
+
"initializer_range": 0.02,
|
59 |
+
"intermediate_size": 3072,
|
60 |
+
"label2id": {
|
61 |
+
"belly_pain": "0",
|
62 |
+
"burping": "1",
|
63 |
+
"discomfort": "2",
|
64 |
+
"hungry": "3",
|
65 |
+
"tired": "4"
|
66 |
+
},
|
67 |
+
"layer_norm_eps": 1e-05,
|
68 |
+
"layerdrop": 0.0,
|
69 |
+
"mask_feature_length": 10,
|
70 |
+
"mask_feature_min_masks": 0,
|
71 |
+
"mask_feature_prob": 0.0,
|
72 |
+
"mask_time_length": 10,
|
73 |
+
"mask_time_min_masks": 2,
|
74 |
+
"mask_time_prob": 0.05,
|
75 |
+
"model_type": "hubert",
|
76 |
+
"num_attention_heads": 12,
|
77 |
+
"num_conv_pos_embedding_groups": 16,
|
78 |
+
"num_conv_pos_embeddings": 128,
|
79 |
+
"num_feat_extract_layers": 7,
|
80 |
+
"num_hidden_layers": 2,
|
81 |
+
"pad_token_id": 0,
|
82 |
+
"torch_dtype": "float32",
|
83 |
+
"transformers_version": "4.44.2",
|
84 |
+
"use_weighted_layer_sum": false,
|
85 |
+
"vocab_size": 32
|
86 |
+
}
|
|
|
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:623cd3fd0f4d19a959195cf915d94c0da77d79663678fd23df83132a60f01518
|
3 |
+
size 94766588
|
preprocessor_config.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
-
{
|
2 |
-
"do_normalize": false,
|
3 |
-
"feature_extractor_type": "Wav2Vec2FeatureExtractor",
|
4 |
-
"feature_size": 1,
|
5 |
-
"padding_side": "right",
|
6 |
-
"padding_value": 0,
|
7 |
-
"return_attention_mask": false,
|
8 |
-
"sampling_rate": 16000
|
9 |
-
}
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": false,
|
3 |
+
"feature_extractor_type": "Wav2Vec2FeatureExtractor",
|
4 |
+
"feature_size": 1,
|
5 |
+
"padding_side": "right",
|
6 |
+
"padding_value": 0,
|
7 |
+
"return_attention_mask": false,
|
8 |
+
"sampling_rate": 16000
|
9 |
+
}
|
runs/Aug31_20-07-18_ubumarcos/events.out.tfevents.1725127642.ubumarcos
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9d6fd78425b5cd9473839c917dc3e68647117380a54f7f632ed7d49842a47354
|
3 |
+
size 6736
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5240
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8383020fe31202c2ba3497839d530fb584df34bdc86c1c08bb753bbb11ed8244
|
3 |
size 5240
|