How to use from
llama.cpp
Install from brew
brew install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf forkjoin-ai/gemma-3-4b-it-gguf:Q4_K_M
# Run inference directly in the terminal:
llama-cli -hf forkjoin-ai/gemma-3-4b-it-gguf:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf forkjoin-ai/gemma-3-4b-it-gguf:Q4_K_M
# Run inference directly in the terminal:
llama-cli -hf forkjoin-ai/gemma-3-4b-it-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 forkjoin-ai/gemma-3-4b-it-gguf:Q4_K_M
# Run inference directly in the terminal:
./llama-cli -hf forkjoin-ai/gemma-3-4b-it-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 forkjoin-ai/gemma-3-4b-it-gguf:Q4_K_M
# Run inference directly in the terminal:
./build/bin/llama-cli -hf forkjoin-ai/gemma-3-4b-it-gguf:Q4_K_M
Use Docker
docker model run hf.co/forkjoin-ai/gemma-3-4b-it-gguf:Q4_K_M
Quick Links

Gemma 3 4B It

Forkjoin.ai conversion of google/gemma-3-4b-it to GGUF format for edge deployment.

Model Details

Usage

With llama.cpp

./llama-cli -m gemma-3-4b-it-gguf.gguf -p "Your prompt here" -n 256

With Ollama

Create a Modelfile:

FROM ./gemma-3-4b-it-gguf.gguf
ollama create gemma-3-4b-it-gguf -f Modelfile
ollama run gemma-3-4b-it-gguf

About Forkjoin.ai

Forkjoin.ai runs AI models at the edge -- in-browser, on-device, zero cloud cost. These converted models power real-time inference, speech recognition, and natural language capabilities.

All conversions are optimized for edge deployment within browser and mobile memory constraints.

License

Apache 2.0 (follows upstream model license)

Downloads last month
29
GGUF
Model size
4B params
Architecture
gemma3
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 forkjoin-ai/gemma-3-4b-it-gguf

Quantized
(221)
this model