Repository navigation
Home
Qubitium edited this page Dec 5, 2026
·
5 revisions

DataShoal is a lightweight data ingestion and processing library for LLM modeling and quantization. It handles datasets, SafeTensors weights, model artifacts, and native data-only templates. The load() API uses the network only when you explicitly allow downloads.
| I want to… | Start here |
|---|---|
| Look up every Python call, return type and usage by feature | Python API reference |
| Inspect the compiled codec interface and CPython ABI | Native extension ABI |
| Install DataShoal and read my first rows offline | Installation and quickstart |
| Choose between a path, a row stream and an in-memory result | Loading reference |
| Prepare text, chat or token IDs for calibration | Datasets and calibration |
| Render source or plain text with the native template subset | Native templates |
| Project Parquet columns, read numeric buffers or open saved Arrow shards | Parquet and Arrow IPC |
| Inspect, stream or write checkpoint weights | SafeTensors |
| Download a checkpoint once and reuse it offline | Hugging Face Hub and caches |
| Upload model weights or dataset shards to a Hub repository | Xet transfers and uploads |
| Load files through ModelScope | ModelScope |
| Migrate a consumer that imports HF Datasets or huggingface_hub | Hugging Face compatibility |
| Understand compilation, performance or thread safety | Runtime and performance |
| Diagnose a cache miss, format error or slow fallback | Troubleshooting |
| Test a change or maintain the documentation | Developer guide |
For a calibration run, read and select rows first. Give GPT-QModel the resulting text, messages or token IDs for tokenization, packing and quantization. For a checkpoint, load the artifact path and pass that path to your model runtime.
Get started
- Installation and quickstart
- Python API reference
- Native templates
- Native extension ABI
- Loading reference
Prepare calibration data
Manage artifacts
Operate and contribute