Instructions to use onnx-community/moonshine-tiny-ko-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use onnx-community/moonshine-tiny-ko-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('automatic-speech-recognition', 'onnx-community/moonshine-tiny-ko-ONNX');
Download config.json from onnx-community/moonshine-tiny-ko-ONNX: direct link, hf CLI and curl.
- Browser
- Download file 986 Bytes
-
https://huggingface.co/onnx-community/moonshine-tiny-ko-ONNX/resolve/main/config.json
- Command line
-
hf download hf://onnx-community/moonshine-tiny-ko-ONNX/config.json
-
curl -L -o config.json https://huggingface.co/onnx-community/moonshine-tiny-ko-ONNX/resolve/main/config.json
986 Bytes
| { | |
| "_attn_implementation_autoset": true, | |
| "_name_or_path": "UsefulSensors/moonshine-tiny-ko", | |
| "architectures": [ | |
| "MoonshineForConditionalGeneration" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 1, | |
| "decoder_hidden_act": "silu", | |
| "decoder_num_attention_heads": 8, | |
| "decoder_num_hidden_layers": 6, | |
| "decoder_num_key_value_heads": 8, | |
| "decoder_start_token_id": 1, | |
| "encoder_hidden_act": "gelu", | |
| "encoder_num_attention_heads": 8, | |
| "encoder_num_hidden_layers": 6, | |
| "encoder_num_key_value_heads": 8, | |
| "eos_token_id": 2, | |
| "hidden_size": 288, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 1152, | |
| "is_encoder_decoder": true, | |
| "max_position_embeddings": 194, | |
| "model_type": "moonshine", | |
| "pad_head_dim_to_multiple_of": 8, | |
| "pad_token_id": 2, | |
| "partial_rotary_factor": 0.9, | |
| "rope_scaling": null, | |
| "rope_theta": 10000.0, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.49.0", | |
| "use_cache": true, | |
| "vocab_size": 32768 | |
| } | |