Instructions to use OpenVoiceOS/bsc-lt-los-conformer-transducer-large-punctuated-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- NeMo
How to use OpenVoiceOS/bsc-lt-los-conformer-transducer-large-punctuated-onnx with NeMo:
import nemo.collections.asr as nemo_asr asr_model = nemo_asr.models.ASRModel.from_pretrained("OpenVoiceOS/bsc-lt-los-conformer-transducer-large-punctuated-onnx") transcriptions = asr_model.transcribe(["file.wav"]) - Notebooks
- Google Colab
- Kaggle
Add ONNX export of BSC-LT/stt_los_conformer_transducer_large_punctuated for onnx-asr
Browse files- .gitattributes +2 -0
- README.md +33 -0
- config.json +6 -0
- decoder_joint-model.int8.onnx +3 -0
- decoder_joint-model.onnx +3 -0
- decoder_joint-model.onnx_data +3 -0
- encoder-model.int8.onnx +3 -0
- encoder-model.onnx +3 -0
- encoder-model.onnx_data +3 -0
- vocab.txt +301 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
decoder_joint-model.onnx_data filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
encoder-model.onnx_data filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
library_name: onnx-asr
|
| 4 |
+
tags:
|
| 5 |
+
- automatic-speech-recognition
|
| 6 |
+
- onnx
|
| 7 |
+
- nemo
|
| 8 |
+
pipeline_tag: automatic-speech-recognition
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# bsc-lt-los-conformer-transducer-large-punctuated-onnx
|
| 12 |
+
|
| 13 |
+
NVIDIA NeMo ASR model exported to ONNX for the
|
| 14 |
+
[onnx-asr](https://github.com/istupakov/onnx-asr) library and the
|
| 15 |
+
[ovos-stt-plugin-onnx-asr](https://github.com/OpenVoiceOS/ovos-stt-plugin-onnx-asr)
|
| 16 |
+
OpenVoiceOS STT plugin.
|
| 17 |
+
|
| 18 |
+
Converted from [BSC-LT/stt_los_conformer_transducer_large_punctuated](https://huggingface.co/BSC-LT/stt_los_conformer_transducer_large_punctuated) (apache-2.0).
|
| 19 |
+
Decoder: RNN-T Transducer (`encoder-model.onnx` + `decoder_joint-model.onnx`) — `model_type: nemo-conformer-rnnt`, features_size 80,
|
| 20 |
+
subsampling_factor 4.
|
| 21 |
+
|
| 22 |
+
```python
|
| 23 |
+
import onnx_asr
|
| 24 |
+
model = onnx_asr.load_model("OpenVoiceOS/bsc-lt-los-conformer-transducer-large-punctuated-onnx")
|
| 25 |
+
print(model.recognize("audio.wav"))
|
| 26 |
+
```
|
| 27 |
+
|
| 28 |
+
Or via OpenVoiceOS config:
|
| 29 |
+
|
| 30 |
+
```json
|
| 31 |
+
{"stt": {"module": "ovos-stt-plugin-onnx-asr",
|
| 32 |
+
"ovos-stt-plugin-onnx-asr": {"model": "OpenVoiceOS/bsc-lt-los-conformer-transducer-large-punctuated-onnx"}}}
|
| 33 |
+
```
|
config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "nemo-conformer-rnnt",
|
| 3 |
+
"features_size": 80,
|
| 4 |
+
"subsampling_factor": 4,
|
| 5 |
+
"max_tokens_per_step": 10
|
| 6 |
+
}
|
decoder_joint-model.int8.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:93ff6b9a99399964ffb55e5b652ff0a6b2b863770eaedbacdef430e9f143fc9f
|
| 3 |
+
size 4435065
|
decoder_joint-model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4d611084b748433cb106f26f350900d1a40b8f96a111833db3b7d5953c392817
|
| 3 |
+
size 4119
|
decoder_joint-model.onnx_data
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f82d5c5c0e3b436b111c4d18217d5549753d662af864b287c463ee217db7a14
|
| 3 |
+
size 17624244
|
encoder-model.int8.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df61a36166671c11aaf9c9b4162bcc82ac59cb6e3b7f9ace92f2eea1bc479974
|
| 3 |
+
size 137420853
|
encoder-model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8f236e3c1c23f9e77b14c3aa486a22964b299874f08d066720aa9439b4a4000f
|
| 3 |
+
size 610686
|
encoder-model.onnx_data
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/sp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
| 9 |
+
ar 8
|
| 10 |
+
▁e 9
|
| 11 |
+
▁de 10
|
| 12 |
+
▁c 11
|
| 13 |
+
os 12
|
| 14 |
+
an 13
|
| 15 |
+
▁l 14
|
| 16 |
+
qu 15
|
| 17 |
+
▁s 16
|
| 18 |
+
on 17
|
| 19 |
+
or 18
|
| 20 |
+
in 19
|
| 21 |
+
▁m 20
|
| 22 |
+
▁qu 21
|
| 23 |
+
te 22
|
| 24 |
+
un 23
|
| 25 |
+
re 24
|
| 26 |
+
▁que 25
|
| 27 |
+
al 26
|
| 28 |
+
ci 27
|
| 29 |
+
as 28
|
| 30 |
+
▁n 29
|
| 31 |
+
▁h 30
|
| 32 |
+
▁b 31
|
| 33 |
+
ra 32
|
| 34 |
+
ti 33
|
| 35 |
+
▁es 34
|
| 36 |
+
▁en 35
|
| 37 |
+
tu 36
|
| 38 |
+
ri 37
|
| 39 |
+
▁v 38
|
| 40 |
+
▁i 39
|
| 41 |
+
▁la 40
|
| 42 |
+
▁t 41
|
| 43 |
+
▁f 42
|
| 44 |
+
da 43
|
| 45 |
+
ko 44
|
| 46 |
+
▁g 45
|
| 47 |
+
tz 46
|
| 48 |
+
▁un 47
|
| 49 |
+
is 48
|
| 50 |
+
om 49
|
| 51 |
+
▁el 50
|
| 52 |
+
▁E 51
|
| 53 |
+
ol 52
|
| 54 |
+
de 53
|
| 55 |
+
do 54
|
| 56 |
+
ro 55
|
| 57 |
+
▁se 56
|
| 58 |
+
▁o 57
|
| 59 |
+
la 58
|
| 60 |
+
ent 59
|
| 61 |
+
▁di 60
|
| 62 |
+
ia 61
|
| 63 |
+
ón 62
|
| 64 |
+
▁con 63
|
| 65 |
+
era 64
|
| 66 |
+
us 65
|
| 67 |
+
▁per 66
|
| 68 |
+
▁da 67
|
| 69 |
+
res 68
|
| 70 |
+
il 69
|
| 71 |
+
ur 70
|
| 72 |
+
di 71
|
| 73 |
+
ca 72
|
| 74 |
+
▁P 73
|
| 75 |
+
▁al 74
|
| 76 |
+
to 75
|
| 77 |
+
▁A 76
|
| 78 |
+
▁no 77
|
| 79 |
+
le 78
|
| 80 |
+
ak 79
|
| 81 |
+
▁y 80
|
| 82 |
+
at 81
|
| 83 |
+
gu 82
|
| 84 |
+
▁com 83
|
| 85 |
+
▁in 84
|
| 86 |
+
▁z 85
|
| 87 |
+
▁re 86
|
| 88 |
+
go 87
|
| 89 |
+
▁par 88
|
| 90 |
+
tan 89
|
| 91 |
+
▁ha 90
|
| 92 |
+
▁C 91
|
| 93 |
+
ma 92
|
| 94 |
+
em 93
|
| 95 |
+
el 94
|
| 96 |
+
▁é 95
|
| 97 |
+
am 96
|
| 98 |
+
ita 97
|
| 99 |
+
▁eta 98
|
| 100 |
+
▁S 99
|
| 101 |
+
ec 100
|
| 102 |
+
▁du 101
|
| 103 |
+
ción 102
|
| 104 |
+
▁del 103
|
| 105 |
+
▁L 104
|
| 106 |
+
ai 105
|
| 107 |
+
▁pro 106
|
| 108 |
+
▁por 107
|
| 109 |
+
ab 108
|
| 110 |
+
▁j 109
|
| 111 |
+
ten 110
|
| 112 |
+
ts 111
|
| 113 |
+
▁po 112
|
| 114 |
+
li 113
|
| 115 |
+
mp 114
|
| 116 |
+
▁B 115
|
| 117 |
+
▁D 116
|
| 118 |
+
ente 117
|
| 119 |
+
▁M 118
|
| 120 |
+
mb 119
|
| 121 |
+
▁des 120
|
| 122 |
+
ul 121
|
| 123 |
+
▁ta 122
|
| 124 |
+
io 123
|
| 125 |
+
▁G 124
|
| 126 |
+
▁an 125
|
| 127 |
+
ha 126
|
| 128 |
+
ir 127
|
| 129 |
+
▁una 128
|
| 130 |
+
du 129
|
| 131 |
+
▁as 130
|
| 132 |
+
▁to 131
|
| 133 |
+
co 132
|
| 134 |
+
ez 133
|
| 135 |
+
cia 134
|
| 136 |
+
ix 135
|
| 137 |
+
ter 136
|
| 138 |
+
ue 137
|
| 139 |
+
▁do 138
|
| 140 |
+
▁te 139
|
| 141 |
+
iz 140
|
| 142 |
+
ía 141
|
| 143 |
+
▁er 142
|
| 144 |
+
▁para 143
|
| 145 |
+
ga 144
|
| 146 |
+
▁ba 145
|
| 147 |
+
▁eg 146
|
| 148 |
+
▁si 147
|
| 149 |
+
me 148
|
| 150 |
+
▁na 149
|
| 151 |
+
eh 150
|
| 152 |
+
tes 151
|
| 153 |
+
dos 152
|
| 154 |
+
▁H 153
|
| 155 |
+
▁Es 154
|
| 156 |
+
▁ez 155
|
| 157 |
+
▁esta 156
|
| 158 |
+
ka 157
|
| 159 |
+
▁les 158
|
| 160 |
+
ida 159
|
| 161 |
+
▁su 160
|
| 162 |
+
▁me 161
|
| 163 |
+
▁los 162
|
| 164 |
+
ora 163
|
| 165 |
+
tra 164
|
| 166 |
+
▁T 165
|
| 167 |
+
és 166
|
| 168 |
+
ció 167
|
| 169 |
+
va 168
|
| 170 |
+
tr 169
|
| 171 |
+
lo 170
|
| 172 |
+
ari 171
|
| 173 |
+
enta 172
|
| 174 |
+
pa 173
|
| 175 |
+
si 174
|
| 176 |
+
▁N 175
|
| 177 |
+
▁ 176
|
| 178 |
+
a 177
|
| 179 |
+
e 178
|
| 180 |
+
o 179
|
| 181 |
+
n 180
|
| 182 |
+
r 181
|
| 183 |
+
i 182
|
| 184 |
+
s 183
|
| 185 |
+
t 184
|
| 186 |
+
u 185
|
| 187 |
+
l 186
|
| 188 |
+
d 187
|
| 189 |
+
c 188
|
| 190 |
+
m 189
|
| 191 |
+
p 190
|
| 192 |
+
b 191
|
| 193 |
+
g 192
|
| 194 |
+
, 193
|
| 195 |
+
k 194
|
| 196 |
+
z 195
|
| 197 |
+
. 196
|
| 198 |
+
h 197
|
| 199 |
+
q 198
|
| 200 |
+
v 199
|
| 201 |
+
f 200
|
| 202 |
+
ó 201
|
| 203 |
+
x 202
|
| 204 |
+
é 203
|
| 205 |
+
í 204
|
| 206 |
+
E 205
|
| 207 |
+
y 206
|
| 208 |
+
á 207
|
| 209 |
+
j 208
|
| 210 |
+
? 209
|
| 211 |
+
P 210
|
| 212 |
+
A 211
|
| 213 |
+
! 212
|
| 214 |
+
C 213
|
| 215 |
+
ñ 214
|
| 216 |
+
S 215
|
| 217 |
+
L 216
|
| 218 |
+
B 217
|
| 219 |
+
ú 218
|
| 220 |
+
D 219
|
| 221 |
+
M 220
|
| 222 |
+
G 221
|
| 223 |
+
à 222
|
| 224 |
+
' 223
|
| 225 |
+
: 224
|
| 226 |
+
è 225
|
| 227 |
+
H 226
|
| 228 |
+
T 227
|
| 229 |
+
ò 228
|
| 230 |
+
N 229
|
| 231 |
+
I 230
|
| 232 |
+
O 231
|
| 233 |
+
F 232
|
| 234 |
+
U 233
|
| 235 |
+
Q 234
|
| 236 |
+
- 235
|
| 237 |
+
R 236
|
| 238 |
+
V 237
|
| 239 |
+
J 238
|
| 240 |
+
ç 239
|
| 241 |
+
Y 240
|
| 242 |
+
K 241
|
| 243 |
+
Z 242
|
| 244 |
+
0 243
|
| 245 |
+
X 244
|
| 246 |
+
É 245
|
| 247 |
+
¿ 246
|
| 248 |
+
2 247
|
| 249 |
+
1 248
|
| 250 |
+
w 249
|
| 251 |
+
ü 250
|
| 252 |
+
ï 251
|
| 253 |
+
W 252
|
| 254 |
+
5 253
|
| 255 |
+
; 254
|
| 256 |
+
) 255
|
| 257 |
+
3 256
|
| 258 |
+
4 257
|
| 259 |
+
( 258
|
| 260 |
+
· 259
|
| 261 |
+
7 260
|
| 262 |
+
Á 261
|
| 263 |
+
6 262
|
| 264 |
+
9 263
|
| 265 |
+
% 264
|
| 266 |
+
¡ 265
|
| 267 |
+
8 266
|
| 268 |
+
" 267
|
| 269 |
+
“ 268
|
| 270 |
+
” 269
|
| 271 |
+
À 270
|
| 272 |
+
/ 271
|
| 273 |
+
Ó 272
|
| 274 |
+
Í 273
|
| 275 |
+
Ú 274
|
| 276 |
+
– 275
|
| 277 |
+
ë 276
|
| 278 |
+
Ò 277
|
| 279 |
+
ã 278
|
| 280 |
+
− 279
|
| 281 |
+
È 280
|
| 282 |
+
Ñ 281
|
| 283 |
+
ö 282
|
| 284 |
+
ê 283
|
| 285 |
+
́ 284
|
| 286 |
+
’ 285
|
| 287 |
+
Ç 286
|
| 288 |
+
â 287
|
| 289 |
+
Ü 288
|
| 290 |
+
ô 289
|
| 291 |
+
õ 290
|
| 292 |
+
« 291
|
| 293 |
+
° 292
|
| 294 |
+
» 293
|
| 295 |
+
ä 294
|
| 296 |
+
_ 295
|
| 297 |
+
ù 296
|
| 298 |
+
© 297
|
| 299 |
+
 298
|
| 300 |
+
Ö 299
|
| 301 |
+
<blk> 300
|