Instructions to use lm-kit/gemma-3-4b-instruct-lmk 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 lm-kit/gemma-3-4b-instruct-lmk 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 lm-kit/gemma-3-4b-instruct-lmk:F16 # Run inference directly in the terminal: llama cli -hf lm-kit/gemma-3-4b-instruct-lmk:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf lm-kit/gemma-3-4b-instruct-lmk:F16 # Run inference directly in the terminal: llama cli -hf lm-kit/gemma-3-4b-instruct-lmk:F16
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf lm-kit/gemma-3-4b-instruct-lmk:F16 # Run inference directly in the terminal: ./build/bin/llama cli -hf lm-kit/gemma-3-4b-instruct-lmk:F16
Use Docker
docker model run hf.co/lm-kit/gemma-3-4b-instruct-lmk:F16
- Llama new
- LM Studio
- Jan
- Ollama
How to use lm-kit/gemma-3-4b-instruct-lmk with Ollama:
ollama run hf.co/lm-kit/gemma-3-4b-instruct-lmk:F16
- Unsloth Desktop
- Docker Model Runner
How to use lm-kit/gemma-3-4b-instruct-lmk with Docker Model Runner:
docker model run hf.co/lm-kit/gemma-3-4b-instruct-lmk:F16
- Lemonade
How to use lm-kit/gemma-3-4b-instruct-lmk with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull lm-kit/gemma-3-4b-instruct-lmk:F16
Run and chat with the model
lemonade run user.gemma-3-4b-instruct-lmk-F16
List all available models
lemonade list
- Atomic Chat
Commit History
-
Add gemma-3-4b-it-mmproj-F16.gguf (full-precision projector)
Verified signature227e0c2 -
Add gemma-3-4b-it-F16.gguf (full-precision training base)
Verified signatureda825a4
-
Upload gemma-3-4b-it-Q4_K_M.lmk
Verified signature21f3dfc -
initial commit
Verified signature7a9fc67