Reads GGUF v2/v3 binary headers to extract model metadata (architecture, name, quantisation type, context length, block count). Includes string length limits for malformed input protection and uint64 value support for compatibility with varied GGUF producers. Co-Authored-By: Virgil <virgil@lethean.io> |
||
|---|---|---|
| .. | ||
| gguf.go | ||
| gguf_test.go | ||