Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Importing Models

Mabor supports importing models from other frameworks and file formats, enabling you to use pre-trained weights in your Mabor applications.

Supported Formats

Mabor currently supports three primary model import formats:

FormatDescriptionUse Case
ONNXOpen Neural Network Exchange formatDirect import of complete model architectures and weights from any framework that supports ONNX export
PyTorchPyTorch weights (.pt, .pth)Loading weights from PyTorch models into a matching Mabor architecture
SafetensorsHugging Face's model serialization formatLoading a model's tensor weights into a matching Mabor architecture