End of training
Browse files- README.md +88 -0
- config.json +39 -0
- model.safetensors +3 -0
- preprocessor_config.json +13 -0
- runs/Nov05_14-46-09_501c447c709e/events.out.tfevents.1699195573.501c447c709e.8788.4 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: bsd-3-clause
|
3 |
+
base_model: MIT/ast-finetuned-audioset-10-10-0.4593
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- Nooon/Donate_a_cry
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: ast-finetuned-cry
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Audio Classification
|
15 |
+
type: audio-classification
|
16 |
+
dataset:
|
17 |
+
name: DonateACry
|
18 |
+
type: Nooon/Donate_a_cry
|
19 |
+
config: train
|
20 |
+
split: train
|
21 |
+
args: train
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.5454545454545454
|
26 |
+
---
|
27 |
+
|
28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
29 |
+
should probably proofread and complete it, then remove this comment. -->
|
30 |
+
|
31 |
+
# ast-finetuned-cry
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [MIT/ast-finetuned-audioset-10-10-0.4593](https://huggingface.co/MIT/ast-finetuned-audioset-10-10-0.4593) on the DonateACry dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 1.6404
|
36 |
+
- Accuracy: 0.5455
|
37 |
+
|
38 |
+
## Model description
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Intended uses & limitations
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training and evaluation data
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training procedure
|
51 |
+
|
52 |
+
### Training hyperparameters
|
53 |
+
|
54 |
+
The following hyperparameters were used during training:
|
55 |
+
- learning_rate: 2e-05
|
56 |
+
- train_batch_size: 4
|
57 |
+
- eval_batch_size: 4
|
58 |
+
- seed: 42
|
59 |
+
- gradient_accumulation_steps: 2
|
60 |
+
- total_train_batch_size: 8
|
61 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
62 |
+
- lr_scheduler_type: linear
|
63 |
+
- lr_scheduler_warmup_ratio: 0.05
|
64 |
+
- num_epochs: 10
|
65 |
+
- mixed_precision_training: Native AMP
|
66 |
+
|
67 |
+
### Training results
|
68 |
+
|
69 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
70 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
71 |
+
| 1.6297 | 1.0 | 11 | 1.6891 | 0.3636 |
|
72 |
+
| 1.1137 | 2.0 | 22 | 1.3156 | 0.4545 |
|
73 |
+
| 0.5047 | 3.0 | 33 | 1.3955 | 0.4545 |
|
74 |
+
| 0.2062 | 4.0 | 44 | 1.4002 | 0.6364 |
|
75 |
+
| 0.0613 | 5.0 | 55 | 1.6693 | 0.5455 |
|
76 |
+
| 0.0142 | 6.0 | 66 | 1.3452 | 0.6364 |
|
77 |
+
| 0.0053 | 7.0 | 77 | 1.6914 | 0.5455 |
|
78 |
+
| 0.0038 | 8.0 | 88 | 1.6689 | 0.5455 |
|
79 |
+
| 0.0027 | 9.0 | 99 | 1.6357 | 0.5455 |
|
80 |
+
| 0.002 | 10.0 | 110 | 1.6404 | 0.5455 |
|
81 |
+
|
82 |
+
|
83 |
+
### Framework versions
|
84 |
+
|
85 |
+
- Transformers 4.35.0
|
86 |
+
- Pytorch 2.1.0+cu118
|
87 |
+
- Datasets 2.14.6
|
88 |
+
- Tokenizers 0.14.1
|
config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "MIT/ast-finetuned-audioset-10-10-0.4593",
|
3 |
+
"architectures": [
|
4 |
+
"ASTForAudioClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"frequency_stride": 10,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.0,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "belly_pain",
|
13 |
+
"1": "burping",
|
14 |
+
"2": "discomfort",
|
15 |
+
"3": "hungry",
|
16 |
+
"4": "tired"
|
17 |
+
},
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 3072,
|
20 |
+
"label2id": {
|
21 |
+
"belly_pain": "0",
|
22 |
+
"burping": "1",
|
23 |
+
"discomfort": "2",
|
24 |
+
"hungry": "3",
|
25 |
+
"tired": "4"
|
26 |
+
},
|
27 |
+
"layer_norm_eps": 1e-12,
|
28 |
+
"max_length": 1024,
|
29 |
+
"model_type": "audio-spectrogram-transformer",
|
30 |
+
"num_attention_heads": 12,
|
31 |
+
"num_hidden_layers": 12,
|
32 |
+
"num_mel_bins": 128,
|
33 |
+
"patch_size": 16,
|
34 |
+
"problem_type": "single_label_classification",
|
35 |
+
"qkv_bias": true,
|
36 |
+
"time_stride": 10,
|
37 |
+
"torch_dtype": "float32",
|
38 |
+
"transformers_version": "4.35.0"
|
39 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:694c8348b9a0185eab098ef493d08afec3bf5f6965d35e0838586b2c727ed61b
|
3 |
+
size 344799268
|
preprocessor_config.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"feature_extractor_type": "ASTFeatureExtractor",
|
4 |
+
"feature_size": 1,
|
5 |
+
"max_length": 1024,
|
6 |
+
"mean": -4.2677393,
|
7 |
+
"num_mel_bins": 128,
|
8 |
+
"padding_side": "right",
|
9 |
+
"padding_value": 0.0,
|
10 |
+
"return_attention_mask": false,
|
11 |
+
"sampling_rate": 16000,
|
12 |
+
"std": 4.5689974
|
13 |
+
}
|
runs/Nov05_14-46-09_501c447c709e/events.out.tfevents.1699195573.501c447c709e.8788.4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3ae534ead2ec976c85ba3e26883eb5fbbacaecd64800a958a68c6f8d953ec67a
|
3 |
+
size 11444
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dae16cca1f39d4277eb2bc1ebb82761c8bf30f8d2f74aeef7043aa79df3b1c7a
|
3 |
+
size 4664
|