Ludovico commited on
Publish verified WEX4 roots and remove private source references
Browse files2 unmodified lines345678910111 unmodified line13141516171819202122232425262728293031323334353637383940414243444546474849505152532 unmodified lineslibrary_name: colibripipeline_tag: text-generation---# KAIRA WEX4 expert containersBinary expert-weight assets for KAIRA/Colibri. These files are **not standalone Transformers checkpoints** and cannot be loaded with `from_pretrained()`.## Contents1 unmodified line|---|---|---:|| `qwen38-mxfp4/q38_experts.wex` | Qwen 3.8 MXFP4 expert container | 64,251,047,936 || `v41-reap/v4_flash_experts.nr3.wex` | DeepSeek V4.1 Flash REAP-192, NR3 container | 123,312,910,336 || `provenance/*.verified.pre-wex4` | Source/build verification notes supplied with the containers | — |## Format and compatibilityWEX4 is a self-describing container with a hashed header/index, SHA-256 digests for blobs and records, and 4 KiB aligned data. It can store raw records or WNR3 encoded expert records (NR3 is the codec used by the V4.1 file name above).WNR2 is a different, older codec: it is codec 4 in WEX3 containers. WEX4/NR3 should not be described as WNR2. KAIRA has WEX4-aware loaders in its DeepSeek V4.1 and Qwen3.8 engines. Use the matching KAIRA engine/helper build; a stock Colibri/WNR2 build is not sufficient. WEX4 file integrity uses the indexed SHA-256 values, and KAIRA can pin the container root with `COLI_WEX_ROOT`.## DownloadInstall the Hugging Face CLI and download the repository:```powershellhf download Kaira666/Kaira-WEX4-Experts --repo-type model --local-dir .\Kaira-WEX4-Experts```The containers are very large (about 187.6 GB decimal combined). Ensure enough free disk space before downloading.## Verify and integrateThe KAIRA source includes the WEX4 format/reader and a whole-file verifier. Build `tools/wex4_verify` from `src/colibri/c`, then run it on each downloaded `.wex` file. A successful run checks every blob and record against the indexed SHA-256 values and prints the WEX4 root. Set `COLI_WEX_ROOT` to that 64-digit root in a compatible KAIRA profile to pin the file; `COLI_WEX_VERIFY=1` enables first-read record hashing in the DeepSeek V4 engine. Qwen3.8 has its own WEX4 loader and configuration.- [KAIRA repository](https://github.com/KairaCode/KAIRA)- [WEX4 format reader](https://github.com/KairaCode/KAIRA/blob/main/src/colibri/c/wex4.h)- [WEX4 whole-file verifier](https://github.com/KairaCode/KAIRA/blob/main/src/colibri/c/tools/wex4_verify.c)- [WEX/WRN2 implementation repository](https://github.com/KairaCode/Wex-WRN2) (private; access required)- [WEX/WRN2 Colibri integration guide](https://github.com/KairaCode/Wex-WRN2/blob/main/docs/COLIBRI-INTEGRATION.md) (private; access required)WNR2 is the older WEX3 codec (codec 4). The V4.1 file here uses WNR3-CZ records (codec 5) in WEX4; Qwen3.8 stores RAW MXFP4 records in WEX4. WNR2 engine/helper settings do not describe these files. For the exact engine hooks, profile variables, and verification flow, see the private [WEX/WRN2 Colibri integration guide](https://github.com/KairaCode/Wex-WRN2/blob/main/docs/COLIBRI-INTEGRATION.md) and its [WEX4 specification](https://github.com/KairaCode/Wex-WRN2/blob/main/docs/WEX4-SPEC.md).## Provenance and licenseThe `.verified.pre-wex4` sidecars are included as supplied. The V4.1 sidecar reports that all 7,680 source records were read back and decoded as expected; the Qwen sidecar records a source-copy SHA-256. These are pre-WEX4 provenance notes, not whole-file WEX4 verification. WEX4 root hashes will be added after running the current verifier on the final containers.No license has been specified for these model assets. Public availability does not grant permission to use, modify, or redistribute them; please add the applicable license before reuse.2 unmodified lines345678910111 unmodified line131415161718192021222324252627282930313233343536373839404142434445464748492 unmodified lineslibrary_name: colibripipeline_tag: text-generation---# WEX4 expert containersBinary expert-weight assets. These are **not standalone Transformers checkpoints** and cannot be loaded with `from_pretrained()`.## Contents1 unmodified line|---|---|---:|| `qwen38-mxfp4/q38_experts.wex` | Qwen 3.8 MXFP4 expert container | 64,251,047,936 || `v41-reap/v4_flash_experts.nr3.wex` | DeepSeek V4.1 Flash REAP-192, NR3 container | 123,312,910,336 || `provenance/*.verified.pre-wex4` | Supplied source/build verification notes | — |## Format and compatibilityWEX4 is a self-describing container with a hashed header/index, SHA-256 digests for blobs and records, and 4 KiB aligned data. It stores raw records or WNR3 encoded expert records. The Qwen file stores RAW MXFP4 records; the V4.1 file stores WNR3-CZ records.WNR2 is a different, older codec used inside WEX3 containers. Neither file in this repository uses WNR2. Use a runtime build that explicitly supports WEX4 for the corresponding model family. A generic Transformers runtime or an older WEX/WNR2-only build cannot load these files.## DownloadInstall the Hugging Face CLI and download the repository:```powershellhf download Kaira666/Kaira-WEX4-Experts --repo-type model --local-dir .\WEX4-Experts```The containers total about 187.6 GB decimal. Ensure sufficient free disk space before downloading.## Integrity and runtime configurationThe WEX4 whole-file verifier checks the header, index, blobs, records, padding, and indexed SHA-256 values, then prints the 64-digit container root. Run it on each downloaded file before use. In a compatible runtime, `COLI_WEX_ROOT` pins the expected root; `COLI_WEX_VERIFY=1` enables first-read record hashing where supported.| Container | Verified WEX4 root | Content digest ||---|---|---|| `q38_experts.wex` | `db5389f699abb49a164a9e73d925b5b629b0ce6de430a553388ba3e1cae5c0df` | `0d752bbf2d169b611ac79b005f07d0b9152c0591b23b65cbd12e06ea8300ec77` || `v4_flash_experts.nr3.wex` | `f0f78a84d040a3b336f3abef3cf8b0a36c649deb38586c813e94d35dea3beeb1` | `fb085e127ba980214f106313e9af578b18e5ebac4cde7ecb9730b1a0f78ae512` |The supplied `.verified.pre-wex4` files record provenance before/alongside WEX4 conversion. The Qwen file passed whole-file verification: all 24,576 records decoded and all indexed hashes matched. The V4.1 file passed whole-file verification: all 7,680 records decoded and all indexed hashes matched.## LicenseNo license has been specified for these model assets. Public availability does not grant permission to use, modify, or redistribute them. Add the applicable license before reuse.
README.md+16-20