Gemma 3-270m
Collection
Collection of models for Gemma 3-270m • 4 items • Updated • 23
How to use ggml-org/gemma-3-270m-qat-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 ggml-org/gemma-3-270m-qat-GGUF:Q4_0 # Run inference directly in the terminal: llama cli -hf ggml-org/gemma-3-270m-qat-GGUF:Q4_0
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ggml-org/gemma-3-270m-qat-GGUF:Q4_0 # Run inference directly in the terminal: llama cli -hf ggml-org/gemma-3-270m-qat-GGUF:Q4_0
# 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 ggml-org/gemma-3-270m-qat-GGUF:Q4_0 # Run inference directly in the terminal: ./llama-cli -hf ggml-org/gemma-3-270m-qat-GGUF:Q4_0
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 ggml-org/gemma-3-270m-qat-GGUF:Q4_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf ggml-org/gemma-3-270m-qat-GGUF:Q4_0
docker model run hf.co/ggml-org/gemma-3-270m-qat-GGUF:Q4_0
How to use ggml-org/gemma-3-270m-qat-GGUF with Ollama:
ollama run hf.co/ggml-org/gemma-3-270m-qat-GGUF:Q4_0
How to use ggml-org/gemma-3-270m-qat-GGUF with Docker Model Runner:
docker model run hf.co/ggml-org/gemma-3-270m-qat-GGUF:Q4_0
How to use ggml-org/gemma-3-270m-qat-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ggml-org/gemma-3-270m-qat-GGUF:Q4_0
lemonade run user.gemma-3-270m-qat-GGUF-Q4_0
lemonade list
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf ggml-org/gemma-3-270m-qat-GGUF:Q4_0# Run inference directly in the terminal:
llama cli -hf ggml-org/gemma-3-270m-qat-GGUF:Q4_0# 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 ggml-org/gemma-3-270m-qat-GGUF:Q4_0# Run inference directly in the terminal:
./llama-cli -hf ggml-org/gemma-3-270m-qat-GGUF:Q4_0git 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 ggml-org/gemma-3-270m-qat-GGUF:Q4_0# Run inference directly in the terminal:
./build/bin/llama-cli -hf ggml-org/gemma-3-270m-qat-GGUF:Q4_0docker model run hf.co/ggml-org/gemma-3-270m-qat-GGUF:Q4_0Recommended way to run this model:
llama-cli -hf ggml-org/gemma-3-270m-qat-GGUF -c 0 -fa -p "hello"
Then, access http://localhost:8080
4-bit
Install (macOS, Linux)
# Start a local OpenAI-compatible server with a web UI: llama serve -hf ggml-org/gemma-3-270m-qat-GGUF:Q4_0# Run inference directly in the terminal: llama cli -hf ggml-org/gemma-3-270m-qat-GGUF:Q4_0