moonshine-tiny-ja-ONNX
22
—
by
wmoto-ai
Audio Model
OTHER
New
22 downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
Unknown
Mobile
Laptop
Server
Quick Summary
AI model with specialized capabilities.
Code Examples
Demojavascriptonnx
import {
MoonshineForConditionalGeneration,
AutoProcessor,
AutoTokenizer,
} from '@huggingface/transformers';
const MODEL_ID = 'wmoto-ai/moonshine-tiny-ja-ONNX';
const [model, processor, tokenizer] = await Promise.all([
MoonshineForConditionalGeneration.from_pretrained(MODEL_ID, { dtype: 'fp32' }),
AutoProcessor.from_pretrained(MODEL_ID),
AutoTokenizer.from_pretrained(MODEL_ID),
]);
// audioData: Float32Array (16kHz, mono)
const inputs = await processor(audioData);
const outputs = await model.generate({ ...inputs, max_new_tokens: 64 });
const text = tokenizer.decode(outputs[0], { skip_special_tokens: true });Deploy This Model
Production-ready deployment in minutes
Together.ai
Instant API access to this model
Production-ready inference API. Start free, scale to millions.
Try Free APIReplicate
One-click model deployment
Run models in the cloud with simple API. No DevOps required.
Deploy NowDisclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.