Marcos12886
commited on
Commit
•
6b0a16e
1
Parent(s):
0b53c35
End of training
Browse files- README.md +27 -11
- model.safetensors +1 -1
- training_args.bin +1 -1
README.md
CHANGED
@@ -8,6 +8,9 @@ datasets:
|
|
8 |
- audiofolder
|
9 |
metrics:
|
10 |
- accuracy
|
|
|
|
|
|
|
11 |
model-index:
|
12 |
- name: distilhubert-finetuned-cry-detector
|
13 |
results:
|
@@ -23,7 +26,16 @@ model-index:
|
|
23 |
metrics:
|
24 |
- name: Accuracy
|
25 |
type: accuracy
|
26 |
-
value: 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
---
|
28 |
|
29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -33,8 +45,11 @@ should probably proofread and complete it, then remove this comment. -->
|
|
33 |
|
34 |
This model is a fine-tuned version of [ntu-spml/distilhubert](https://huggingface.co/ntu-spml/distilhubert) on the audiofolder dataset.
|
35 |
It achieves the following results on the evaluation set:
|
36 |
-
- Loss: 0.
|
37 |
-
- Accuracy: 0.
|
|
|
|
|
|
|
38 |
|
39 |
## Model description
|
40 |
|
@@ -56,22 +71,23 @@ The following hyperparameters were used during training:
|
|
56 |
- learning_rate: 0.0001
|
57 |
- train_batch_size: 8
|
58 |
- eval_batch_size: 8
|
59 |
-
- seed:
|
60 |
- gradient_accumulation_steps: 8
|
61 |
- total_train_batch_size: 64
|
62 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
63 |
- lr_scheduler_type: cosine
|
|
|
64 |
- num_epochs: 5
|
65 |
|
66 |
### Training results
|
67 |
|
68 |
-
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
69 |
-
|
70 |
-
| No log | 0.9825 | 14 | 0.
|
71 |
-
| No log | 1.9649 | 28 | 0.
|
72 |
-
| No log | 2.9474 | 42 | 0.
|
73 |
-
| No log | 4.0 | 57 | 0.
|
74 |
-
| No log | 4.9123 | 70 | 0.
|
75 |
|
76 |
|
77 |
### Framework versions
|
|
|
8 |
- audiofolder
|
9 |
metrics:
|
10 |
- accuracy
|
11 |
+
- f1
|
12 |
+
- precision
|
13 |
+
- recall
|
14 |
model-index:
|
15 |
- name: distilhubert-finetuned-cry-detector
|
16 |
results:
|
|
|
26 |
metrics:
|
27 |
- name: Accuracy
|
28 |
type: accuracy
|
29 |
+
value: 0.9691629955947136
|
30 |
+
- name: F1
|
31 |
+
type: f1
|
32 |
+
value: 0.9692159230090303
|
33 |
+
- name: Precision
|
34 |
+
type: precision
|
35 |
+
value: 0.969310997758714
|
36 |
+
- name: Recall
|
37 |
+
type: recall
|
38 |
+
value: 0.9691629955947136
|
39 |
---
|
40 |
|
41 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
45 |
|
46 |
This model is a fine-tuned version of [ntu-spml/distilhubert](https://huggingface.co/ntu-spml/distilhubert) on the audiofolder dataset.
|
47 |
It achieves the following results on the evaluation set:
|
48 |
+
- Loss: 0.0944
|
49 |
+
- Accuracy: 0.9692
|
50 |
+
- F1: 0.9692
|
51 |
+
- Precision: 0.9693
|
52 |
+
- Recall: 0.9692
|
53 |
|
54 |
## Model description
|
55 |
|
|
|
71 |
- learning_rate: 0.0001
|
72 |
- train_batch_size: 8
|
73 |
- eval_batch_size: 8
|
74 |
+
- seed: 42
|
75 |
- gradient_accumulation_steps: 8
|
76 |
- total_train_batch_size: 64
|
77 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
78 |
- lr_scheduler_type: cosine
|
79 |
+
- lr_scheduler_warmup_ratio: 0.01
|
80 |
- num_epochs: 5
|
81 |
|
82 |
### Training results
|
83 |
|
84 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
85 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
|
86 |
+
| No log | 0.9825 | 14 | 0.1775 | 0.9427 | 0.9434 | 0.9459 | 0.9427 |
|
87 |
+
| No log | 1.9649 | 28 | 0.1464 | 0.9515 | 0.9519 | 0.9533 | 0.9515 |
|
88 |
+
| No log | 2.9474 | 42 | 0.1139 | 0.9559 | 0.9556 | 0.9560 | 0.9559 |
|
89 |
+
| No log | 4.0 | 57 | 0.1042 | 0.9648 | 0.9649 | 0.9652 | 0.9648 |
|
90 |
+
| No log | 4.9123 | 70 | 0.0944 | 0.9692 | 0.9692 | 0.9693 | 0.9692 |
|
91 |
|
92 |
|
93 |
### Framework versions
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 94763496
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8ec8c96078435e2d6387b9c637a56592918ae756da25cd14314c7a53bf1ddc60
|
3 |
size 94763496
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5176
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5463051aa2696944e9d7acb1e707fc85f73738131d3b3e03a71ab783a7ee5bf9
|
3 |
size 5176
|