ModelParser
Common interface for all model format parsers.
Provides a unified API for loading and inspecting different model formats (ONNX, GGUF, SafeTensors, etc.) using a metadata-first approach.
Usage:
val parser = GgufModelParser()
val metadata = parser.parseMetadata("/path/to/model.gguf")
if (metadata.isValid) {
val tensors = parser.getTensors()
val modelInfo = parser.getModelInfo()
}Content copied to clipboard