Instructions to use wmoto-ai/moonshine-tiny-ja-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use wmoto-ai/moonshine-tiny-ja-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('automatic-speech-recognition', 'wmoto-ai/moonshine-tiny-ja-ONNX');
Fix: use decoder_model_merged.onnx with attention_mask removed
Browse files- config.json +1 -1
- onnx/decoder_model_merged.onnx +2 -2
- onnx/encoder_model.onnx +2 -2
config.json
CHANGED
|
@@ -28,6 +28,6 @@
|
|
| 28 |
"rope_theta": 10000.0,
|
| 29 |
"torch_dtype": "float32",
|
| 30 |
"transformers_version": "4.55.4",
|
| 31 |
-
"use_cache":
|
| 32 |
"vocab_size": 32768
|
| 33 |
}
|
|
|
|
| 28 |
"rope_theta": 10000.0,
|
| 29 |
"torch_dtype": "float32",
|
| 30 |
"transformers_version": "4.55.4",
|
| 31 |
+
"use_cache": true,
|
| 32 |
"vocab_size": 32768
|
| 33 |
}
|
onnx/decoder_model_merged.onnx
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be363ddd353c0953a03d500de37ee48fce95feaaa8152621b3fd96e199f4556c
|
| 3 |
+
size 116312520
|
onnx/encoder_model.onnx
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:21cae43b30d2cbf992735d1458001990af5efa41b38f7560f0d4ba0592c6e728
|
| 3 |
+
size 30962926
|