End of training
Browse files- README.md +81 -0
- config.json +76 -0
- model.safetensors +3 -0
- preprocessor_config.json +9 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: facebook/hubert-large-ls960-ft
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- wer
|
8 |
+
model-index:
|
9 |
+
- name: hubert_arabic_mdd_50
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# hubert_arabic_mdd_50
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [facebook/hubert-large-ls960-ft](https://huggingface.co/facebook/hubert-large-ls960-ft) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.5409
|
21 |
+
- Wer: 0.0470
|
22 |
+
- Per: 0.0360
|
23 |
+
|
24 |
+
## Model description
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Intended uses & limitations
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training and evaluation data
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training procedure
|
37 |
+
|
38 |
+
### Training hyperparameters
|
39 |
+
|
40 |
+
The following hyperparameters were used during training:
|
41 |
+
- learning_rate: 0.0001
|
42 |
+
- train_batch_size: 2
|
43 |
+
- eval_batch_size: 2
|
44 |
+
- seed: 42
|
45 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
+
- lr_scheduler_type: linear
|
47 |
+
- lr_scheduler_warmup_ratio: 0.1
|
48 |
+
- num_epochs: 20
|
49 |
+
|
50 |
+
### Training results
|
51 |
+
|
52 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer | Per |
|
53 |
+
|:-------------:|:-----:|:-----:|:---------------:|:------:|:------:|
|
54 |
+
| 8.874 | 1.0 | 818 | 2.7367 | 1.0 | 1.0 |
|
55 |
+
| 1.4558 | 2.0 | 1636 | 0.6219 | 0.2525 | 0.2344 |
|
56 |
+
| 0.3775 | 3.0 | 2454 | 0.4014 | 0.0885 | 0.0742 |
|
57 |
+
| 0.2126 | 4.0 | 3272 | 0.4332 | 0.0656 | 0.0500 |
|
58 |
+
| 0.1658 | 5.0 | 4090 | 0.4970 | 0.0608 | 0.0464 |
|
59 |
+
| 0.1308 | 6.0 | 4908 | 0.4520 | 0.0591 | 0.0445 |
|
60 |
+
| 0.1058 | 7.0 | 5726 | 0.4513 | 0.0531 | 0.0407 |
|
61 |
+
| 0.0968 | 8.0 | 6544 | 0.4253 | 0.0548 | 0.0413 |
|
62 |
+
| 0.0871 | 9.0 | 7362 | 0.4232 | 0.0524 | 0.0405 |
|
63 |
+
| 0.0681 | 10.0 | 8180 | 0.4612 | 0.0508 | 0.0392 |
|
64 |
+
| 0.0651 | 11.0 | 8998 | 0.4978 | 0.0516 | 0.0394 |
|
65 |
+
| 0.0587 | 12.0 | 9816 | 0.5069 | 0.0512 | 0.0389 |
|
66 |
+
| 0.046 | 13.0 | 10634 | 0.5170 | 0.0489 | 0.0370 |
|
67 |
+
| 0.0439 | 14.0 | 11452 | 0.5758 | 0.0536 | 0.0417 |
|
68 |
+
| 0.0401 | 15.0 | 12270 | 0.5238 | 0.0500 | 0.0384 |
|
69 |
+
| 0.0346 | 16.0 | 13088 | 0.5668 | 0.0483 | 0.0368 |
|
70 |
+
| 0.0334 | 17.0 | 13906 | 0.5343 | 0.0459 | 0.0350 |
|
71 |
+
| 0.0336 | 18.0 | 14724 | 0.5242 | 0.0466 | 0.0361 |
|
72 |
+
| 0.0266 | 19.0 | 15542 | 0.5379 | 0.0467 | 0.0359 |
|
73 |
+
| 0.0245 | 20.0 | 16360 | 0.5409 | 0.0470 | 0.0360 |
|
74 |
+
|
75 |
+
|
76 |
+
### Framework versions
|
77 |
+
|
78 |
+
- Transformers 4.35.2
|
79 |
+
- Pytorch 2.1.0+cu118
|
80 |
+
- Datasets 2.15.0
|
81 |
+
- Tokenizers 0.15.0
|
config.json
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/hubert-large-ls960-ft",
|
3 |
+
"activation_dropout": 0.1,
|
4 |
+
"apply_spec_augment": true,
|
5 |
+
"architectures": [
|
6 |
+
"HubertForCTC"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.1,
|
9 |
+
"bos_token_id": 1,
|
10 |
+
"classifier_proj_size": 256,
|
11 |
+
"conv_bias": true,
|
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": "mean",
|
40 |
+
"ctc_zero_infinity": false,
|
41 |
+
"diversity_loss_weight": 0.1,
|
42 |
+
"do_stable_layer_norm": true,
|
43 |
+
"eos_token_id": 2,
|
44 |
+
"feat_extract_activation": "gelu",
|
45 |
+
"feat_extract_dropout": 0.0,
|
46 |
+
"feat_extract_norm": "layer",
|
47 |
+
"feat_proj_dropout": 0.1,
|
48 |
+
"feat_proj_layer_norm": true,
|
49 |
+
"final_dropout": 0.1,
|
50 |
+
"gradient_checkpointing": false,
|
51 |
+
"hidden_act": "gelu",
|
52 |
+
"hidden_dropout": 0.1,
|
53 |
+
"hidden_dropout_prob": 0.1,
|
54 |
+
"hidden_size": 1024,
|
55 |
+
"initializer_range": 0.02,
|
56 |
+
"intermediate_size": 4096,
|
57 |
+
"layer_norm_eps": 1e-05,
|
58 |
+
"layerdrop": 0.1,
|
59 |
+
"mask_feature_length": 10,
|
60 |
+
"mask_feature_min_masks": 0,
|
61 |
+
"mask_feature_prob": 0.0,
|
62 |
+
"mask_time_length": 10,
|
63 |
+
"mask_time_min_masks": 2,
|
64 |
+
"mask_time_prob": 0.05,
|
65 |
+
"model_type": "hubert",
|
66 |
+
"num_attention_heads": 16,
|
67 |
+
"num_conv_pos_embedding_groups": 16,
|
68 |
+
"num_conv_pos_embeddings": 128,
|
69 |
+
"num_feat_extract_layers": 7,
|
70 |
+
"num_hidden_layers": 24,
|
71 |
+
"pad_token_id": 37,
|
72 |
+
"torch_dtype": "float32",
|
73 |
+
"transformers_version": "4.35.2",
|
74 |
+
"use_weighted_layer_sum": false,
|
75 |
+
"vocab_size": 40
|
76 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4ee6f6ca88287e33f3f2b75c8fb334268df49b2e3f074e94c75735776318bb82
|
3 |
+
size 1261970648
|
preprocessor_config.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"feature_extractor_type": "Wav2Vec2FeatureExtractor",
|
4 |
+
"feature_size": 1,
|
5 |
+
"padding_side": "right",
|
6 |
+
"padding_value": 0,
|
7 |
+
"return_attention_mask": true,
|
8 |
+
"sampling_rate": 16000
|
9 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6d91c25b3b0ec9c42082321bffc4b40992113b6bf73eee494b8d40d60f5637a3
|
3 |
+
size 4600
|