File size: 3,164 Bytes
728b2fc
 
e0feba7
 
 
 
 
a834fb4
 
 
728b2fc
e0feba7
 
 
1311e40
e0feba7
3a27dc1
e0feba7
04245a0
a834fb4
1311e40
 
8a1eb07
1311e40
051ff6c
1311e40
ce80312
 
1311e40
 
e0feba7
 
051ff6c
1311e40
ce80312
 
 
 
 
 
 
e0feba7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
license: apache-2.0
datasets:
- mozilla-foundation/common_voice_17_0
language:
- lv
pipeline_tag: automatic-speech-recognition
base_model:
- openai/whisper-large-v3
new_version: AiLab-IMCS-UL/whisper-large-v3-lv-late-cv19
---

# 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), as well as an 8-bit quantized version for the use with [CTranslate2](https://github.com/OpenNMT/CTranslate2).

**NB!** This model is superseded by a newer version: [whisper-large-v3-lv-late-cv19](https://huggingface.co/AiLab-IMCS-UL/whisper-large-v3-lv-late-cv19)

## 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.