normundsg's picture
Update README.md
ce80312 verified
---
license: apache-2.0
datasets:
- mozilla-foundation/common_voice_17_0
language:
- lv
pipeline_tag: automatic-speech-recognition
---
# General-purpose Latvian ASR model
This is a fine-tuned [whisper-large-v3](https://huggingface.co/openai/whisper-large-v3) model for Latvian, trained by [AiLab.lv](https://ailab.lv) using two general-purpose speech datasets: the Latvian part of [Common Voice 17.0](https://commonvoice.mozilla.org/lv/datasets), and a Latvian broadcast dataset [LATE-Media](https://korpuss.lv/id/LATE-mediji).
We also provide 4-bit, 5-bit and 8-bit quantized versions of the model in the GGML format for the use with [whisper.cpp](https://github.com/ggerganov/whisper.cpp).
## Training
Fine-tuning was done using the Hugging Face Transformers library with a modified [seq2seq script](https://github.com/huggingface/transformers/tree/main/examples/pytorch/speech-recognition#sequence-to-sequence).
| Training data | Hours |
|:---|---:|
| Latvian Common Voice 17.0 train set (the [V1 split](https://analyzer.cv-toolbox.web.tr/examine/lv/17.0)) | 167 |
| LATE-Media 1.0 train set | 42 |
| Total | 209 |
## Evaluation
| Testing data | WER | CER |
|:---|---:|---:|
| Latvian Common Voice 17.0 test set (V1) - formatted | 5.0 | 1.6 |
| Latvian Common Voice 17.0 test set (V1) - normalized | 3.4 | 1.0 |
| LATE-Media 1.0 test set - formatted | 20.8 | 8.2 |
| LATE-Media 1.0 test set - normalized | 14.1 | 5.9 |
The Latvian CV 17.0 test set is available [here](https://analyzer.cv-toolbox.web.tr/examine/lv/17.0).
The LATE-Media 1.0 test set is available [here](http://hdl.handle.net/20.500.12574/99).
## Citation
Please cite this paper if you use this model in your research:
```bibtex
@inproceedings{dargis-etal-2024-balsutalka-lv,
author = {Dargis, Roberts and Znotins, Arturs and Auzina, Ilze and Saulite, Baiba and Reinsone, Sanita and Dejus, Raivis and Klavinska, Antra and Gruzitis, Normunds},
title = {{BalsuTalka.lv - Boosting the Common Voice Corpus for Low-Resource Languages}},
booktitle = {Proceedings of the Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING)},
publisher = {ELRA and ICCL},
year = {2024},
pages = {2080--2085},
url = {https://aclanthology.org/2024.lrec-main.187}
}
```
## Acknowledgements
This work was supported by the EU Recovery and Resilience Facility project [Language Technology Initiative](https://www.vti.lu.lv) (2.3.1.1.i.0/1/22/I/CFLA/002) in synergy with the State Research Programme project [LATE](https://www.digitalhumanities.lv/projekti/vpp-late/) (VPP-LETONIKA-2021/1-0006).
We are grateful to all the participants of the national initiative [BalsuTalka.lv](https://balsutalka.lv) for helping to make the Latvian Common Voice dataset much larger and more diverse.