alt.freeweights.speech / moonshine-base-ONNX
From: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.speechSubject:

moonshine-base-ONNX

Date: 2026-11-15Commit: b1e9b6aSigned: 2DC28CC7B26A283B ✓

Automatic speech recognition model. Onnx weights, 2.03 GB in all. Published by onnx-community under MIT.

speech2.03GBmoonshine-base-ONNXonnxpermissive
FactsParamsnot statedSize2.03 GBFormatsonnxTaskautomatic speech recognitionLicenseMITFrom sourcepermissive
$ fw get onnx-community/moonshine-base-ONNX
# manifest sha256 432542631185… · 2.03 GB · 40 files
$ fw verify ./moonshine-base-ONNX onnx-community/moonshine-base-ONNX
From sourceHosted (signed)onnx-community/moonshine-base-ONNXLast check: 2026-11-15 04:39 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Quantized of moonshine-base.

Works with

Convert with

Scan with

Overview

Size
2.03 GB
Weights
16.6 MB (smallest of 32 ONNX variants)
Parameters
not stated
Formats
onnx
Task
automatic speech recognition
License
MIT (permissive)
Files
40, each with a sha256
Publisher
onnx-community
Added
2026-11-15
Section
alt.freeweights.speech
Lineage

Original release from the publisher.

Base model: moonshine-ai/moonshine-base

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 04:39 UTCpassed

Model card

From the publisher at commit b1e9b6a. Shown as plain text with links; images open at the publisher.

Usage#

Transformers.js#

If you haven't already, you can install the Transformers.js JavaScript library from NPM using:

npm i @huggingface/transformers

Example: Automatic speech recognition w/ Moonshine base.

import { pipeline } from "@huggingface/transformers";

const transcriber = await pipeline("automatic-speech-recognition", "onnx-community/moonshine-base-ONNX");
const output = await transcriber("https://huggingface.co/datasets/Xenova/transformers.js-docs/resolve/main/jfk.wav");
console.log(output);
// { text: 'And so my fellow Americans ask not what your country can do for you as what you can do for your country.' }
ONNXRuntime#
import numpy as np
import onnxruntime as ort
from transformers import AutoConfig, AutoTokenizer
import librosa

# Load config and tokenizer
model_id = 'onnx-community/moonshine-base-ONNX'
config = AutoConfig.from_pretrained(model_id)
tokenizer = AutoTokenizer.from_pretrained(model_id)

# Load encoder and decoder sessions
encoder_session = ort.InferenceSession('./onnx/encoder_model_quantized.onnx')
decoder_session = ort.InferenceSession('./onnx/decoder_model_merged_quantized.onnx')

# Set config values
eos_token_id = config.eos_token_id
num_key_value_heads = config.decoder_num_key_value_heads
dim_kv = config.hidden_size // config.decoder_num_attention_heads

# Load audio
audio_file = 'jfk.wav'
audio = librosa.load(audio_file, sr=16_000)[0][None]

# Run encoder
encoder_outputs = encoder_session.run(None, dict(input_values=audio))[0]

# Prepare decoder inputs
batch_size = encoder_outputs.shape[0]
input_ids = np.array([[config.decoder_start_token_id]] * batch_size)
past_key_values = {
    f'past_key_values.{layer}.{module}.{kv}': np.zeros([batch_size, num_key_value_heads, 0, dim_kv], dtype=np.float32)
    for layer in range(config.decoder_num_hidden_layers)
    for module in ('decoder', 'encoder')
    for kv in ('key', 'value')
}

# max 6 tokens per second of audio
max_len = min((audio.shape[-1] // 16_000) * 6, config.max_position_embeddings)

generated_tokens = input_ids
for i in range(max_len):
  use_cache_branch = i > 0
  logits, *present_key_values = decoder_session.run(None, dict(
      input_ids=generated_tokens[:, -1:],
      encoder_hidden_states=encoder_outputs,
      use_cache_branch=[use_cache_branch],
      **past_key_values,
  ))
  next_tokens = logits[:, -1].argmax(-1, keepdims=True)
  for j, key in enumerate(past_key_values):
    if not use_cache_branch or 'decoder' in key:
      past_key_values[key] = present_key_values[j]
  generated_tokens = np.concatenate([generated_tokens, next_tokens], axis=-1)
  if (next_tokens == eos_token_id).all():
    break

result = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
print(result)

Files

40 files · 2.03 GBWeights 16.6 MB (smallest of 32 ONNX variants). Sizes and sha256 from the signed manifest.
Show all 40 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md3.02 KBaec704c10b3790a22b2c6600653d2c283bb205fba557a921da032fbb38780c34
config.json922 Bfab7241d1e9fc6c2370c4c6dfb5da79bb54d67ed9ab6b507ac51d29d2abe01d1
generation_config.json147 Bf9b3f711b57be7def2e50a8942f64f36ee0a55fad5b84ff93a687b6c5bcc1d44
onnx/decoder_model.onnx166 MBd957c6418d65baee2842373c6842846c3ed6c9d9fc0ef48d790b110665e18063
onnx/decoder_model_bnb4.onnx70.6 MB36cc34ed5f7dee0071be479c060a5e445d74b5094067865edb046f4d0be01971
onnx/decoder_model_fp16.onnx83.1 MBa01ebec77f890436f6986ac1d1bea8e6acfa57cdd9e1a1b1e7657d081d413a03
onnx/decoder_model_int8.onnx41.9 MB0b02cd62e2e65c2dd41ed04ea55590ea107250d678b0ed5406d89f20d8f27018
onnx/decoder_model_merged.onnx166 MB58778763ca8438963190244d6b26572bdca2cedec56a4b91e828f3f2d69ef3c5
onnx/decoder_model_merged_bnb4.onnx71.1 MB72b1970a12b3f74dca6dbc9292133631cc997b807ab7c347739f39d175c7da3d
onnx/decoder_model_merged_fp16.onnx161 MB542f8e80ef451e8860a2354ef5b14510f5aa34107dbfb5af727f6e270d601135
onnx/decoder_model_merged_int8.onnx42.4 MB45febab0347ffbe1326459e092ae20a2cfda10ca33ab018b3c299247284de61b
onnx/decoder_model_merged_q4.onnx72.8 MB9f26db50c9f3b2eb1962ab93e9753f908c56367817d791032af58cbf7dba3803
onnx/decoder_model_merged_q4f16.onnx85.1 MB3cc9ead94f9f634229e4749b9bc9190c2a8f9a6aa10d54aea1be75091d6839c6
onnx/decoder_model_merged_quantized.onnx42.5 MBcc9f3cd6698a369c6008b41aa60aa3fb3322e7f03c9bdf19d8e6b7200afca4f3
onnx/decoder_model_merged_uint8.onnx42.4 MB29bd47951f72e593e0d09aecb81905d20b7892d4574bf23d16e79c0cb2a91e82
onnx/decoder_model_q4.onnx72.3 MBc4490e5bc3847f2a74e4ede8988b5bb05cd342d2bf4acfc151c104e60498eedb
onnx/decoder_model_q4f16.onnx43.3 MBa20c08b0ba7fcee5944d1b8a64c086c6b116dc877ec82cdd26050260c7dea89d
onnx/decoder_model_quantized.onnx41.9 MB0b02cd62e2e65c2dd41ed04ea55590ea107250d678b0ed5406d89f20d8f27018
onnx/decoder_model_uint8.onnx41.9 MB7f43376fe36cc45786821291c662051d6b9509bb407ef16f708398cfe9045ee8
onnx/decoder_with_past_model.onnx155 MB2d8740fb19673870125ed6f15370dd316c8c43d266e0846a6f456b354cebf169
onnx/decoder_with_past_model_bnb4.onnx69.0 MBfc967d15806d593293d07daf6722590d0329e226b1e241bd6df137ee0b5fbcaf
onnx/decoder_with_past_model_fp16.onnx77.5 MB41aa6bbb5a9d10f564ca8f0a563f4e960f5d930b17465f0837fb75f503657ec5
onnx/decoder_with_past_model_int8.onnx39.1 MB0512d16f83067279e9adbb3185a6bf0469f266945bc28aeb4ed190c619fe4fdf
onnx/decoder_with_past_model_q4.onnx70.5 MB30ec48b575b513cce3fe901cfc906db3cfd6a6ab2ca6df37fb0e8c7970a4020d
onnx/decoder_with_past_model_q4f16.onnx41.6 MB5b3eba418f4cdcf770ad37d66548e81a63ea3ac82271831d2a9efe75c5385255
onnx/decoder_with_past_model_quantized.onnx39.1 MB0512d16f83067279e9adbb3185a6bf0469f266945bc28aeb4ed190c619fe4fdf
onnx/decoder_with_past_model_uint8.onnx39.1 MB8d32fc241a2feada3cf95e2bccd70a5a124aeeaf11de820a95123378cdcc84e5
onnx/encoder_model.onnx80.8 MB153e128e7abd64a74ee47f2c3f585c3171c4d46cbb368b032827934c4e01e779
onnx/encoder_model_bnb4.onnx23.7 MB25bcba1c2bdedba0d0d26eb86c276981285bd2ffa99dac3eb6e4a5517f018466
onnx/encoder_model_fp16.onnx40.5 MB30eb888737aa9b5fd7e89131ba4efade0364b54ad3e8029e00b607fd8b5acda0
onnx/encoder_model_int8.onnx20.5 MB4edb38db96b52ddee5a3b25d2211bb6394f9a9a2d95f67bce0e8c861da018a4d
onnx/encoder_model_q4.onnx24.8 MB32d3ed1aa2325e38b0ec6d1d91f545d42b45ad7b1d0b1b610a1d8c131dc5d37e
onnx/encoder_model_q4f16.onnx16.6 MB6001c213c12498132cc1bfe8a5aa1201286413d69ad0cf6d751117140dc61b4b
onnx/encoder_model_quantized.onnx20.5 MB1dd9ab0a7f987113d30affcba5a068d11c8f90fa0223caa3e491ade431ad9751
onnx/encoder_model_uint8.onnx20.5 MBc523a80ec1b63b177e3dba1e70909525815df4668680cd802fe2fb3b3e2d123d
preprocessor_config.json128 Bfa43a7017ef85cd1d0fba0d9aae77c8adb16990ae6f11115631f41ec5d8aa679
special_tokens_map.json3 Bca3d163bab055381827226140568f3bef7eaac187cebd76878e0b63e9e442356
tokenizer.json3.76 MB7b913404bdd039af4756783218af4440bc07fb7d6d8258d677e34f95b3ec416f
tokenizer_config.json136 KBedaee394565d428ea98a663ae7209cdcfeefc5585c42d7a570ff7c986df2cd15
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
b1e9b6aae3 pinned now2026-11-15 04:39 UTC40 files · 2.03 GB

Use it

$ fw get onnx-community/moonshine-base-ONNX
# manifest sha256 432542631185… · 2.03 GB · 40 files
$ fw verify ./moonshine-base-ONNX onnx-community/moonshine-base-ONNX
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/onnx-community/moonshine-base-ONNX.json --dir ./moonshine-base-ONNX $ python3 fw.py verify ./moonshine-base-ONNX ./onnx-community__moonshine-base-ONNX.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/moonshine-base-ONNX --revision b1e9b6aae3c3c7298f10c3798393fdf38e8fbbad --local-dir ./moonshine-base-ONNX

License

Name
MIT License
Id
MIT
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
aec704c10b3790a22b2c6600653d2c283bb205fba557a921da032fbb38780c34
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.speechSubject: moonshine-base-ONNXDate: 2026-11-15Commit: b1e9b6aSigned: 2DC28CC7B26A283B ✓
Upstream
onnx-community/moonshine-base-ONNX
Pinned commit
b1e9b6aae3c3c7298f10c3798393fdf38e8fbbad
Manifest
moonshine-base-ONNX.json · .minisig
Manifest sha256
43254263118578a40234216a6eb01581a8075f7bb8211d168ce4414723670e6b
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:39 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/onnx-community/moonshine-base-ONNX.json $ curl -O https://freeweights.allternit.com/manifests/onnx-community/moonshine-base-ONNX.json.minisig $ minisign -Vm moonshine-base-ONNX.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

moonshine-ai/moonshine-base · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/moonshine-base-ONNX
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. moonshine-base-ONNX.json. Provenance. Takedown history: none.
From: MIT <huggingface.co/MIT>Subject: ast-finetuned-audioset-10-10-0.4593
From: onnx-community <huggingface.co/onnx-community>Subject: ast-finetuned-audioset-10-10-0.4593-ONNX
From: Edge0 <huggingface.co/Edge0>Subject: Audio8-TTS-Preview-0.6b
From: Edge0 <huggingface.co/Edge0>Subject: Audio8-TTS-Realistic-Air
From: facebook <huggingface.co/facebook>Subject: audiobox-aesthetics
From: mlx-community <huggingface.co/mlx-community>Subject: chatterbox-4bit