Instructions to use costinstroie/RoGemma3-4B-Instruct-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use costinstroie/RoGemma3-4B-Instruct-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf costinstroie/RoGemma3-4B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf costinstroie/RoGemma3-4B-Instruct-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf costinstroie/RoGemma3-4B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf costinstroie/RoGemma3-4B-Instruct-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf costinstroie/RoGemma3-4B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf costinstroie/RoGemma3-4B-Instruct-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf costinstroie/RoGemma3-4B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf costinstroie/RoGemma3-4B-Instruct-GGUF:Q4_K_M
Use Docker
docker model run hf.co/costinstroie/RoGemma3-4B-Instruct-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use costinstroie/RoGemma3-4B-Instruct-GGUF with Ollama:
ollama run hf.co/costinstroie/RoGemma3-4B-Instruct-GGUF:Q4_K_M
- Unsloth Studio
How to use costinstroie/RoGemma3-4B-Instruct-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for costinstroie/RoGemma3-4B-Instruct-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for costinstroie/RoGemma3-4B-Instruct-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for costinstroie/RoGemma3-4B-Instruct-GGUF to start chatting
- Docker Model Runner
How to use costinstroie/RoGemma3-4B-Instruct-GGUF with Docker Model Runner:
docker model run hf.co/costinstroie/RoGemma3-4B-Instruct-GGUF:Q4_K_M
- Lemonade
How to use costinstroie/RoGemma3-4B-Instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull costinstroie/RoGemma3-4B-Instruct-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.RoGemma3-4B-Instruct-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
RoGemma3-4B-Instruct-GGUF (text-only, Q4_K_M)
Q4_K_M 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'sllama.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).
- Downloads last month
- -
Hardware compatibility
Log In to add your hardware
4-bit
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support
Model tree for costinstroie/RoGemma3-4B-Instruct-GGUF
Base model
google/gemma-3-4b-pt Finetuned
google/gemma-3-4b-it Finetuned
OpenLLM-Ro/RoGemma3-4B-Instruct