Instructions to use zacdan4801/wav2vec2-lv-60-espeak-cv-ft-custom_vocab-OtherDiacritics-ds-f3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zacdan4801/wav2vec2-lv-60-espeak-cv-ft-custom_vocab-OtherDiacritics-ds-f3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="zacdan4801/wav2vec2-lv-60-espeak-cv-ft-custom_vocab-OtherDiacritics-ds-f3")# Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("zacdan4801/wav2vec2-lv-60-espeak-cv-ft-custom_vocab-OtherDiacritics-ds-f3") model = AutoModelForCTC.from_pretrained("zacdan4801/wav2vec2-lv-60-espeak-cv-ft-custom_vocab-OtherDiacritics-ds-f3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files- README.md +103 -0
- config.json +116 -0
- model.safetensors +3 -0
- preprocessor_config.json +9 -0
- runs/Apr16_22-57-43_Lydia/events.out.tfevents.1776398304.Lydia.22384.4 +3 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
base_model: facebook/wav2vec2-lv-60-espeak-cv-ft
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
model-index:
|
| 8 |
+
- name: wav2vec2-lv-60-espeak-cv-ft-custom_vocab-OtherDiacritics-ds-f3
|
| 9 |
+
results: []
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 13 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 14 |
+
|
| 15 |
+
# wav2vec2-lv-60-espeak-cv-ft-custom_vocab-OtherDiacritics-ds-f3
|
| 16 |
+
|
| 17 |
+
This model is a fine-tuned version of [facebook/wav2vec2-lv-60-espeak-cv-ft](https://huggingface.co/facebook/wav2vec2-lv-60-espeak-cv-ft) on an unknown dataset.
|
| 18 |
+
It achieves the following results on the evaluation set:
|
| 19 |
+
- Loss: 0.2777
|
| 20 |
+
- Per: 0.2862
|
| 21 |
+
|
| 22 |
+
## Model description
|
| 23 |
+
|
| 24 |
+
More information needed
|
| 25 |
+
|
| 26 |
+
## Intended uses & limitations
|
| 27 |
+
|
| 28 |
+
More information needed
|
| 29 |
+
|
| 30 |
+
## Training and evaluation data
|
| 31 |
+
|
| 32 |
+
More information needed
|
| 33 |
+
|
| 34 |
+
## Training procedure
|
| 35 |
+
|
| 36 |
+
### Training hyperparameters
|
| 37 |
+
|
| 38 |
+
The following hyperparameters were used during training:
|
| 39 |
+
- learning_rate: 3e-05
|
| 40 |
+
- train_batch_size: 16
|
| 41 |
+
- eval_batch_size: 8
|
| 42 |
+
- seed: 42
|
| 43 |
+
- gradient_accumulation_steps: 2
|
| 44 |
+
- total_train_batch_size: 32
|
| 45 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 46 |
+
- lr_scheduler_type: linear
|
| 47 |
+
- lr_scheduler_warmup_steps: 500
|
| 48 |
+
- num_epochs: 30
|
| 49 |
+
- mixed_precision_training: Native AMP
|
| 50 |
+
|
| 51 |
+
### Training results
|
| 52 |
+
|
| 53 |
+
| Training Loss | Epoch | Step | Validation Loss | Per |
|
| 54 |
+
|:-------------:|:-------:|:-----:|:---------------:|:------:|
|
| 55 |
+
| 17.6864 | 0.7194 | 400 | 4.5574 | 0.9996 |
|
| 56 |
+
| 4.4028 | 1.4388 | 800 | 4.0916 | 0.9996 |
|
| 57 |
+
| 4.0552 | 2.1583 | 1200 | 3.5787 | 0.9996 |
|
| 58 |
+
| 3.1164 | 2.8777 | 1600 | 1.4748 | 0.4488 |
|
| 59 |
+
| 2.0324 | 3.5971 | 2000 | 0.8655 | 0.3445 |
|
| 60 |
+
| 1.5826 | 4.3165 | 2400 | 0.6242 | 0.3222 |
|
| 61 |
+
| 1.3517 | 5.0360 | 2800 | 0.5075 | 0.3047 |
|
| 62 |
+
| 1.2061 | 5.7554 | 3200 | 0.4376 | 0.3030 |
|
| 63 |
+
| 1.1096 | 6.4748 | 3600 | 0.3987 | 0.2965 |
|
| 64 |
+
| 1.0183 | 7.1942 | 4000 | 0.3770 | 0.2950 |
|
| 65 |
+
| 0.9782 | 7.9137 | 4400 | 0.3541 | 0.2927 |
|
| 66 |
+
| 0.9458 | 8.6331 | 4800 | 0.3452 | 0.2924 |
|
| 67 |
+
| 0.8738 | 9.3525 | 5200 | 0.3417 | 0.2927 |
|
| 68 |
+
| 0.8655 | 10.0719 | 5600 | 0.3243 | 0.2906 |
|
| 69 |
+
| 0.8556 | 10.7914 | 6000 | 0.3242 | 0.2892 |
|
| 70 |
+
| 0.8542 | 11.5108 | 6400 | 0.3197 | 0.2899 |
|
| 71 |
+
| 0.8045 | 12.2302 | 6800 | 0.3094 | 0.2880 |
|
| 72 |
+
| 0.7966 | 12.9496 | 7200 | 0.3119 | 0.2902 |
|
| 73 |
+
| 0.7665 | 13.6691 | 7600 | 0.3055 | 0.2888 |
|
| 74 |
+
| 0.7675 | 14.3885 | 8000 | 0.3020 | 0.2889 |
|
| 75 |
+
| 0.7328 | 15.1079 | 8400 | 0.3025 | 0.2891 |
|
| 76 |
+
| 0.7483 | 15.8273 | 8800 | 0.3028 | 0.2879 |
|
| 77 |
+
| 0.7368 | 16.5468 | 9200 | 0.2991 | 0.2880 |
|
| 78 |
+
| 0.7162 | 17.2662 | 9600 | 0.2967 | 0.2898 |
|
| 79 |
+
| 0.7068 | 17.9856 | 10000 | 0.2913 | 0.2869 |
|
| 80 |
+
| 0.6945 | 18.7050 | 10400 | 0.2880 | 0.2860 |
|
| 81 |
+
| 0.6875 | 19.4245 | 10800 | 0.2949 | 0.2877 |
|
| 82 |
+
| 0.6888 | 20.1439 | 11200 | 0.2880 | 0.2875 |
|
| 83 |
+
| 0.6928 | 20.8633 | 11600 | 0.2853 | 0.2868 |
|
| 84 |
+
| 0.6789 | 21.5827 | 12000 | 0.2866 | 0.2866 |
|
| 85 |
+
| 0.686 | 22.3022 | 12400 | 0.2844 | 0.2875 |
|
| 86 |
+
| 0.6689 | 23.0216 | 12800 | 0.2824 | 0.2857 |
|
| 87 |
+
| 0.6623 | 23.7410 | 13200 | 0.2797 | 0.2855 |
|
| 88 |
+
| 0.6615 | 24.4604 | 13600 | 0.2793 | 0.2866 |
|
| 89 |
+
| 0.657 | 25.1799 | 14000 | 0.2831 | 0.2865 |
|
| 90 |
+
| 0.6489 | 25.8993 | 14400 | 0.2829 | 0.2866 |
|
| 91 |
+
| 0.6336 | 26.6187 | 14800 | 0.2786 | 0.2868 |
|
| 92 |
+
| 0.654 | 27.3381 | 15200 | 0.2788 | 0.2858 |
|
| 93 |
+
| 0.6319 | 28.0576 | 15600 | 0.2806 | 0.2863 |
|
| 94 |
+
| 0.6497 | 28.7770 | 16000 | 0.2790 | 0.2857 |
|
| 95 |
+
| 0.6501 | 29.4964 | 16400 | 0.2777 | 0.2862 |
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
### Framework versions
|
| 99 |
+
|
| 100 |
+
- Transformers 4.57.6
|
| 101 |
+
- Pytorch 2.9.1+cu128
|
| 102 |
+
- Datasets 4.5.0
|
| 103 |
+
- Tokenizers 0.22.2
|
config.json
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_dropout": 0.0,
|
| 3 |
+
"adapter_attn_dim": null,
|
| 4 |
+
"adapter_kernel_size": 3,
|
| 5 |
+
"adapter_stride": 2,
|
| 6 |
+
"add_adapter": false,
|
| 7 |
+
"apply_spec_augment": true,
|
| 8 |
+
"architectures": [
|
| 9 |
+
"Wav2Vec2ForCTC"
|
| 10 |
+
],
|
| 11 |
+
"attention_dropout": 0.1,
|
| 12 |
+
"bos_token_id": 1,
|
| 13 |
+
"classifier_proj_size": 256,
|
| 14 |
+
"codevector_dim": 768,
|
| 15 |
+
"contrastive_logits_temperature": 0.1,
|
| 16 |
+
"conv_bias": true,
|
| 17 |
+
"conv_dim": [
|
| 18 |
+
512,
|
| 19 |
+
512,
|
| 20 |
+
512,
|
| 21 |
+
512,
|
| 22 |
+
512,
|
| 23 |
+
512,
|
| 24 |
+
512
|
| 25 |
+
],
|
| 26 |
+
"conv_kernel": [
|
| 27 |
+
10,
|
| 28 |
+
3,
|
| 29 |
+
3,
|
| 30 |
+
3,
|
| 31 |
+
3,
|
| 32 |
+
2,
|
| 33 |
+
2
|
| 34 |
+
],
|
| 35 |
+
"conv_stride": [
|
| 36 |
+
5,
|
| 37 |
+
2,
|
| 38 |
+
2,
|
| 39 |
+
2,
|
| 40 |
+
2,
|
| 41 |
+
2,
|
| 42 |
+
2
|
| 43 |
+
],
|
| 44 |
+
"ctc_loss_reduction": "mean",
|
| 45 |
+
"ctc_zero_infinity": false,
|
| 46 |
+
"diversity_loss_weight": 0.1,
|
| 47 |
+
"do_stable_layer_norm": true,
|
| 48 |
+
"dtype": "float32",
|
| 49 |
+
"eos_token_id": 2,
|
| 50 |
+
"feat_extract_activation": "gelu",
|
| 51 |
+
"feat_extract_dropout": 0.0,
|
| 52 |
+
"feat_extract_norm": "layer",
|
| 53 |
+
"feat_proj_dropout": 0.0,
|
| 54 |
+
"feat_quantizer_dropout": 0.0,
|
| 55 |
+
"final_dropout": 0.0,
|
| 56 |
+
"gradient_checkpointing": false,
|
| 57 |
+
"hidden_act": "gelu",
|
| 58 |
+
"hidden_dropout": 0.1,
|
| 59 |
+
"hidden_size": 1024,
|
| 60 |
+
"initializer_range": 0.02,
|
| 61 |
+
"intermediate_size": 4096,
|
| 62 |
+
"layer_norm_eps": 1e-05,
|
| 63 |
+
"layerdrop": 0.1,
|
| 64 |
+
"mask_channel_length": 10,
|
| 65 |
+
"mask_channel_min_space": 1,
|
| 66 |
+
"mask_channel_other": 0.0,
|
| 67 |
+
"mask_channel_prob": 0.0,
|
| 68 |
+
"mask_channel_selection": "static",
|
| 69 |
+
"mask_feature_length": 10,
|
| 70 |
+
"mask_feature_min_masks": 0,
|
| 71 |
+
"mask_feature_prob": 0.0,
|
| 72 |
+
"mask_time_length": 10,
|
| 73 |
+
"mask_time_min_masks": 2,
|
| 74 |
+
"mask_time_min_space": 1,
|
| 75 |
+
"mask_time_other": 0.0,
|
| 76 |
+
"mask_time_prob": 0.05,
|
| 77 |
+
"mask_time_selection": "static",
|
| 78 |
+
"model_type": "wav2vec2",
|
| 79 |
+
"num_adapter_layers": 3,
|
| 80 |
+
"num_attention_heads": 16,
|
| 81 |
+
"num_codevector_groups": 2,
|
| 82 |
+
"num_codevectors_per_group": 320,
|
| 83 |
+
"num_conv_pos_embedding_groups": 16,
|
| 84 |
+
"num_conv_pos_embeddings": 128,
|
| 85 |
+
"num_feat_extract_layers": 7,
|
| 86 |
+
"num_hidden_layers": 24,
|
| 87 |
+
"num_negatives": 100,
|
| 88 |
+
"output_hidden_size": 1024,
|
| 89 |
+
"pad_token_id": 61,
|
| 90 |
+
"proj_codevector_dim": 768,
|
| 91 |
+
"tdnn_dilation": [
|
| 92 |
+
1,
|
| 93 |
+
2,
|
| 94 |
+
3,
|
| 95 |
+
1,
|
| 96 |
+
1
|
| 97 |
+
],
|
| 98 |
+
"tdnn_dim": [
|
| 99 |
+
512,
|
| 100 |
+
512,
|
| 101 |
+
512,
|
| 102 |
+
512,
|
| 103 |
+
1500
|
| 104 |
+
],
|
| 105 |
+
"tdnn_kernel": [
|
| 106 |
+
5,
|
| 107 |
+
3,
|
| 108 |
+
3,
|
| 109 |
+
1,
|
| 110 |
+
1
|
| 111 |
+
],
|
| 112 |
+
"transformers_version": "4.57.6",
|
| 113 |
+
"use_weighted_layer_sum": false,
|
| 114 |
+
"vocab_size": 64,
|
| 115 |
+
"xvector_output_dim": 512
|
| 116 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ced914259c736b0cd10841c147d958a3cebb1167f15f268022ca43818eeb6d77
|
| 3 |
+
size 1262069880
|
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 |
+
}
|
runs/Apr16_22-57-43_Lydia/events.out.tfevents.1776398304.Lydia.22384.4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6223fe4a6e55bd36e99bb9613820213141705c28402bf6f115a7e25239728cf9
|
| 3 |
+
size 28810
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f23d831b04bb704d2d25dd139af176565ebd362932ed62df639b69227a89e4fc
|
| 3 |
+
size 5905
|