costinstroie/RoGemma3-4B-Instruct-GGUF
0137
RoGemma3-4B-Instruct-GGUF (text-only, Q4KM)
Q4KM GGUF quantization of OpenLLM-Ro/RoGemma3-4B-Instruct, converted with llama.cpp's convert_hf_to_gguf.py. Vision tower dropped — text-only language model half, no mmproj file.
Two issues fixed during conversion
- No `tokenizer.model` (fast/BPE tokenizer only) and this project's
llama.cppdidn't have Gemma 3's BPE pre-tokenizer hash registered, so the default GPT-2/BPE vocab path raisedNotImplementedError. Worked around by supplying thetokenizer.model(SentencePiece) fromgoogle/gemma-3-4b-it— RoGemma3 is continually pretrained from that exact base with an unmodified 262208-token vocab (confirmed viaconfig.json), so the SPM tokenizer is identical; this routesconvert_hf_to_gguf.pythrough the SPM path instead, which is exact, not approximate. - LM Studio runtime version mismatch. Two earlier conversions (including a community re-upload from
Andarwarm99) failed to load on this project's LM Studio server with a genericError loading model., despite loading and generating correctly with a locally builtllama-cli. Root cause: the GGUF was written by a newerllama.cpp/gguf-py(build ~8808) than LM Studio's bundled CUDA runtime, which reports itself asllama.cpp 2.13.0— LM Studio's own internal runtime versioning, which corresponds to upstreamggml-org/llama.cppbuild b8733 (commit26229755c, confirmed viallama-cli --versionafter checking out that exact commit and rebuilding). This file was converted and quantized withllama.cppchecked out at that exact commit, matching LM Studio's runtime.
Non-commercial (cc-by-nc-4.0, inherited from the base model).
