End of training
Browse files- README.md +90 -0
- config.json +88 -0
- model.safetensors +3 -0
- runs/Jun10_08-17-05_238d727e1444/events.out.tfevents.1718007425.238d727e1444.220.0 +3 -0
- runs/Jun10_09-12-11_238d727e1444/events.out.tfevents.1718010751.238d727e1444.16480.0 +3 -0
- runs/Jun10_09-52-48_238d727e1444/events.out.tfevents.1718013176.238d727e1444.26594.0 +3 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: facebook/hubert-base-ls960
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
datasets:
|
| 7 |
+
- shemo
|
| 8 |
+
metrics:
|
| 9 |
+
- f1
|
| 10 |
+
model-index:
|
| 11 |
+
- name: results
|
| 12 |
+
results:
|
| 13 |
+
- task:
|
| 14 |
+
name: Audio Classification
|
| 15 |
+
type: audio-classification
|
| 16 |
+
dataset:
|
| 17 |
+
name: shemo
|
| 18 |
+
type: shemo
|
| 19 |
+
config: clean
|
| 20 |
+
split: None
|
| 21 |
+
args: clean
|
| 22 |
+
metrics:
|
| 23 |
+
- name: F1
|
| 24 |
+
type: f1
|
| 25 |
+
value: 0.8335174497965196
|
| 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 |
+
# results
|
| 32 |
+
|
| 33 |
+
This model is a fine-tuned version of [facebook/hubert-base-ls960](https://huggingface.co/facebook/hubert-base-ls960) on the shemo dataset.
|
| 34 |
+
It achieves the following results on the evaluation set:
|
| 35 |
+
- Loss: 0.6161
|
| 36 |
+
- F1: 0.8335
|
| 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: 5e-05
|
| 56 |
+
- train_batch_size: 8
|
| 57 |
+
- eval_batch_size: 8
|
| 58 |
+
- seed: 42
|
| 59 |
+
- gradient_accumulation_steps: 2
|
| 60 |
+
- total_train_batch_size: 16
|
| 61 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 62 |
+
- lr_scheduler_type: linear
|
| 63 |
+
- lr_scheduler_warmup_steps: 500
|
| 64 |
+
- num_epochs: 25
|
| 65 |
+
- mixed_precision_training: Native AMP
|
| 66 |
+
|
| 67 |
+
### Training results
|
| 68 |
+
|
| 69 |
+
| Training Loss | Epoch | Step | Validation Loss | F1 |
|
| 70 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|
|
| 71 |
+
| 1.1127 | 1.0 | 154 | 0.9244 | 0.3968 |
|
| 72 |
+
| 0.6982 | 2.0 | 308 | 0.5642 | 0.6435 |
|
| 73 |
+
| 0.6246 | 3.0 | 462 | 0.5049 | 0.6273 |
|
| 74 |
+
| 0.5097 | 4.0 | 616 | 0.4282 | 0.7246 |
|
| 75 |
+
| 0.4496 | 5.0 | 770 | 0.3280 | 0.8158 |
|
| 76 |
+
| 0.4476 | 6.0 | 924 | 0.4663 | 0.7978 |
|
| 77 |
+
| 0.2212 | 7.0 | 1078 | 0.3253 | 0.8641 |
|
| 78 |
+
| 0.1548 | 8.0 | 1232 | 0.9445 | 0.7420 |
|
| 79 |
+
| 0.3829 | 9.0 | 1386 | 0.7194 | 0.7880 |
|
| 80 |
+
| 0.0773 | 10.0 | 1540 | 0.5301 | 0.8657 |
|
| 81 |
+
| 0.2481 | 11.0 | 1694 | 0.5321 | 0.8812 |
|
| 82 |
+
| 0.0597 | 12.0 | 1848 | 0.6161 | 0.8335 |
|
| 83 |
+
|
| 84 |
+
|
| 85 |
+
### Framework versions
|
| 86 |
+
|
| 87 |
+
- Transformers 4.41.2
|
| 88 |
+
- Pytorch 2.3.0+cu121
|
| 89 |
+
- Datasets 2.19.2
|
| 90 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "facebook/hubert-base-ls960",
|
| 3 |
+
"activation_dropout": 0.1,
|
| 4 |
+
"apply_spec_augment": true,
|
| 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_dropout": 0.0,
|
| 45 |
+
"feat_extract_norm": "group",
|
| 46 |
+
"feat_proj_dropout": 0.1,
|
| 47 |
+
"feat_proj_layer_norm": true,
|
| 48 |
+
"final_dropout": 0.1,
|
| 49 |
+
"gradient_checkpointing": false,
|
| 50 |
+
"hidden_act": "gelu",
|
| 51 |
+
"hidden_dropout": 0.1,
|
| 52 |
+
"hidden_dropout_prob": 0.1,
|
| 53 |
+
"hidden_size": 768,
|
| 54 |
+
"id2label": {
|
| 55 |
+
"0": "LABEL_0",
|
| 56 |
+
"1": "LABEL_1",
|
| 57 |
+
"2": "LABEL_2",
|
| 58 |
+
"3": "LABEL_3"
|
| 59 |
+
},
|
| 60 |
+
"initializer_range": 0.02,
|
| 61 |
+
"intermediate_size": 3072,
|
| 62 |
+
"label2id": {
|
| 63 |
+
"LABEL_0": 0,
|
| 64 |
+
"LABEL_1": 1,
|
| 65 |
+
"LABEL_2": 2,
|
| 66 |
+
"LABEL_3": 3
|
| 67 |
+
},
|
| 68 |
+
"layer_norm_eps": 1e-05,
|
| 69 |
+
"layerdrop": 0.1,
|
| 70 |
+
"mask_feature_length": 10,
|
| 71 |
+
"mask_feature_min_masks": 0,
|
| 72 |
+
"mask_feature_prob": 0.0,
|
| 73 |
+
"mask_time_length": 10,
|
| 74 |
+
"mask_time_min_masks": 2,
|
| 75 |
+
"mask_time_prob": 0.05,
|
| 76 |
+
"model_type": "hubert",
|
| 77 |
+
"num_attention_heads": 12,
|
| 78 |
+
"num_conv_pos_embedding_groups": 16,
|
| 79 |
+
"num_conv_pos_embeddings": 128,
|
| 80 |
+
"num_feat_extract_layers": 7,
|
| 81 |
+
"num_hidden_layers": 12,
|
| 82 |
+
"pad_token_id": 0,
|
| 83 |
+
"tokenizer_class": "Wav2Vec2CTCTokenizer",
|
| 84 |
+
"torch_dtype": "float32",
|
| 85 |
+
"transformers_version": "4.41.2",
|
| 86 |
+
"use_weighted_layer_sum": false,
|
| 87 |
+
"vocab_size": 32
|
| 88 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9da352b7c442265112d198c58a67b6598b56909fa671fa1c5b6af295e2feb1ea
|
| 3 |
+
size 378304000
|
runs/Jun10_08-17-05_238d727e1444/events.out.tfevents.1718007425.238d727e1444.220.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c598560319804aaa4aae0bed78867c51db18cbb0b2f39a7d85c3628a5c99625f
|
| 3 |
+
size 56454
|
runs/Jun10_09-12-11_238d727e1444/events.out.tfevents.1718010751.238d727e1444.16480.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:937e2a7f1f9bd52bcadfc00d472e85cc82497660888b3139e698661306ba8e33
|
| 3 |
+
size 39899
|
runs/Jun10_09-52-48_238d727e1444/events.out.tfevents.1718013176.238d727e1444.26594.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:34e47f27c073ca95bbc82014765b4b702c15e5e72760b998bca06210c6e2d787
|
| 3 |
+
size 48800
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3010b2f261505a6c8b31bd49d040ae3a03ddbf88942a3afd35b62b72d7eea0a6
|
| 3 |
+
size 5112
|