Skip to content

new asr model: parakeet_tdt: add Underdog Bark 3.0 Plus English ASR - #1131

Merged
0xShug0 merged 2 commits into
0xShug0:mainfrom
mirek190:agent/underdog-bark3-plus-20261029
Oct 29, 2026
Merged

0xShug0 merged 2 commits into
0xShug0:mainfrom
mirek190:agent/underdog-bark3-plus-20261029

Conversation

@mirek190

@mirek190 mirek190 commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Adds Underdog Bark 3.0 Plus as an English ASR variant of the existing parakeet_tdt community family, following CONTRIBUTING.md/model spec v1. The native converter decodes the pinned 180 MB ANS/FP16-level container without running downloaded Python; inference uses existing native GGML operations with no Python or ANS dependency.

Based on the Pro support merged in #1130 and rebased onto current main. This PR contains the Plus GGUF model extension. Native loading of the original compressed .bark file for both Plus and Standard is in the independent #1133. Plus is selected explicitly; stock Parakeet, Phonon and Pro retain their paths. No shared framework/kernel or multi-slot changes.

Implementation and packaging

  • All 699 decoded inference tensors exactly match the unmodified official loader. The converter verifies the source checkpoint/base sidecars, drops 24 training-only counters, and embeds tokenizer/configs, English spec v1, provenance/tensor hashes, NOTICE and full CC-BY-4.0 license.
  • Full context is the default, including the publisher's 250 ms prefix. CLI, ordinary legacy HTTP and buffered streaming reuse existing model-owned state.
  • Lossless mixed-F16 keeps non-representable integer/scale products and normalization/projection compensation in F32. Q8 protects feed-forward/pointwise tensors with exact F16 and non-representable products with F32; remaining eligible attention matrices use Q8_0. BF16/Q8 are rounded derivatives.
  • README, license table, family docs/spec, Plus guide, server example, converter/unit tests and pinned official-reference harness are included. Model-manager downloads remain unadvertised until actual publication.

GGUF sizes (the compressed source download is not the expanded runtime footprint):

Storage File size (MiB) Weight fidelity
f32 2393.48 Preserves staged values
mixed-f16 1241.35 Preserves staged values
q8_0 1129.00 Rounded derivative
bf16 1205.46 Rounded derivative

Five-minute recording: offline full-context time and sampled memory

Original PyTorch CUDA/FP32 takes 2.563 s on the same 299.99375 s recording.

Backend GGUF Time Peak extra VRAM incl. model (GiB) Peak RSS (GiB) Text vs original FP32
CPU f32 34.291 s 0.00 5.17 Exact
CPU mixed-f16 34.551 s 0.00 4.56 Exact
CPU q8_0 33.512 s 0.00 4.52 One comma differs
CPU bf16 34.214 s 0.00 4.52 Exact
CUDA f32 0.816 s 5.19 2.98 Exact
CUDA mixed-f16 0.786 s 5.29 2.17 Exact
CUDA q8_0 0.805 s 4.64 2.11 Exact
CUDA bf16 0.783 s 5.03 2.18 Exact
VULKAN f32 0.924 s 5.33 2.91 Exact
VULKAN mixed-f16 0.898 s 5.08 2.11 Exact
VULKAN q8_0 0.909 s 5.06 2.05 Exact
VULKAN bf16 0.886 s 4.57 2.10 Exact

F32/mixed-F16 match the full original transcript on every backend. CPU Q8 omits one comma, with identical normalized words; the other full-recording results match exactly. Mixed-F16 is the recommended fidelity package. Matching these recordings is not a corpus-level WER or universal quantized-parity claim.

Windows 11 / RTX 3090 24 GiB / eight inference threads; CPU-only and CUDA/Vulkan Release builds. GPU timing is the median of the last two of three full requests after short warmup; CPU is one full request including graph build. Both exclude model load/file I/O and include preprocessing/decoding. NVML and RSS sampled every 100 ms; memory includes model and temporary/pool allocations. OMP_NUM_THREADS=8, OMP_WAIT_POLICY=PASSIVE for all runs.

Validation completed locally

  • 108/108 original-reference checks: CPU/CUDA/Vulkan x F32/mixed-F16/protected Q8/BF16 x six clips plus short/long/short reuse. Exact text and bounded timestamps.
  • 66/66 HTTP/SSE checks: references, native vocabulary bias controls, VAD spans/silence/token budget, HTTP 400/error recovery, and repeated unbiased/prompted streams.
  • Ten additional repeated server requests per backend after warmup: device VRAM range 0 MiB on both CUDA/Vulkan; RSS ranges 0.02 / 0.41 / 1.26 MiB for CPU/CUDA/Vulkan.
  • Ten focused CTests; five Plus, five Pro and thirteen Phonon converter tests; loader/catalog sync/self-tests; actual stock Parakeet streaming/reset regression all pass.

Limits: English only; attention memory grows with full-context duration; buffered streaming/VAD/context changes can differ from original whole-recording decoding. VAD is offline-only. Metal/HIP and corpus WER are unvalidated. No packed ANS GPU kernels, GGUF upload or unpublished download entries are claimed.

Build/run/conversion guide · Full validation, hashes, methodology and artifact paths

@mirek190 mirek190 changed the title parakeet_tdt: add Underdog Bark 3.0 Plus ASR new asr model: parakeet_tdt: add Underdog Bark 3.0 Plus ASR Oct 29, 2026
@mirek190
mirek190 marked this pull request as ready for review October 29, 2026 16:44
@mirek190 mirek190 changed the title new asr model: parakeet_tdt: add Underdog Bark 3.0 Plus ASR new asr model: parakeet_tdt: add Underdog Bark 3.0 Plus English ASR Oct 29, 2026
@mirek190
mirek190 marked this pull request as draft October 29, 2026 17:25
@0xShug0

0xShug0 commented Oct 29, 2026

Copy link
Copy Markdown
Owner

@mirek190 Just ping me when it's ready.

@0xShug0

0xShug0 commented Oct 29, 2026

Copy link
Copy Markdown
Owner

@mirek190 I think you could create a separate family/spec for Bark, given its many variants, and simply forward requests to the existing Parakeet implementation. No need to split the inference code and create another model folder.

@mirek190

Copy link
Copy Markdown
Contributor Author

just doing it

@mirek190
mirek190 force-pushed the agent/underdog-bark3-plus-20261029 branch from c5bccdb to 57f8683 Compare October 29, 2026 18:55
@mirek190
mirek190 marked this pull request as ready for review October 29, 2026 20:03
@mirek190

mirek190 commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor Author

ready

@0xShug0
0xShug0 merged commit b78e7a5 into 0xShug0:main Oct 29, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants