carlosdanielhernandezmena
commited on
Commit
•
be811a0
1
Parent(s):
755803c
Adding info to the README file
Browse files
README.md
CHANGED
@@ -1,3 +1,72 @@
|
|
1 |
---
|
2 |
license: cc-by-4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: cc-by-4.0
|
3 |
+
language:
|
4 |
+
- fo
|
5 |
+
datasets:
|
6 |
+
- carlosdanielhernandezmena/ravnursson_asr
|
7 |
+
tags:
|
8 |
+
- audio
|
9 |
+
- automatic-speech-recognition
|
10 |
+
- faroese
|
11 |
+
- faster-whisper
|
12 |
+
- whisper-large
|
13 |
+
- whisper-large-v1
|
14 |
+
- faroe-islands
|
15 |
+
- ravnur-project
|
16 |
+
- ravnursson
|
17 |
---
|
18 |
+
# whisper-large-faroese-8k-steps-100h-ct2
|
19 |
+
|
20 |
+
This is a faster-whisper version of [carlosdanielhernandezmena/whisper-large-faroese-8k-steps-100h](https://huggingface.co/carlosdanielhernandezmena/whisper-large-faroese-8k-steps-100h).
|
21 |
+
|
22 |
+
The specific dataset used to create the model is called "Ravnursson Faroese Speech and Transcripts" and it is available at http://hdl.handle.net/20.500.12537/276.
|
23 |
+
|
24 |
+
The model was created like described in [faster-whisper](https://github.com/guillaumekln/faster-whisper/tree/master):
|
25 |
+
|
26 |
+
```bash
|
27 |
+
ct2-transformers-converter --model carlosdanielhernandezmena/whisper-large-faroese-8k-steps-100h \
|
28 |
+
--output_dir whisper-large-faroese-8k-steps-100h-ct2 \
|
29 |
+
--quantization float16
|
30 |
+
```
|
31 |
+
|
32 |
+
# Usage
|
33 |
+
|
34 |
+
```python
|
35 |
+
from faster_whisper import WhisperModel
|
36 |
+
|
37 |
+
model_size = "whisper-large-faroese-8k-steps-100h-ct2"
|
38 |
+
|
39 |
+
# Run on GPU with FP16
|
40 |
+
model = WhisperModel(model_size, device="cuda", compute_type="float16")
|
41 |
+
|
42 |
+
# or run on GPU with INT8
|
43 |
+
# model = WhisperModel(model_size, device="cuda", compute_type="int8_float16")
|
44 |
+
# or run on CPU with INT8
|
45 |
+
# model = WhisperModel(model_size, device="cpu", compute_type="int8")
|
46 |
+
|
47 |
+
segments, info = model.transcribe("audio.mp3", beam_size=5)
|
48 |
+
|
49 |
+
print("Detected language '%s' with probability %f" % (info.language, info.language_probability))
|
50 |
+
|
51 |
+
for segment in segments:
|
52 |
+
print("[%.2fs -> %.2fs] %s" % (segment.start, segment.end, segment.text))
|
53 |
+
```
|
54 |
+
|
55 |
+
# BibTeX entry and citation info
|
56 |
+
* When publishing results based on these models please refer to:
|
57 |
+
```bibtex
|
58 |
+
@misc{mena2023whisperlargefaroesect2,
|
59 |
+
title={Acoustic Model in Faroese: whisper-large-faroese-8k-steps-100h-ct2.},
|
60 |
+
author={Hernandez Mena, Carlos Daniel},
|
61 |
+
year={2023},
|
62 |
+
url={https://huggingface.co/language-and-voice-lab/whisper-large-icelandic-30k-steps-1000h-ct2},
|
63 |
+
}
|
64 |
+
```
|
65 |
+
|
66 |
+
# Acknowledgements
|
67 |
+
|
68 |
+
We want to thank to Jón Guðnason, head of the Language and Voice Lab for providing computational power to make this model possible. We also want to thank to the "Language Technology Programme for Icelandic 2019-2023" which is managed and coordinated by Almannarómur, and it is funded by the Icelandic Ministry of Education, Science and Culture.
|
69 |
+
|
70 |
+
Thanks to Annika Simonsen and to The Ravnur Project for making their "Basic Language Resource Kit"(BLARK 1.0) publicly available through the research paper "Creating a Basic Language Resource Kit for Faroese" https://aclanthology.org/2022.lrec-1.495.pdf
|
71 |
+
|
72 |
+
Special thanks to Björn Ingi Stefánsson for setting up the configuration of the server where this model was trained.
|