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_5
|
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_5
|
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.6845
|
21 |
+
- Wer: 0.1910
|
22 |
+
- Per: 0.1682
|
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 |
+
| 21.0868 | 1.0 | 82 | 3.5829 | 1.0 | 1.0 |
|
55 |
+
| 3.5419 | 2.0 | 164 | 3.3544 | 1.0 | 1.0 |
|
56 |
+
| 3.3109 | 3.0 | 246 | 3.1878 | 1.0 | 1.0 |
|
57 |
+
| 3.2117 | 4.0 | 328 | 3.1324 | 1.0 | 1.0 |
|
58 |
+
| 3.0509 | 5.0 | 410 | 2.9238 | 1.0 | 1.0 |
|
59 |
+
| 2.7904 | 6.0 | 492 | 2.4830 | 1.0 | 1.0 |
|
60 |
+
| 2.2728 | 7.0 | 574 | 2.0478 | 0.8358 | 0.8474 |
|
61 |
+
| 1.8365 | 8.0 | 656 | 1.6043 | 0.7094 | 0.7206 |
|
62 |
+
| 1.4603 | 9.0 | 738 | 1.2872 | 0.6193 | 0.6247 |
|
63 |
+
| 1.2203 | 10.0 | 820 | 1.2694 | 0.4343 | 0.4229 |
|
64 |
+
| 0.9726 | 11.0 | 902 | 0.9350 | 0.4191 | 0.4116 |
|
65 |
+
| 0.8458 | 12.0 | 984 | 0.8471 | 0.3734 | 0.3640 |
|
66 |
+
| 0.7365 | 13.0 | 1066 | 0.8078 | 0.3530 | 0.3439 |
|
67 |
+
| 0.6204 | 14.0 | 1148 | 0.7618 | 0.3031 | 0.2874 |
|
68 |
+
| 0.5913 | 15.0 | 1230 | 0.7372 | 0.2598 | 0.2382 |
|
69 |
+
| 0.5217 | 16.0 | 1312 | 0.7219 | 0.2354 | 0.2149 |
|
70 |
+
| 0.4866 | 17.0 | 1394 | 0.7125 | 0.2071 | 0.1836 |
|
71 |
+
| 0.4735 | 18.0 | 1476 | 0.7071 | 0.1967 | 0.1742 |
|
72 |
+
| 0.462 | 19.0 | 1558 | 0.6910 | 0.1910 | 0.1677 |
|
73 |
+
| 0.458 | 20.0 | 1640 | 0.6845 | 0.1910 | 0.1682 |
|
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:b9bf0e6e073ce71a6a88d2de22cfbc9add9581952532111683dc54ed9dc0a027
|
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:88aec16323b2d947c8f366d29c7198f7392a2dbe240dfd05fa2cd09c3ce61b55
|
3 |
+
size 4600
|