WAVE-Token / WAVE-GPT Open Weights (v8_open, Apache-2.0)
j-h/wave-token-gpt-open provides 100% Apache-2.0 commercial-safe pretrained causal factored Transformers (WAVE-GPT) operating on physics-verified, channel-invariant bioacoustic event tokens (WAVE-Token v2 / v2_poly) extracted by WAVE-AUDIT.
Instead of tokenizing raw underwater audio at 50 Hz (~10⁵ frames/hour, which leaks hydrophone transfer functions and ambient ocean noise at 86–99% accuracy), WAVE-Token v2 strips background clutter via deterministic waveform-subtraction physics and compresses each verified call into a discrete, human-auditable event tuple (100–1,000× compression) with explicit 4-voice polyphony and harmonic richness (v2_poly).
Strict Provenance Segregation: This repository contains ONLY 100% Public Domain (
NOAA SanctSound) +CC-BY-4.0(DiNardo2023,OpenWhistle,DORI-SRKW,DOLPHINFREE) weights — ZERONOAA DCLDEnon-commercial audio, ZEROWHOI Watkins, ZEROOrcasoundCC-BY-NC-SA audio, and ZERO sealed Ambracian Gulf (001.wav/002.wav) orGarraf_2024recordings. For non-commercial research weights that additionally includeNOAA_DCLDE_2011, seej-h/wave-token-gpt-research.
Published Preprint & Code:
- Paper 3 Preprint (Zenodo DOI):
10.5281/zenodo.24582866- Source Code & Companion Website:
github.com/j-hoeppner/wave-token-gpt·j-hoeppner.github.io/wave-token-gpt- Stage-1 Physics Front-End (Paper 2):
10.5281/zenodo.24582677·github.com/j-hoeppner/wave-audit
1. Included Apache-2.0 Checkpoints
Exact SHA-256 digests for all 5 checkpoints are provided in SHA256SUMS_v8.txt.
| Checkpoint File | Size | Stream Mode | Parameters | Training Provenance | Recommended Role |
|---|---|---|---|---|---|
wave_gpt_v8_open_poly_base_12m.pt | 57.69 MB | v2_poly (13 factors) | 14,416,166 | Pass 4 (180,549 open events) | Flagship Apache-2.0 Sequence Model: Best open LOSO NLL (11.9458 nats, +1.8297 vs. HMM on unseen Garraf_2024; Chinchilla crossover winner over compact_3m). |
wave_gpt_v8_open_poly_compact_3m.pt | 11.01 MB | v2_poly (13 factors) | 2,746,778 | Pass 4 (180,549 open events) | Fast Polyphonic Edge/Interactive Model: <50 ms live 4-voice stereo CUDA synthesis (25.6 ms mean), +1.7766 vs. HMM (+2.9390 cross-motif). |
wave_gpt_v8_open_poly_behavior_compact_3m.pt | 11.45 MB | v2_poly + Beh/Turn | 2,854,895 | Pass 5 (DOLPHINFREE + OpenWhistle, CC-BY-4.0) | Grounded Turn-Taking & Behavior-Conditioned Model: Fine-tuned from v8_open_poly_compact_3m for behavior-conditioned synthesis (foraging, socialising, travelling) and turn-taking probes. |
wave_gpt_v8_open_compact_3m.pt | 10.97 MB | v2 (10 factors) | 2,738,330 | Pass 3 (56,163 open events) | Monophonic v2 Baseline (compact_3m): Reproduces Pass 3 Gate 2 matched 4-way ablation (+0.5611 vs. HMM). |
wave_gpt_v8_open_base_12m.pt | 57.62 MB | v2 (10 factors) | 14,399,270 | Pass 3 (56,163 open events) | Monophonic v2 Baseline (base_12m): Pass 3 capacity scaling reference (+0.5396 vs. HMM at 56k events). |
2. Architecture (WAVE-Token v2 / v2_poly & WAVE-GPT)
Event Tokenization (wave_audit/wave_token_v2.py)
v2(10 discrete factors):cls_phys(TON,PLS,IMP,CLK,BZZ),timing_bin(Δt),dur_bin,f_med_bin,f_span_bin,f_rep_bin(strictly masked on tonal events to prevent snapping-shrimp leakage), plus 4 continuous Finite Scalar Quantization (FSQ) contour-shape knots (S0..S3). Drops legacyGUILDtags entirely.v2_poly(13 discrete factors): Preserves all 10v2factors and adds:harm_bin(H0..H3): harmonic richness binvoice_slot(V0..V3): 4-voice simultaneous chorus track assignmentoverlap_ms_bin(OM0..OM3): temporal overlap multiplicity
Causal Factored Transformer (wave_audit/wave_gpt.py)
All models share a RoPE + RMSNorm + SwiGLU causal Transformer backbone with continuous log(Δt) inter-call attention bias (dt_tau0_s = 0.05) and parallel per-factor prediction heads:
| Preset | d_model | n_layers | n_heads | d_ff | max_seq_len | dropout | Params (v2 / v2_poly) |
|---|---|---|---|---|---|---|---|
compact_3m | 192 | 4 | 6 | 896 | 512 | 0.15 | 2,738,330 / 2,746,778 (behavior: 2,854,895) |
base_12m | 384 | 6 | 6 | 1536 | 1024 | 0.10 | 14,399,270 / 14,416,166 |
3. Training Data Provenance (100% PD + CC-BY-4.0) & Zero-Leakage Protocol
3.1 Open Training Corpus (v8_open)
| Source Dataset | License | Pass 3 (v2) Events | Pass 4 (v2_poly) Events | Notes / Sampling Controls |
|---|---|---|---|---|
| NOAA SanctSound (NCEI / GCP) | U.S. Gov Public Domain | 36,000 (6 sites) | 145,587 (GR01 79,309 + FK01 66,278) | Free-ranging Atlantic/Gulf marine soundscapes |
| DiNardo et al. (2023) | CC-BY-4.0 | 14,939 | 31,128 | Wild Tursiops vocalizations |
| OpenWhistle | CC-BY-4.0 | 4,000 | 2,400 | Semi-captive Tursiops; strictly capped at <= 15% pretraining weight |
| DORI-SRKW (curated release) | CC-BY-4.0 | 1,224 | 1,434 | Southern Resident Killer Whales (excludes raw Orcasound S3 NC bucket) |
Pass 5 Fine-Tuning Additions: DOLPHINFREE (Zenodo 15681697) + OpenWhistle | CC-BY-4.0 | — | 18,586 (DOLPHINFREE 80 WAVs) + 8,354 (OpenWhistle 251 sessions) | Used exclusively for Pass 5 grounded evaluation & behavior_compact_3m |
Total Pretraining Pool (v8_open) | 100% PD + CC-BY-4.0 | 56,163 | 180,549 | Zero non-commercial or sealed-vault data |
3.2 Zero-Leakage LOSO & Sealed-Vault Protocol
- Sealed Leave-One-Site-Out (LOSO) Holdouts: Mediterranean Tursiops recordings from
Garraf_2024(4,269events) and Ambracian Gulf001.wav/002.wav(1,571/5,013events) were 100% sealed from all pretraining and hyperparameter tuning. - Code-Enforced Exclusion:
wave_audit/proposer.pyretainsFORBIDDEN_TRAIN_SUBSTRINGSintact, and11_wave_token_dataset_prep.py/17_wave_v8_pass4_scaling_poly.pyenforce hard track segregation (weights_v8_open/vs.weights_v8_research/).
4. Verified Benchmarks (All JSON-Audited)
4.1 Gate 1: 9-Site Tursiops Site Invariance vs. 6-Class OpenWhistle Bio-Utility
Evaluated on n = 315 multi-site Tursiops calls (9 sites, chance 19.68%) and n = 160 6-class OpenWhistle crops (chance 19.38%), all resampled to 48 kHz call-cropped audio:
| Front-End | Dim | 9-Site Lin Acc (↓) | 9-Site MLP Acc (↓) | OW 6-Class Bio Lin (↑) | OW Bio MLP (↑) |
|---|---|---|---|---|---|
AVES-bio | 768 | 98.73% | 97.78% | 41.25% | 42.50% |
OpenWhistle-Wav2Vec2.0 (trained on OW) | 768 | 95.24% | 94.29% | 78.12% | 80.00% |
Perch | 1280 | 86.98% | 85.71% | 20.62% | 25.00% |
Raw RVQ (DolphinGemma control) | 64 | 86.03% | 86.67% | 21.88% | 24.37% |
Fair Raw PCEN (48 kHz cropped) | 64 | 69.52% | 75.87% | 42.50% | 44.37% |
WAVE-Token v2 FSQ | 13 | 51.43% | 50.79% | 53.75% | 55.00% |
v2b Clean-Wave RVQ | 64 | 26.03% | 31.11% | 40.62% | 40.00% |
4.2 Gate 2: Matched 4-Way LOSO Ablation (Garraf_2024, n = 4,235)
Identical compact_3m Transformer and v8_open train/LOSO split:
| Stream Mode | WaveGPT NLL | HMM NLL | Δ vs. HMM Overall (95% CI) | Δ vs. HMM Cross-Motif | Beats All 6 Nulls? |
|---|---|---|---|---|---|
raw_rvq | 6.2148 | 6.0436 | -0.1712 [-0.2320, -0.1128] (LOSS) | -0.4626 | false |
v1 | 2.0830 | 2.3602 | +0.2772 [+0.2516, +0.3036] | +0.2367 | true |
v2 | 10.8943 | 11.3809 | +0.4866 [+0.4228, +0.5540] (WIN) | +0.5264 | true |
v2b | 0.4543 | 0.4838 | +0.0295 [+0.0190, +0.0403] | +0.0275 | false |
4.3 Pass 4 Bioacoustic Scaling Law (v8_open, v2_poly on Held-Out Garraf_2024, n = 4,235)
| Scale Point | Preset (Params) | Train Events | v2_poly NLL (↓) | core_10f NLL (↓) | HMM NLL | Δ vs. HMM Overall (95% CI) | Δ vs. HMM Cross-Motif |
|---|---|---|---|---|---|---|---|
10k | compact_3m (2.75M) | 10,112 | 12.3660 | 10.9366 | 13.3211 | +0.9551 [+0.8545, +1.0615] | +2.1495 |
30k | compact_3m (2.75M) | 30,080 | 12.3788 | 10.9426 | 13.5652 | +1.1864 [+1.0963, +1.2916] | +1.4561 |
75k | compact_3m (2.75M) | 75,032 | 12.1833 | 10.8523 | 13.5259 | +1.3426 [+1.2382, +1.4442] | +1.9056 |
180.5k | compact_3m (2.75M) | 180,549 | 11.9990 | 10.7476 | 13.7755 | +1.7766 [+1.6828, +1.8817] | +2.9390 |
180.5k | base_12m (14.42M) | 180,549 | 11.9458 | 10.6651 | 13.7755 | +1.8297 [+1.7423, +1.9211] | +2.9154 |
- Chinchilla Capacity Crossover: At
56kevents (Pass 3),compact_3mbeatbase_12m; at180.5kopen events (Pass 4),base_12m(11.9458nats) cleanly surpassescompact_3m(11.9990nats). - Gates 3–5 Summary (
v8_open):- Gate 3 (
002.wavunseen, n = 511):v2_polyFSQ motif clusteringARI = 0.3940/purity = 0.8650. - Gate 4 (
002.wav4-ch bearing split):open_base_12mshows a borderline exchange-vs-solo surprisal trend (mann_whitney_p = 0.0552, distinct22.41vs. same15.93nats;research_base_12mreachesp = 0.0405). - Gate 5 (
+3 dBreal SanctSound reef + 175 Hz boat):v2_polynearest-FSQ match94.84%(v2:95.97%),harm_binexact match95.31%, median FSQ L1 drift0.0.
- Gate 3 (
4.4 Pass 5 Grounded Multi-Dolphin Turn-Taking & Honest DOLPHINFREE Bounds
OpenWhistle7-Dolphin Turn-Taking (251sessions,8,354whistles,7,084named transitions, 5-fold session-grouped CV):- Pass 5 fine-tuned
wavegpt_turn_finetuned:ROC-AUC = 0.7082,bal_acc = 0.6519,macro_f1 = 0.6531, Mann-Whitneyp = 1.496 × 10⁻¹⁸¹(+0.0882over Pass 3 zero-shot0.6200;+0.0727over within-session shuffled null0.6355). - Rapid transitions (
Δt ≤ 2.0 s, n = 3,350):ROC-AUC = 0.6330(+0.1557over Pass 5 zero-shot0.4773; honest caveat: within-session shuffled rapid null =0.6517).
- Pass 5 fine-tuned
- Honest Gate 6 Bounded/Negative Result —
DOLPHINFREEWild 4-Class Behavior (Zenodo 15681697):- Balanced 30-slice Phase A probe (n = 29):
v2_poly_onlyachievedMacro OVR-AUC = 0.6826(permutation p = 0.0100). - Full-scale 80-WAV encounter-grouped 5-fold CV (
18,586events, severe{travelling:57, foraging:11, socialising:9, attracted:3}imbalance):wavegpt_v2_poly_tdoa_finetunedreachedOVR-AUC = 0.5850(p = 0.1194, non-significant) (v2_poly_only0.5519,p = 0.2239). Reported verbatim under Gate 6 scientific honesty.
- Balanced 30-slice Phase A probe (n = 29):
- Cross-Taxa & Perceptual Highlights: Zero-shot
WAVE-Token v2on 223 real German winter bird clips (4,998events, recordist-grouped 5-fold CV) reaches75.56%call-meaning accuracy on Kohlmeise and60.00%on Amsel with 21-recordist leakage ≤ chance (4.23%Lin /10.72%MLP vs.11.47%chance). Double-blind human audio Turing test (n = 8pairs,±0.0131 dBA-weighted match) fooled human ears on25%(2/8) of trials.
5. Python Quickstart
import torch
import soundfile as sf
from huggingface_hub import hf_hub_download
from wave_audit.wave_gpt import load_wave_gpt_checkpoint, DEFAULT_V2_POLY_VOCAB
from wave_audit.wave_token_v2 import decode_v2_to_wave
# 1. Download the flagship Apache-2.0 v2_poly checkpoint
ckpt_path = hf_hub_download(
repo_id="j-h/wave-token-gpt-open",
filename="wave_gpt_v8_open_poly_base_12m.pt",
)
# 2. Load WaveGPT in eval mode
model, meta = load_wave_gpt_checkpoint(ckpt_path, map_location="cpu")
print("Loaded:", meta.get("stream_mode"), "| params:", sum(p.numel() for p in model.parameters()))
# 3. Seed with a BOS + initial dolphin whistle token and sample 8 continuation events
seed_events = ["<TON|DT2|DUR2|F3|SP2|R_NA|S2-3-4-3|H2|V0|OM0>"]
prefix_ids, prefix_dt_s = DEFAULT_V2_POLY_VOCAB.encode_sequence(seed_events, prepend_bos=True)
with torch.no_grad():
gen_ids, gen_dt_s = model.generate(
prefix_ids=torch.from_numpy(prefix_ids).unsqueeze(0),
prefix_dt_s=torch.from_numpy(prefix_dt_s).unsqueeze(0),
max_new_events=8,
temperature=0.85,
)
# 4. Deterministically decode generated v2_poly tokens into a 96 kHz waveform
first_new_token = DEFAULT_V2_POLY_VOCAB.decode_ids(gen_ids[0, len(prefix_ids)].tolist())
wav, info = decode_v2_to_wave(first_new_token, fs=96000.0, amplitude=0.85)
sf.write("wavegpt_sample_event.wav", wav, 96000)
print("Synthesized token:", first_new_token, "| duration (s):", len(wav) / 96000.0)
6. Limitations, Scope & COPE AI Disclosure
- Syntax ≠ Semantics (Gate 6 Scope Statement):
WAVE-GPTmodels statistical acoustic event transitionsP(e_t | e_<t)in physics-verified, channel-invariant token space. Even at180,549open events andROC-AUC = 0.7082on known-individual turn-taking, passive acoustic modeling does not constitute semantic decoding or "dolphin language translation." Unattributed mono PAM streams remain bounded by cocktail-party superposition and Tursiops signature-whistle idiolects. - Pass 4
within_minute_shuffleCaveat: Pass 4 scaling runs preserved Pass 2–3 evaluation scripts unchanged; consequently,within_minute_rate_preserving_shuffledid not yet shuffle the 3 newv2_polyfactors (harm_bin,voice_slot,overlap_ms_bin). Av2_poly-aware shuffle audit is queued for Paper 3 camera-ready. - Class Imbalance on Wild Behavior: Full-archive
DOLPHINFREE4-class behavior CV (71%travelling) is non-significant (p = 0.1194). Larger balanced multi-encounter behavioral corpora are needed for reliable wild state classification. - Wildlife Ethics: Synthesized vocalizations (especially avian alarm calls) are strictly for passive decoding and listening research and must never be played back outdoors to disturb wild animals.
- Authorship & Field Data Credit: Sole author: Jonas Höppner (Independent Researcher, Germany; ORCID
0009-0004-4311-7708). Field Data Acknowledgment: Falk Viczian (Skipper & Expedition Lead, SolarWave 46, Falk Viczian Solarboot-Projekte gemeinnützige GmbH, ORCID0000-0002-2092-7634) for the sealed Ambracian Gulf coastal evaluation dataset. - Funding, Transparency & COPE-Compliant AI Disclosure: Conceived, engineered, and self-funded independently by Jonas Höppner in spare time on personal hardware and self-funded Colab L4 GPUs (no university or commercial employer affiliation). For full transparency, Jonas Höppner also serves on a volunteer basis (ehrenamtlich, German statutory Ehrenamtspauschale) supporting Falk Viczian Solarboot-Projekte gemeinnützige GmbH. AI coding and research-assistant agents were used for pipeline engineering, automated verification, literature cross-checking, and documentation under direct human supervision, experimental design, and double-blind auditory evaluation by Jonas Höppner, who takes full responsibility for all scientific claims, data provenance, and released artifacts.
Citation
@misc{hoeppner2026wavetokengptopen,
author = {H{\"o}ppner, Jonas},
title = {{WAVE-Token v2 / WAVE-GPT} Open Weights (v8\_open): Channel-Invariant Physics-Verified Event Tokenization and Polyphonic Bioacoustic Sequence Modeling},
year = {2026},
publisher = {Zenodo / Hugging Face},
doi = {10.5281/zenodo.24582866},
howpublished = {Hugging Face Model Repository \url{https://huggingface.co/j-h/wave-token-gpt-open}},
note = {Apache-2.0 open weights; ORCID: 0009-0004-4311-7708}
}