ModelInspector

Detects the model format from the magic number and parses the header.

Functions

Link copied to clipboard

Inspects source (GGUF or whisper.cpp ggml).

Link copied to clipboard
fun inspectFile(path: String, fileSystem: ModelFileSystem = defaultModelFileSystem()): ModelHeaderInfo

Opens path with fileSystem and inspects it.