Category U: Format

Format recipes demonstrate the APR format ecosystem: importing models from external hubs, exporting to interoperable formats (SafeTensors, GGUF), cross-format conversion via the Rosetta engine, quantized conversion, publishing, and batch operations. These mirror the apr import, apr export, apr rosetta, apr convert, apr publish, and apr pull CLI subcommands.

Recipes

#RecipeCLI EquivalentDescription
1Import from HuggingFaceapr import hf://org/repoDownload and convert a HuggingFace model to .apr
2Export to SafeTensorsapr export --format safetensorsSerialize an .apr model to SafeTensors format
3Export to GGUFapr export --format ggufSerialize an .apr model to GGUF for llama.cpp
4Rosetta Convertapr rosetta convertCross-format conversion via the Rosetta engine
5Rosetta Chainapr rosetta chainMulti-step conversion chain (e.g., ONNX -> APR -> GGUF)
6Rosetta Verifyapr rosetta verifyRound-trip verification of format fidelity
7Convert with Quantizationapr convert --quantizeConvert between formats with quantization applied
8Publish to HuggingFaceapr publishPush an .apr model to a HuggingFace repository
9Pull and Cacheapr pullDownload models with local cache management
10Batch Multi-Format Exportapr export --batchExport a model to multiple formats in one pass