Skip to content

Commit dcb2003

Browse files
authored
Merge pull request #16 from comodoro/patch-1
Version 0.3 of the Czech model
2 parents b14378c + 7489710 commit dcb2003

File tree

3 files changed

+146
-0
lines changed

3 files changed

+146
-0
lines changed

czech/comodoro/v0.3.0/LICENSE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
https://creativecommons.org/licenses/by-nc/4.0/legalcode

czech/comodoro/v0.3.0/MODEL_CARD.md

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
# Model card for Czech STT
2+
3+
Jump to section:
4+
5+
- [Model details](#model-details)
6+
- [Intended use](#intended-use)
7+
- [Performance Factors](#performance-factors)
8+
- [Metrics](#metrics)
9+
- [Training data](#training-data)
10+
- [Evaluation data](#evaluation-data)
11+
- [Ethical considerations](#ethical-considerations)
12+
- [Caveats and recommendations](#caveats-and-recommendations)
13+
14+
## Model details
15+
16+
- Person or organization developing model: Trained by [Vojtěch Drábek](https://www.draabek.cz).
17+
- Model language: Czech / čeština / `cs`
18+
- Model date: May 31, 2022
19+
- Model type: `Speech-to-Text`
20+
- Model version: `v0.3.0`
21+
- Compatible with 🐸 STT version: `v0.9.3`
22+
- License: CC-BY-NC 4.0
23+
- Citation details: `@misc{czech-stt, author = {Drábek, Vojtěch}, title = {Czech STT 0.3}, publisher = {comodoro}, journal = {deepspeech-cs}, howpublished = {\url{https://github.com/comodoro/deepspeech-cs}} }`
24+
- Where to send questions or comments about the model: You can leave an issue on [the model release page](https://github.com/comodoro/deepspeech-cs) or [`STT-model` issues](https://github.com/coqui-ai/STT-models/issues), open a new discussion on [`STT-model` discussions](https://github.com/coqui-ai/STT-models/discussions), or chat with us on [Gitter](https://gitter.im/coqui-ai/) or Matrix channel coqui-ai/STT.
25+
26+
## Intended use
27+
28+
Speech-to-Text for the [Czech Language](https://en.wikipedia.org/wiki/Czech_language) on 16kHz, mono-channel audio.
29+
30+
## Performance Factors
31+
32+
Factors relevant to Speech-to-Text performance include but are not limited to speaker demographics, recording quality, and background noise. Read more about STT performance factors [here](https://stt.readthedocs.io/en/latest/DEPLOYMENT.html#how-will-a-model-perform-on-my-data).
33+
34+
## Metrics
35+
36+
STT models are usually evaluated in terms of their transcription accuracy, deployment, Real-Time Factor, and model size on disk.
37+
38+
#### Transcription Accuracy
39+
40+
More information reported on [Github](https://github.com/comodoro/deepspeech-cs/).
41+
42+
|Test Corpus|WER|CER|
43+
|-----------|---|---|
44+
|Acoustic model|
45+
|Czech Common voice 6.1|40.6%|10.7%|
46+
|Vystadial 2016|50.6%|19.6%|
47+
|Parliament Plenary Hearings|21.3%|5.3%|
48+
|ParCzech 3.0|21%|6.2%|
49+
||
50+
|With the attached scorer|
51+
|Czech Common voice 6.1|15.3%|6.8%|
52+
|Vystadial 2016|35.7%|20.1%|
53+
|Parliament Plenary Hearings|9.7%|3.7%|
54+
|ParCzech 3.0|10.1%|4.5%|
55+
56+
#### Real-Time Factor
57+
58+
Real-Time Factor (RTF) is defined as `processing-time / length-of-audio`. The exact real-time factor of an STT model will depend on the hardware setup, so you may experience a different RTF.
59+
60+
Recorded average RTF on laptop CPU: `0.73`
61+
62+
#### Model Size
63+
64+
`model.pbmm`: 181M
65+
`model.tflite`: 46M
66+
`scorer`: 461M
67+
68+
### Approaches to uncertainty and variability
69+
70+
Confidence scores and multiple paths from the decoding beam can be used to measure model uncertainty and provide multiple, variable transcripts for any processed audio.
71+
72+
## Training data
73+
74+
This model was trained on the following corpora:
75+
76+
1. Vystadial 2016 – Czech data
77+
2. OVM – Otázky Václava Moravce
78+
3. Czech Parliament Meetings
79+
4. Large Corpus of Czech Parliament Plenary Hearings
80+
5. Common Voice Czech
81+
6. Some private recordings and parts of audioboooks
82+
83+
## Evaluation data
84+
85+
The model was evaluated on Common Voice Czech, Large Corpus of Czech Parliament Plenary Hearings, Vystadial 2016 – Czech data and ParCzech 3.0 test sets.
86+
87+
## Ethical considerations
88+
89+
Deploying a Speech-to-Text model into any production setting has ethical implications. You should consider these implications before use.
90+
91+
### Demographic Bias
92+
93+
You should assume every machine learning model has demographic bias unless proven otherwise. For STT models, it is often the case that transcription accuracy is better for men than it is for women. If you are using this model in production, you should acknowledge this as a potential issue.
94+
95+
### Surveillance
96+
97+
Speech-to-Text may be mis-used to invade the privacy of others by recording and mining information from private conversations. This kind of individual privacy is protected by law in many countries. You should not assume consent to record and analyze private speech.
98+
99+
## Caveats and recommendations
100+
101+
Machine learning models (like this STT model) perform best on data that is similar to the data on which they were trained. Read about what to expect from an STT model with regard to your data [here](https://stt.readthedocs.io/en/latest/DEPLOYMENT.html#how-will-a-model-perform-on-my-data).
102+
103+
In most applications, it is recommended that you [train your own language model](https://stt.readthedocs.io/en/latest/LANGUAGE_MODEL.html) to improve transcription accuracy on your speech data.

czech/comodoro/v0.3.0/alphabet.txt

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
2+
a
3+
b
4+
c
5+
d
6+
e
7+
f
8+
g
9+
h
10+
i
11+
j
12+
k
13+
l
14+
m
15+
n
16+
o
17+
p
18+
q
19+
r
20+
s
21+
t
22+
u
23+
v
24+
w
25+
x
26+
y
27+
z
28+
á
29+
é
30+
í
31+
ó
32+
ú
33+
ý
34+
č
35+
ď
36+
ě
37+
ň
38+
ř
39+
š
40+
ť
41+
ů
42+
ž

0 commit comments

Comments
 (0)