End of training
Browse files- README.md +76 -0
- config.json +82 -0
- logs/events.out.tfevents.1706559267.ateam-ws1.199299.2 +3 -0
- model.safetensors +3 -0
- preprocessor_config.json +11 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
base_model: facebook/w2v-bert-2.0
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
metrics:
|
| 7 |
+
- wer
|
| 8 |
+
model-index:
|
| 9 |
+
- name: w2v2_bert_ru
|
| 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 |
+
# w2v2_bert_ru
|
| 17 |
+
|
| 18 |
+
This model is a fine-tuned version of [facebook/w2v-bert-2.0](https://huggingface.co/facebook/w2v-bert-2.0) on the None dataset.
|
| 19 |
+
It achieves the following results on the evaluation set:
|
| 20 |
+
- Loss: inf
|
| 21 |
+
- Wer: 0.0538
|
| 22 |
+
|
| 23 |
+
## Model description
|
| 24 |
+
|
| 25 |
+
More information needed
|
| 26 |
+
|
| 27 |
+
## Intended uses & limitations
|
| 28 |
+
|
| 29 |
+
More information needed
|
| 30 |
+
|
| 31 |
+
## Training and evaluation data
|
| 32 |
+
|
| 33 |
+
More information needed
|
| 34 |
+
|
| 35 |
+
## Training procedure
|
| 36 |
+
|
| 37 |
+
### Training hyperparameters
|
| 38 |
+
|
| 39 |
+
The following hyperparameters were used during training:
|
| 40 |
+
- learning_rate: 5e-05
|
| 41 |
+
- train_batch_size: 32
|
| 42 |
+
- eval_batch_size: 8
|
| 43 |
+
- seed: 42
|
| 44 |
+
- gradient_accumulation_steps: 2
|
| 45 |
+
- total_train_batch_size: 64
|
| 46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 47 |
+
- lr_scheduler_type: linear
|
| 48 |
+
- lr_scheduler_warmup_steps: 50
|
| 49 |
+
- num_epochs: 10
|
| 50 |
+
- mixed_precision_training: Native AMP
|
| 51 |
+
|
| 52 |
+
### Training results
|
| 53 |
+
|
| 54 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer |
|
| 55 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|
|
| 56 |
+
| 0.711 | 0.73 | 300 | inf | 0.1267 |
|
| 57 |
+
| 0.1026 | 1.46 | 600 | inf | 0.0925 |
|
| 58 |
+
| 0.0748 | 2.18 | 900 | inf | 0.0732 |
|
| 59 |
+
| 0.0591 | 2.91 | 1200 | inf | 0.0710 |
|
| 60 |
+
| 0.0437 | 3.64 | 1500 | inf | 0.0675 |
|
| 61 |
+
| 0.0382 | 4.37 | 1800 | inf | 0.0675 |
|
| 62 |
+
| 0.0302 | 5.1 | 2100 | inf | 0.0620 |
|
| 63 |
+
| 0.0243 | 5.83 | 2400 | inf | 0.0590 |
|
| 64 |
+
| 0.0219 | 6.55 | 2700 | inf | 0.0584 |
|
| 65 |
+
| 0.0173 | 7.28 | 3000 | inf | 0.0577 |
|
| 66 |
+
| 0.015 | 8.01 | 3300 | inf | 0.0560 |
|
| 67 |
+
| 0.0115 | 8.74 | 3600 | inf | 0.0551 |
|
| 68 |
+
| 0.0099 | 9.47 | 3900 | inf | 0.0538 |
|
| 69 |
+
|
| 70 |
+
|
| 71 |
+
### Framework versions
|
| 72 |
+
|
| 73 |
+
- Transformers 4.38.0.dev0
|
| 74 |
+
- Pytorch 2.1.2+cu121
|
| 75 |
+
- Datasets 2.16.1
|
| 76 |
+
- Tokenizers 0.15.1
|
config.json
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "facebook/w2v-bert-2.0",
|
| 3 |
+
"activation_dropout": 0.0,
|
| 4 |
+
"adapter_act": "relu",
|
| 5 |
+
"adapter_kernel_size": 3,
|
| 6 |
+
"adapter_stride": 2,
|
| 7 |
+
"add_adapter": true,
|
| 8 |
+
"apply_spec_augment": false,
|
| 9 |
+
"architectures": [
|
| 10 |
+
"Wav2Vec2BertForCTC"
|
| 11 |
+
],
|
| 12 |
+
"attention_dropout": 0.0,
|
| 13 |
+
"bos_token_id": 1,
|
| 14 |
+
"classifier_proj_size": 768,
|
| 15 |
+
"codevector_dim": 768,
|
| 16 |
+
"conformer_conv_dropout": 0.1,
|
| 17 |
+
"contrastive_logits_temperature": 0.1,
|
| 18 |
+
"conv_depthwise_kernel_size": 31,
|
| 19 |
+
"ctc_loss_reduction": "mean",
|
| 20 |
+
"ctc_zero_infinity": false,
|
| 21 |
+
"diversity_loss_weight": 0.1,
|
| 22 |
+
"eos_token_id": 2,
|
| 23 |
+
"feat_proj_dropout": 0.0,
|
| 24 |
+
"feat_quantizer_dropout": 0.0,
|
| 25 |
+
"feature_projection_input_dim": 160,
|
| 26 |
+
"final_dropout": 0.1,
|
| 27 |
+
"hidden_act": "swish",
|
| 28 |
+
"hidden_dropout": 0.0,
|
| 29 |
+
"hidden_size": 1024,
|
| 30 |
+
"initializer_range": 0.02,
|
| 31 |
+
"intermediate_size": 4096,
|
| 32 |
+
"layer_norm_eps": 1e-05,
|
| 33 |
+
"layerdrop": 0.0,
|
| 34 |
+
"left_max_position_embeddings": 64,
|
| 35 |
+
"mask_feature_length": 10,
|
| 36 |
+
"mask_feature_min_masks": 0,
|
| 37 |
+
"mask_feature_prob": 0.0,
|
| 38 |
+
"mask_time_length": 10,
|
| 39 |
+
"mask_time_min_masks": 2,
|
| 40 |
+
"mask_time_prob": 0.0,
|
| 41 |
+
"max_source_positions": 5000,
|
| 42 |
+
"model_type": "wav2vec2-bert",
|
| 43 |
+
"num_adapter_layers": 1,
|
| 44 |
+
"num_attention_heads": 16,
|
| 45 |
+
"num_codevector_groups": 2,
|
| 46 |
+
"num_codevectors_per_group": 320,
|
| 47 |
+
"num_hidden_layers": 24,
|
| 48 |
+
"num_negatives": 100,
|
| 49 |
+
"output_hidden_size": 1024,
|
| 50 |
+
"pad_token_id": 35,
|
| 51 |
+
"position_embeddings_type": "relative_key",
|
| 52 |
+
"proj_codevector_dim": 768,
|
| 53 |
+
"right_max_position_embeddings": 8,
|
| 54 |
+
"rotary_embedding_base": 10000,
|
| 55 |
+
"tdnn_dilation": [
|
| 56 |
+
1,
|
| 57 |
+
2,
|
| 58 |
+
3,
|
| 59 |
+
1,
|
| 60 |
+
1
|
| 61 |
+
],
|
| 62 |
+
"tdnn_dim": [
|
| 63 |
+
512,
|
| 64 |
+
512,
|
| 65 |
+
512,
|
| 66 |
+
512,
|
| 67 |
+
1500
|
| 68 |
+
],
|
| 69 |
+
"tdnn_kernel": [
|
| 70 |
+
5,
|
| 71 |
+
3,
|
| 72 |
+
3,
|
| 73 |
+
1,
|
| 74 |
+
1
|
| 75 |
+
],
|
| 76 |
+
"torch_dtype": "float32",
|
| 77 |
+
"transformers_version": "4.38.0.dev0",
|
| 78 |
+
"use_intermediate_ffn_before_adapter": false,
|
| 79 |
+
"use_weighted_layer_sum": false,
|
| 80 |
+
"vocab_size": 38,
|
| 81 |
+
"xvector_output_dim": 512
|
| 82 |
+
}
|
logs/events.out.tfevents.1706559267.ateam-ws1.199299.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:765a84e01be181fd749a4a907aab2c04437714a0075af83b5b3ebedda9019429
|
| 3 |
+
size 12146
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:486f1eae0b06183bb4f7e2b384ea26b483f433677d47b764a9a88c05f6e2fdaf
|
| 3 |
+
size 2422970360
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
"processor_class": "Wav2Vec2BertProcessor",
|
| 8 |
+
"return_attention_mask": true,
|
| 9 |
+
"sampling_rate": 16000,
|
| 10 |
+
"stride": 2
|
| 11 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8426c591eba826c30d6a0805d464caa39d5c53af4cee0df25680ffc5f407d643
|
| 3 |
+
size 4664
|