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');
Use Japanese tokenizer with proper config
Browse files- tokenizer_config.json +1 -0
tokenizer_config.json
CHANGED
|
@@ -6170,6 +6170,7 @@
|
|
| 6170 |
}
|
| 6171 |
},
|
| 6172 |
"clean_up_tokenization_spaces": false,
|
|
|
|
| 6173 |
"model_max_length": 1000000000000000019884624838656,
|
| 6174 |
"tokenizer_class": "PreTrainedTokenizerFast"
|
| 6175 |
}
|
|
|
|
| 6170 |
}
|
| 6171 |
},
|
| 6172 |
"clean_up_tokenization_spaces": false,
|
| 6173 |
+
"extra_special_tokens": {},
|
| 6174 |
"model_max_length": 1000000000000000019884624838656,
|
| 6175 |
"tokenizer_class": "PreTrainedTokenizerFast"
|
| 6176 |
}
|