Downloads · 30 days
0
maolandaw/FCPE-burn
FCPE-burn is a machine learning model from maolandaw. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for burn. The card lists the license as mit.
This repository contains Burn-format weights for the upstream model:
Downloads · 30 days
0
Access
Public
Updated Sep 18, 2026
Repo size
43.3 MB
Likes
0
Public
Click a slice to open those files.
.bpk43.3 MB · 99%
From the Hugging Face model README
This repository contains Burn-format weights for the upstream model:
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.
Published model asset at the repository root:
fcpe.bpkConversion and packaging sources included in the repository:
convert.sh: one-step export-and-pack script that writes fcpe.bpk at the repository rootsrc/bin/export_fcpe_raw.rs: exports the upstream ONNX checkpoint (fcpe.onnx) into .npy tensors plus a manifest filesrc/bin/check_fcpe_bpk.rs: loads a Burn Pack archive and prints the tensor count and total tensor bytessrc/main.rs: packs exported tensors into Burn Pack archivesCargo.toml, Cargo.lock: Rust dependencies for the packerlocal_argmaxThe current FCPE export manifest contains 76 tensors (65 float32, 11 int64), all exported in FP32.
Current repository payload:
fcpe.bpk: 43,317,528 bytesThe repository includes the script needed to regenerate the Burn artifact from the original upstream checkpoint.
CKPT_ROOT/
└── FCPE/
└── fcpe.onnx
The upstream torchfcpe package bundles the same weights as torchfcpe/assets/fcpe_c_v001.pt (a PyTorch pickle, not parseable with pure Rust). An ONNX export of the identical graph (fcpe.onnx) is vendored in the niobures/FCPE Hugging Face mirror of the FCPE repository and is the export source used here. The exporter reads the ONNX initializers directly — no Python, PyTorch, or ONNX Runtime is required.
./convert.sh CKPT_ROOT
This regenerates fcpe.bpk at the repository root and removes the temporary artifact directory when finished.
mkdir -p CKPT_ROOT/FCPE
curl -L -o CKPT_ROOT/FCPE/fcpe.onnx \
https://huggingface.co/niobures/FCPE/resolve/main/onnx/fcpe.onnx
If you want to run the steps manually instead of using ./convert.sh:
Example:
cargo run --release --bin export_fcpe_raw -- \
--checkpoint-root CKPT_ROOT \
--fcpe-subdir FCPE \
--output-root artifacts/fcpe
This produces:
artifacts/fcpe/fcpe_raw_f32/The raw directory contains .npy tensor files and a manifest.json.
The Rust packer reads a manifest and writes a .bpk archive:
cargo run --release --bin fcpe-burn -- \
--manifest artifacts/fcpe/fcpe_raw_f32/manifest.json \
--output artifacts/fcpe/fcpe.bpk
cargo run --release --bin check_fcpe_bpk -- fcpe.bpk
int64..gitattributes is part of the expected publishable layout.This conversion is distributed under the MIT License, matching the upstream CNChTu/FCPE license. Upstream copyright: (c) 2023 CN_ChiTu. See LICENSE for the full text.