The published artifact is packaged as a Burn Pack (.bpk) archive. The repository also includes Rust tooling to regenerate the raw export manifest and Burn pack from the upstream checkpoint.
Repository Contents
Published model asset at the repository root:
heartcodec.bpk
Conversion and packaging sources included in the repository:
convert.sh: one-step export-and-pack script that writes heartcodec.bpk at the repository root
src/bin/export_heartcodec_raw.rs: exports the upstream safetensors checkpoint into .npy tensors plus a manifest file
src/main.rs: packs exported tensors into Burn Pack archives
Cargo.toml, Cargo.lock: Rust dependencies for the packer
Included Model
HeartCodec
Flow-matching audio codec
8 RVQ levels
Dual-stream transformer-style architecture
The current HeartCodec export manifest contains 818 tensors.
File Sizes
Current repository payload:
heartcodec.bpk: 6,638,402,816 bytes
Rebuilding the Artifact
The repository includes the script needed to regenerate the Burn artifact from the original upstream checkpoint.
Prerequisites
A Rust toolchain capable of building the packer in this repository
A local copy of the upstream checkpoint arranged like this:
text
1CKPT_ROOT/
2└── HeartCodec-oss-20260123/
The exporter reads the Hugging Face safetensors shards directly from the checkpoint directory.
One-Step Conversion
./convert.sh CKPT_ROOT
This regenerates heartcodec.bpk at the repository root and removes the temporary artifact directory when finished.