agentlans/LinguaNova
Viewer • Updated • 691k • 810 • 1
How to use agentlans/gemma-3-4b-it-GGUF with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf agentlans/gemma-3-4b-it-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf agentlans/gemma-3-4b-it-GGUF:Q4_K_M
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf agentlans/gemma-3-4b-it-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf agentlans/gemma-3-4b-it-GGUF:Q4_K_M
# 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 agentlans/gemma-3-4b-it-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf agentlans/gemma-3-4b-it-GGUF:Q4_K_M
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 agentlans/gemma-3-4b-it-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf agentlans/gemma-3-4b-it-GGUF:Q4_K_M
docker model run hf.co/agentlans/gemma-3-4b-it-GGUF:Q4_K_M
How to use agentlans/gemma-3-4b-it-GGUF with Ollama:
ollama run hf.co/agentlans/gemma-3-4b-it-GGUF:Q4_K_M
How to use agentlans/gemma-3-4b-it-GGUF with Docker Model Runner:
docker model run hf.co/agentlans/gemma-3-4b-it-GGUF:Q4_K_M
How to use agentlans/gemma-3-4b-it-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull agentlans/gemma-3-4b-it-GGUF:Q4_K_M
lemonade run user.gemma-3-4b-it-GGUF-Q4_K_M
lemonade list
This repo offers quantized versions of google/gemma-3-4b-it for use with llama.cpp. Quantization was done using an unofficial Docker image and calibrated on 100 rows from the agentlans/LinguaNova dataset to maintain coherence and multilingual support. The importance matrix file is included.
This card covers only the quantized models.
4-bit
5-bit
8-bit