End of training
Browse files- README.md +79 -0
- config.json +81 -0
- model.safetensors +3 -0
- preprocessor_config.json +10 -0
- runs/Jan11_12-15-09_53564bde2ef3/events.out.tfevents.1704975348.53564bde2ef3.3381.0 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: ylacombe/w2v-bert-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- common_voice_16_0
|
7 |
+
metrics:
|
8 |
+
- wer
|
9 |
+
model-index:
|
10 |
+
- name: w2v-bert-2.0-mongolian-colab-CV16.0
|
11 |
+
results:
|
12 |
+
- task:
|
13 |
+
name: Automatic Speech Recognition
|
14 |
+
type: automatic-speech-recognition
|
15 |
+
dataset:
|
16 |
+
name: common_voice_16_0
|
17 |
+
type: common_voice_16_0
|
18 |
+
config: mn
|
19 |
+
split: test
|
20 |
+
args: mn
|
21 |
+
metrics:
|
22 |
+
- name: Wer
|
23 |
+
type: wer
|
24 |
+
value: 0.6335163938883149
|
25 |
+
---
|
26 |
+
|
27 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
28 |
+
should probably proofread and complete it, then remove this comment. -->
|
29 |
+
|
30 |
+
# w2v-bert-2.0-mongolian-colab-CV16.0
|
31 |
+
|
32 |
+
This model is a fine-tuned version of [ylacombe/w2v-bert-2.0](https://huggingface.co/ylacombe/w2v-bert-2.0) on the common_voice_16_0 dataset.
|
33 |
+
It achieves the following results on the evaluation set:
|
34 |
+
- Loss: 0.8518
|
35 |
+
- Wer: 0.6335
|
36 |
+
|
37 |
+
## Model description
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Intended uses & limitations
|
42 |
+
|
43 |
+
More information needed
|
44 |
+
|
45 |
+
## Training and evaluation data
|
46 |
+
|
47 |
+
More information needed
|
48 |
+
|
49 |
+
## Training procedure
|
50 |
+
|
51 |
+
### Training hyperparameters
|
52 |
+
|
53 |
+
The following hyperparameters were used during training:
|
54 |
+
- learning_rate: 5e-05
|
55 |
+
- train_batch_size: 16
|
56 |
+
- eval_batch_size: 8
|
57 |
+
- seed: 42
|
58 |
+
- gradient_accumulation_steps: 2
|
59 |
+
- total_train_batch_size: 32
|
60 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
61 |
+
- lr_scheduler_type: linear
|
62 |
+
- lr_scheduler_warmup_steps: 500
|
63 |
+
- num_epochs: 3
|
64 |
+
- mixed_precision_training: Native AMP
|
65 |
+
|
66 |
+
### Training results
|
67 |
+
|
68 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer |
|
69 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|
|
70 |
+
| 4.0945 | 1.44 | 100 | 2.8435 | 0.9982 |
|
71 |
+
| 1.146 | 2.88 | 200 | 0.8518 | 0.6335 |
|
72 |
+
|
73 |
+
|
74 |
+
### Framework versions
|
75 |
+
|
76 |
+
- Transformers 4.37.0.dev0
|
77 |
+
- Pytorch 2.1.0+cu121
|
78 |
+
- Datasets 2.16.1
|
79 |
+
- Tokenizers 0.15.0
|
config.json
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "ylacombe/w2v-bert-2.0",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"adapter_kernel_size": 3,
|
5 |
+
"adapter_stride": 2,
|
6 |
+
"add_adapter": true,
|
7 |
+
"apply_spec_augment": false,
|
8 |
+
"architectures": [
|
9 |
+
"Wav2Vec2BERTForCTC"
|
10 |
+
],
|
11 |
+
"attention_dropout": 0.0,
|
12 |
+
"bos_token_id": 1,
|
13 |
+
"classifier_proj_size": 768,
|
14 |
+
"codevector_dim": 768,
|
15 |
+
"conformer_conv_dropout": 0.1,
|
16 |
+
"contrastive_logits_temperature": 0.1,
|
17 |
+
"conv_depthwise_kernel_size": 31,
|
18 |
+
"ctc_loss_reduction": "mean",
|
19 |
+
"ctc_zero_infinity": false,
|
20 |
+
"diversity_loss_weight": 0.1,
|
21 |
+
"eos_token_id": 2,
|
22 |
+
"feat_proj_dropout": 0.0,
|
23 |
+
"feat_quantizer_dropout": 0.0,
|
24 |
+
"feature_projection_input_dim": 160,
|
25 |
+
"final_dropout": 0.1,
|
26 |
+
"hidden_act": "swish",
|
27 |
+
"hidden_dropout": 0.0,
|
28 |
+
"hidden_size": 1024,
|
29 |
+
"initializer_range": 0.02,
|
30 |
+
"intermediate_size": 4096,
|
31 |
+
"layer_norm_eps": 1e-05,
|
32 |
+
"layerdrop": 0.0,
|
33 |
+
"left_max_position_embeddings": 64,
|
34 |
+
"mask_feature_length": 10,
|
35 |
+
"mask_feature_min_masks": 0,
|
36 |
+
"mask_feature_prob": 0.0,
|
37 |
+
"mask_time_length": 10,
|
38 |
+
"mask_time_min_masks": 2,
|
39 |
+
"mask_time_prob": 0.0,
|
40 |
+
"max_source_positions": 5000,
|
41 |
+
"model_type": "wav2vec2-bert",
|
42 |
+
"num_adapter_layers": 1,
|
43 |
+
"num_attention_heads": 16,
|
44 |
+
"num_codevector_groups": 2,
|
45 |
+
"num_codevectors_per_group": 320,
|
46 |
+
"num_hidden_layers": 24,
|
47 |
+
"num_negatives": 100,
|
48 |
+
"output_hidden_size": 1024,
|
49 |
+
"pad_token_id": 52,
|
50 |
+
"position_embeddings_type": "relative_key",
|
51 |
+
"proj_codevector_dim": 768,
|
52 |
+
"right_max_position_embeddings": 8,
|
53 |
+
"rotary_embedding_base": 10000,
|
54 |
+
"tdnn_dilation": [
|
55 |
+
1,
|
56 |
+
2,
|
57 |
+
3,
|
58 |
+
1,
|
59 |
+
1
|
60 |
+
],
|
61 |
+
"tdnn_dim": [
|
62 |
+
512,
|
63 |
+
512,
|
64 |
+
512,
|
65 |
+
512,
|
66 |
+
1500
|
67 |
+
],
|
68 |
+
"tdnn_kernel": [
|
69 |
+
5,
|
70 |
+
3,
|
71 |
+
3,
|
72 |
+
1,
|
73 |
+
1
|
74 |
+
],
|
75 |
+
"torch_dtype": "float32",
|
76 |
+
"transformers_version": "4.37.0.dev0",
|
77 |
+
"use_intermediate_ffn_before_adapter": false,
|
78 |
+
"use_weighted_layer_sum": false,
|
79 |
+
"vocab_size": 55,
|
80 |
+
"xvector_output_dim": 512
|
81 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:abbc56fb7e19b1f1f67bd4376e4b7408606cb440beff773428e5a8e699eb6783
|
3 |
+
size 2423040060
|
preprocessor_config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"feature_extractor_type": "SeamlessM4TFeatureExtractor",
|
3 |
+
"feature_size": 80,
|
4 |
+
"num_mel_bins": 80,
|
5 |
+
"padding_side": "right",
|
6 |
+
"padding_value": 0.0,
|
7 |
+
"return_attention_mask": true,
|
8 |
+
"sampling_rate": 16000,
|
9 |
+
"stride": 2
|
10 |
+
}
|
runs/Jan11_12-15-09_53564bde2ef3/events.out.tfevents.1704975348.53564bde2ef3.3381.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:786254d29fa8581cc10f1bc58eae629c9614cfe86214c414df309afb5a88140c
|
3 |
+
size 6944
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c5539e1e977400c89d0e4f954af0273078cd6a6d8de6591282192abc05193c4f
|
3 |
+
size 4728
|