Marcos12886 commited on
Commit
040a606
1 Parent(s): 6e09d56

End of training

Browse files
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-cry-detector
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-cry-detector
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.0001
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.001
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.9825 | 14 | 0.3061 | 0.9515 | 0.9513 | 0.9514 | 0.9515 |
54
-
55
-
56
- ### Framework versions
57
-
58
- - Transformers 4.44.2
59
- - Pytorch 2.4.0+cu118
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-cry-detector
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-cry-detector
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.0001
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.001
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.9362 | 11 | 0.3641 | 0.9733 | 0.9732 | 0.9733 | 0.9733 |
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,80 +1,80 @@
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": "crying",
53
- "1": "no_crying"
54
- },
55
- "initializer_range": 0.02,
56
- "intermediate_size": 3072,
57
- "label2id": {
58
- "crying": "0",
59
- "no_crying": "1"
60
- },
61
- "layer_norm_eps": 1e-05,
62
- "layerdrop": 0.0,
63
- "mask_feature_length": 10,
64
- "mask_feature_min_masks": 0,
65
- "mask_feature_prob": 0.0,
66
- "mask_time_length": 10,
67
- "mask_time_min_masks": 2,
68
- "mask_time_prob": 0.05,
69
- "model_type": "hubert",
70
- "num_attention_heads": 12,
71
- "num_conv_pos_embedding_groups": 16,
72
- "num_conv_pos_embeddings": 128,
73
- "num_feat_extract_layers": 7,
74
- "num_hidden_layers": 2,
75
- "pad_token_id": 0,
76
- "torch_dtype": "float32",
77
- "transformers_version": "4.44.2",
78
- "use_weighted_layer_sum": false,
79
- "vocab_size": 32
80
- }
 
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": "crying",
53
+ "1": "no_crying"
54
+ },
55
+ "initializer_range": 0.02,
56
+ "intermediate_size": 3072,
57
+ "label2id": {
58
+ "crying": "0",
59
+ "no_crying": "1"
60
+ },
61
+ "layer_norm_eps": 1e-05,
62
+ "layerdrop": 0.0,
63
+ "mask_feature_length": 10,
64
+ "mask_feature_min_masks": 0,
65
+ "mask_feature_prob": 0.0,
66
+ "mask_time_length": 10,
67
+ "mask_time_min_masks": 2,
68
+ "mask_time_prob": 0.05,
69
+ "model_type": "hubert",
70
+ "num_attention_heads": 12,
71
+ "num_conv_pos_embedding_groups": 16,
72
+ "num_conv_pos_embeddings": 128,
73
+ "num_feat_extract_layers": 7,
74
+ "num_hidden_layers": 2,
75
+ "pad_token_id": 0,
76
+ "torch_dtype": "float32",
77
+ "transformers_version": "4.44.2",
78
+ "use_weighted_layer_sum": false,
79
+ "vocab_size": 32
80
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99daa3b3cc63ca202701c260285637e1e1de8f29d780311fe704ba18b13254f8
3
+ size 94763496
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_19-04-24_ubumarcos/events.out.tfevents.1725123867.ubumarcos ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61d183a2cbd42b2ca65a5a5e80d1699274baf6b62c0cd931a53bdbc81a61e61a
3
+ size 6620
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:844c265c563b163b1c63cfc96e731e7d9d617af8487918d3367bfaa60fcca864
3
  size 5240
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:963cfd29f258d8505d744ce9ea3a077d675ed7796c983acc8195a03887b57d03
3
  size 5240