Marcos12886
commited on
Commit
•
c081e29
1
Parent(s):
f0507b2
End of training
Browse files- README.md +5 -27
- config.json +18 -4
- model.safetensors +2 -2
- runs/Aug10_12-17-23_DesMar/events.out.tfevents.1723285043.DesMar.10368.0 +3 -0
- training_args.bin +1 -1
README.md
CHANGED
@@ -5,24 +5,9 @@ tags:
|
|
5 |
- generated_from_trainer
|
6 |
datasets:
|
7 |
- audiofolder
|
8 |
-
metrics:
|
9 |
-
- accuracy
|
10 |
model-index:
|
11 |
- name: distilhubert-finetuned-cry-detector
|
12 |
-
results:
|
13 |
-
- task:
|
14 |
-
name: Audio Classification
|
15 |
-
type: audio-classification
|
16 |
-
dataset:
|
17 |
-
name: audiofolder
|
18 |
-
type: audiofolder
|
19 |
-
config: default
|
20 |
-
split: train
|
21 |
-
args: default
|
22 |
-
metrics:
|
23 |
-
- name: Accuracy
|
24 |
-
type: accuracy
|
25 |
-
value: 0.96045197740113
|
26 |
---
|
27 |
|
28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -31,9 +16,6 @@ should probably proofread and complete it, then remove this comment. -->
|
|
31 |
# distilhubert-finetuned-cry-detector
|
32 |
|
33 |
This model is a fine-tuned version of [ntu-spml/distilhubert](https://huggingface.co/ntu-spml/distilhubert) on the audiofolder dataset.
|
34 |
-
It achieves the following results on the evaluation set:
|
35 |
-
- Loss: 0.0929
|
36 |
-
- Accuracy: 0.9605
|
37 |
|
38 |
## Model description
|
39 |
|
@@ -60,17 +42,13 @@ The following hyperparameters were used during training:
|
|
60 |
- total_train_batch_size: 64
|
61 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
62 |
- lr_scheduler_type: cosine
|
63 |
-
- num_epochs:
|
64 |
|
65 |
### Training results
|
66 |
|
67 |
-
| Training Loss | Epoch
|
68 |
-
|
69 |
-
| No log |
|
70 |
-
| No log | 2.0 | 22 | 0.1730 | 0.9379 |
|
71 |
-
| No log | 3.0 | 33 | 0.1143 | 0.9492 |
|
72 |
-
| No log | 4.0 | 44 | 0.0885 | 0.9661 |
|
73 |
-
| No log | 5.0 | 55 | 0.0929 | 0.9605 |
|
74 |
|
75 |
|
76 |
### Framework versions
|
|
|
5 |
- generated_from_trainer
|
6 |
datasets:
|
7 |
- audiofolder
|
|
|
|
|
8 |
model-index:
|
9 |
- name: distilhubert-finetuned-cry-detector
|
10 |
+
results: []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
---
|
12 |
|
13 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
16 |
# distilhubert-finetuned-cry-detector
|
17 |
|
18 |
This model is a fine-tuned version of [ntu-spml/distilhubert](https://huggingface.co/ntu-spml/distilhubert) on the audiofolder dataset.
|
|
|
|
|
|
|
19 |
|
20 |
## Model description
|
21 |
|
|
|
42 |
- total_train_batch_size: 64
|
43 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
- lr_scheduler_type: cosine
|
45 |
+
- num_epochs: 1
|
46 |
|
47 |
### Training results
|
48 |
|
49 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
50 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|
|
51 |
+
| No log | 0.9888 | 11 | 1.6653 | 0.5618 |
|
|
|
|
|
|
|
|
|
52 |
|
53 |
|
54 |
### Framework versions
|
config.json
CHANGED
@@ -49,14 +49,28 @@
|
|
49 |
"hidden_dropout": 0.1,
|
50 |
"hidden_size": 768,
|
51 |
"id2label": {
|
52 |
-
"0": "
|
53 |
-
"1": "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
},
|
55 |
"initializer_range": 0.02,
|
56 |
"intermediate_size": 3072,
|
57 |
"label2id": {
|
58 |
-
"
|
59 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
},
|
61 |
"layer_norm_eps": 1e-05,
|
62 |
"layerdrop": 0.0,
|
|
|
49 |
"hidden_dropout": 0.1,
|
50 |
"hidden_size": 768,
|
51 |
"id2label": {
|
52 |
+
"0": "Baby laugh",
|
53 |
+
"1": "Crying baby",
|
54 |
+
"2": "Noise",
|
55 |
+
"3": "Silence",
|
56 |
+
"4": "belly_pain",
|
57 |
+
"5": "burping",
|
58 |
+
"6": "discomfort",
|
59 |
+
"7": "hungry",
|
60 |
+
"8": "tired"
|
61 |
},
|
62 |
"initializer_range": 0.02,
|
63 |
"intermediate_size": 3072,
|
64 |
"label2id": {
|
65 |
+
"Baby laugh": "0",
|
66 |
+
"Crying baby": "1",
|
67 |
+
"Noise": "2",
|
68 |
+
"Silence": "3",
|
69 |
+
"belly_pain": "4",
|
70 |
+
"burping": "5",
|
71 |
+
"discomfort": "6",
|
72 |
+
"hungry": "7",
|
73 |
+
"tired": "8"
|
74 |
},
|
75 |
"layer_norm_eps": 1e-05,
|
76 |
"layerdrop": 0.0,
|
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:a6dc443151bc3936c0cb6505b975ea603699e77e935da1737f94c59ca6d64d4e
|
3 |
+
size 94770700
|
runs/Aug10_12-17-23_DesMar/events.out.tfevents.1723285043.DesMar.10368.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:34b17b2c452fb24dad2042bb74302bbc3a067acbdde171a478be6e66767ec417
|
3 |
+
size 6815
|
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:4468913a54607d84c72fafabe7391af1c7f691e60714fdb175672b4746b698c9
|
3 |
size 5240
|