gguf-radar
A free Python tool (MIT license) that inspects GGUF models without running them. It checks for hidden bytes after the weights and suspicious chat templates, and can also produce a cleaned copy of the file.
How to try it
- Install the tool following the instructions at the link (check the install method there).
- Scan a model you already have: `gguf-radar scan ./model.gguf`
- If it flags something, clean the file: `gguf-radar sanitize suspicious.gguf -o clean.gguf`
- For Ollama models, also set your own TEMPLATE in the Modelfile so the built-in one isn't used.
Price: free