sinimiini/HRM-Text-1B-GGUF
HRM-Text-1B GGUF
This repository contains a BF16 GGUF conversion of `sapientinc/HRM-Text-1B` and validated Q8_0, Q6_K, and Q5_K_M quantizations derived from that BF16 GGUF.
The GGUF files use:
general.architecture = hrm_text- BF16 source tensor storage or standard
llama.cppquantized tensor storage - the original tokenizer from
tokenizer.json - no injected chat template
This is not a chat model and is not instruction tuned. "Useful output" for this repository means alignment with the original Transformers model on the same prompt, not chat-assistant behavior.
Compatibility Notice
Standard upstream llama.cpp, Ollama, LM Studio, and llama-cpp-python are expected not to load this file until hrm_text is supported upstream.
Use the included patch:
runtime/llama.cpp-hrm_text.patchThe patch was built against:
ggml-org/llama.cpp commit 6a257d44633d4a752183ed778b88d2924d0a6b9dOnly the normal causal generation path is implemented in the patched runtime. Prefix-LM bidirectional token_type_ids are not supported by the llama.cpp path in this release.
Files
Provenance
Available GGUF Files
Validation Summary
Validation was performed from a clean source snapshot and a clean llama.cpp base checkout.
Quantized variants were validated against the BF16 GGUF:
Full-vocab mean absolute logit error:
The original model already repeats on some prompts. Repetition by itself is not treated as a conversion failure unless it is newly introduced by the GGUF runtime. The BF16 GGUF validation did not reproduce the unrelated garbage pattern seen in a previous broken conversion attempt.
Example Runtime Setup
Download this repository:
pip install -U huggingface_hub
hf download sinimiini/HRM-Text-1B-GGUF --local-dir HRM-Text-1B-GGUFPatch and build llama.cpp:
git clone https://github.com/ggml-org/llama.cpp
cd llama.cpp
git checkout 6a257d44633d4a752183ed778b88d2924d0a6b9d
git apply ..\HRM-Text-1B-GGUF\runtime\llama.cpp-hrm_text.patch
cmake -B build -S . -DGGML_NATIVE=OFF
cmake --build build --config Release --target llama-cli llama-completion llama-resultsRun a short causal-generation smoke test:
.\build\bin\Release\llama-cli.exe -m ..\HRM-Text-1B-GGUF\HRM-Text-1B-BF16.gguf -p "The quick brown fox" -n 32 --temp 0 --no-conversationDepending on the generator binary and llama.cpp build type, the executable may be under build\bin\llama-cli.exe instead of build\bin\Release\llama-cli.exe.
Limitations
hrm_textis a custom GGUF architecture in this conversion.- Generic GGUF runners will not work until they implement the HRM runtime graph.
- Prefix-LM bidirectional attention with
token_type_idsis not implemented in the patchedllama.cpppath.
License
The source model is released under the Apache 2.0 license. See `LICENSE`.
