AI SeedbankHelp preserve open and free AI for humanity's future

← All models

bosonai_higgs-audio-v3-stt

bosonai · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: 1 · Leechers: 0

Observed 2026-09-02T13:56:39Z via announce.aitorrent.org:7070.

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


license: apache-2.0 language:

  • en tags:
  • automatic-speech-recognition
  • hf-asr-leaderboard
  • whisper
  • qwen pipeline_tag: automatic-speech-recognition

Higgs Audio v3 STT

A speech-to-text model combining a Whisper-Large-v3 encoder with a Qwen3 decoder (2.68B total parameters).

Update (June 2026)

This repository now hosts an updated checkpoint. Changes:

  • Fine-tuning data refreshed: public train splits of AMI (IHM), VoxPopuli (en), SPGISpeech, LibriSpeech, TED-LIUM, GigaSpeech, plus the public Earnings22 train split (sanchit-gandhi/earnings22_split) with all rows from source recordings that appear in the ESB/Open-ASR test sets excluded.
  • transcribe.py adds a phrase-level repetition-loop collapse alongside the existing word-repetition cap (implemented inline in transcribe.py; ngram_loop_fix.py carries the standalone reference and tests). Both are deterministic and applied uniformly to every dataset.
  • Evaluation: see the Open ASR Leaderboard for independently produced results; note that figures listed there predate this update until the entry is re-evaluated. Figures previously listed on this card came from an earlier checkpoint and evaluation setup and are superseded.

The previous weights remain available via the git revision history.

Usage

Important: This model uses a custom architecture. You must pass trust_remote_code=True when loading.

import torch
from transformers import AutoConfig, AutoModel, AutoTokenizer

# Load model
model = AutoModel.from_pretrained(
    "bosonai/higgs-audio-v3-stt",
    torch_dtype=torch.bfloat16,
    trust_remote_code=True,
    attn_implementation="eager",
    device_map="cuda:0",
)

# Load tokenizer
tokenizer = AutoTokenizer.from_pretrained("bosonai/higgs-audio-v3-stt")

Full Transcription Example

Audio preprocessing requires the boson_multimodal library:

import torch
import numpy as np
from functools import partial
from dataclasses import asdict
from transformers import AutoConfig, AutoModel, AutoTokenizer, WhisperProcessor

# Load model
config = AutoConfig.from_pretrained("bosonai/higgs-audio-v3-stt", trust_remote_code=True)
model = AutoModel.from_pretrained(
    "bosonai/higgs-audio-v3-stt",
    torch_dtype=torch.bfloat16,
    trust_remote_code=True,
    attn_implementation="eager",
    device_map="cuda:0",
)
model.eval()
tokenizer = AutoTokenizer.from_pretrained("bosonai/higgs-audio-v3-stt")
model.audio_out_bos_token_id = tokenizer.convert_tokens_to_ids("<|audio_out_bos|>")
model.audio_eos_token_id = tokenizer.convert_tokens_to_ids("<|audio_eos|>")

# Audio collator setup
from boson_multimodal.data_collator.higgs_audio_collator import HiggsAudioSampleCollator
from boson_multimodal.data_types import ChatMLSample, AudioContent, Message
from boson_multimodal.dataset.chatml_dataset import ChatMLDatasetSample, prepare_chatml_sample_qwen

whisper_proc = WhisperProcessor.from_pretrained("openai/whisper-large-v3")
collator = HiggsAudioSampleCollator(
    whisper_processor=whisper_proc,
    audio_in_token_id=config.audio_in_token_idx,
    audio_out_token_id=config.audio_out_token_idx,
    audio_stream_bos_id=config.audio_stream_bos_id,
    audio_stream_eos_id=config.audio_stream_eos_id,
    encode_whisper_embed=config.encode_whisper_embed,
    pad_token_id=config.pad_token_id,
    return_audio_in_tokens=config.encode_audio_in_tokens,
    use_delay_pattern=config.use_delay_pattern,
    round_to=1,
    audio_num_codebooks=config.audio_num_codebooks,
    chunk_size_seconds=getattr(config, "chunk_size_seconds", 30),
    encoder_padding_method=getattr(config, "encoder_padding_method", "max_length"),
)

# Transcribe
import soundfile as sf

audio_np, sr = sf.read("audio.wav")  # must be 16kHz mono
if sr != 16000:
    import librosa
    audio_np = librosa.resample(audio_np, orig_sr=sr, target_sr=16000)

prompt = "Transcribe the speech. Output only the spoken words in lowercase with no punctuation."
messages = [Message(role="user", content=[prompt, AudioContent(audio_url="placeholder")])]
chatml = ChatMLSample(messages=messages)
prep_fn = partial(prepare_chatml_sample_qwen, enable_thinking=True)
input_tokens, _, _, _ = prep_fn(chatml, tokenizer, add_generation_prompt=True)

sample = ChatMLDatasetSample(
    input_ids=torch.LongTensor(input_tokens),
    label_ids=None,
    audio_ids_concat=None,
    audio_ids_start=None,
    audio_waveforms_concat=torch.tensor(audio_np, dtype=torch.float32),
    audio_waveforms_start=torch.tensor([0]),
    audio_sample_rate=torch.tensor([16000]),
    audio_speaker_indices=torch.tensor([0]),
)

batch = asdict(collator([sample]))
device = next(model.parameters()).device
batch = {k: v.to(device).contiguous() if isinstance(v, torch.Tensor) else v for k, v in batch.items()}

with torch.inference_mode():
    outputs = model.generate(**batch, max_new_tokens=1024, use_cache=True, do_sample=False,
                             stop_strings=["<|im_end|>", "<|endoftext|>"], tokenizer=tokenizer)

output_ids = outputs[0] if isinstance(outputs, tuple) else outputs
full_text = tokenizer.decode(output_ids[0], skip_special_tokens=False)

# Extract transcription (remove thinking block and special tokens)
import re
parts = full_text.split("assistant\n")
hyp = parts[-1] if len(parts) > 1 else full_text
hyp = re.sub(r"<think>.*?</think>", "", hyp, flags=re.DOTALL)
hyp = re.sub(r"<\|.*?\|>", "", hyp).strip()
print(hyp)

# For the exact pipeline used in our evaluations (including the
# deterministic repetition/loop post-processing), use transcribe.py
# bundled in this repo: transcribe() / transcribe_batch().

Requirements

torch
transformers>=4.51.0
boson_multimodal  # for audio preprocessing

Architecture

  • Encoder: Whisper-Large-v3 (attention layers fine-tuned in v2)
  • Decoder: Qwen3-1.7B
  • Total parameters: 2.68B
  • Audio input: 16kHz mono WAV
  • Supports: Thinking mode for improved accuracy

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:fc8221c1a6c2bf6019ae883c2b3899763a1f1c0d&dn=bosonai_higgs-audio-v3-stt

Open magnet in torrent client · infohash fc8221c1a6c2bf6019ae883c2b3899763a1f1c0d

Files & hashes

PathSizesha1sha256
MERGE_PROVENANCE.json685 B (685 B)c3d89cea62085f65577b30783254d9e5346ecb7d623ccbb286c848e8f288cf00f8aa4c36816dcb13b1bf224375a9784fadd50a10
README.md5.9 KB (6,022 B)1aa3600f35874e52936117d106e8801c3d9749f08f5eddec2afd097c3a3b7d98b9e1f8e9911ed036fe550c43c1cd6e5a495e2a51
added_tokens.json1.2 KB (1,185 B)6b5766a58f30e2098515216a4f4c80927b39ef74b9599c6bc310e3af8490040df1782cdef4ecb2d9f08dcad2ba1869cdb94c61ec
attention.py8.5 KB (8,710 B)feaac1f992e837f5dd7c0ba5181557efd783d371ca26f0d2e16fdf57313e8ee639f7728a22833ea37bbb323fe79b72cdbdd04646
common.py1.1 KB (1,094 B)f427563893c0e62e28312de9b8fb706c933344be8fb3fc531d985f5d60ff40cdb0f6214ef0715a0d0643e74e566fa89eeabd49d0
config.json5.8 KB (5,909 B)1e71a645542c82636852e6c0d26656b664c555413bd04c7ca043c76b4d7812abf395eaffc4e93d2e4fa28d9e417b79ce03b4d783
configuration_higgs_audio.py9.7 KB (9,882 B)6c52e3a3322f558c163962e7e2baa8ff0c4ee5de5c3584743c71d326d6d4a40389639cfaace8a17ac006bb27e8c522ba44ed18e3
cuda_graph_runner.py5.0 KB (5,144 B)9c39625426646e42509482ee607f8033297296f3a4d67d89e23334304dd831ff049d2df357f9e8e25a3761587eb549d093db04d5
custom_modules.py6.0 KB (6,186 B)eb585c8cc8edb6be7762cbc5ccd149e77079ecb3eb1a8d99d4aae8475b7a0f06f28d63f9014fcbf953fb31567c1f61fe4882f5c4
generation_config.json147 B (147 B)61b22f4682ff24147ac9e9b21b5868043de0e9d2c1172416c87609377570678ff222c8b18455ceee3dd240f8a87113fabec89ac8
higgs_audio_collator.py35.8 KB (36,643 B)31cc06477fdfc590edfa7f178e73319c2e97d80077c72b98bc9daff4669eecf7d0686ded0b1fbc57f8d0fcb404b62bd77242837b
merges.txt1.6 MB (1,671,853 B)31349551d90c7606f325fe0f11bbb8bd5fa0d7c78831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5
model-00001-of-00002.safetensors4.40 GB (4,728,828,400 B)b840d2da77fa9cc14f3c72812e711c03fd6f65a0ee2160c035cef428edd4a0dca35fef31cb49531776677f0b597c0fc859599580
model-00002-of-00002.safetensors593.5 MB (622,354,784 B)e58adb075fbdab7f5af685a86db6d5f66e967171ad37c68f8dd3f97d32027b54b1ba7f10428ac2dcd0e675ee7bcafd3ef68ba7c3
model.safetensors.index.json64.2 KB (65,718 B)30aef7165cbeb5383a23ad5c2b080a62b0b0c659717c57575604b803774308efa7b7dfedc5394cc82ad1a293a651840362629f30
modeling_higgs_audio.py107.6 KB (110,160 B)f7bb5a890b258b52026526cacc8aae4bec7c915e6259e90f8f5048e392572a9509e9e595339d097f720d3b004b9e2df199b1174c
modeling_higgs_audio_xcodec.py19.7 KB (20,185 B)cc0deb2adda708210d084b3d5051cfe9948a18478d7eea957d188243230088316bb237d64e347ae97b9839eed229fef2fbbce8bd
ngram_loop_fix.py2.0 KB (2,069 B)f2471bce9db92cbc00493cdfe34cee20af300a1444010170393bf47891d4176b70aa5141fb575754cd23981c2064f13e9b3b3fd6
open_asr_leaderboard/README.md2.9 KB (3,010 B)b7da4faf013b505359ad6d07a0c83930f0eed3c82368e5624cd9d96b3c4b6085a42d97a1bb88c0719f2608c2b169396f4f435a58
open_asr_leaderboard/aggregate.py4.1 KB (4,171 B)520fb5c01e12790ba3f43982e9fcb7d0d21deae18fb0618a62609232c5aab369cded549bddc84210d03d48f2356331ed4e31707b
open_asr_leaderboard/run_8gpu_parallel.sh1.8 KB (1,800 B)b3999047eb8097c0dc0d93c2e0a70e57cd975cbd499f72a092c4bc0e5a5cb6650d4c5c849d07c1cb2cfb049abe0df7ca1e76b1d9
open_asr_leaderboard/run_eval.py15.2 KB (15,592 B)2124f51f0f4324cb50dcee5fcaa40fd12c1e400b39e10b4374ab2dd01496ddc13f1284345f9bba1f5d76dd567460e887294c8a6b
special_tokens_map.json613 B (613 B)ac23c0aaa2434523c494330aeb79c5839537810376862e765266b85aa9459767e33cbaf13970f327a0e88d1c65846c2ddd3a1ecd
tokenizer.json10.9 MB (11,425,740 B)b5364af9c43871b89acfb6ed8b5fde6686900655a94e8e77dc484e3f37cd2a82a940a41bb918918defb7a36f6b517657c1616018
tokenizer_config.json12.4 KB (12,656 B)b33e5b2a30c0afebe01f522d8559d7b883771f8697441a379bb20beb786abf288ef0da54ad1fa2bcf7e0e3bdd3fb57dd3f23cb0e
transcribe.py15.7 KB (16,055 B)f193a62c8613069b70c79f48443f06dae16e299a6c159a8d01bf0f9f49d8a7c9b1e9ebf752540f9d949a4233033e8ba6f42ace5a
utils.py35.6 KB (36,457 B)1b3bc437950c2540d7824bb06bb3450114b2fa5f4a39b74dd86010cb485ca0c6436b7368ec429250376ed8716c48ef9b73cc863a
vocab.json2.6 MB (2,776,833 B)4783fe10ac3adce15ac8f358ef5462739852c569ca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910

Cite this release

Canonical URL
https://aiseedbank.org/models/bosonai_higgs-audio-v3-stt/
Slug
bosonai_higgs-audio-v3-stt
Infohash
fc8221c1a6c2bf6019ae883c2b3899763a1f1c0d
License
apache-2.0
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: bosonai_higgs-audio-v3-stt.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositorybosonai/higgs-audio-v3-stt
Revision (pinned)2ffd1aa39f5a1266931e405cba12e404a9f994b2
Fetched at2026-09-02T05:07:19Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-02T05:08:08Z

apache-2.05.00 GB (5,367,427,703 bytes)safetensorshiggs_audio_3automatic-speech-recognitionhf-asr-leaderboardwhisperqwencustom_code1 language (en)