How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "operablepattern/gemma-2b-it-Q"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "operablepattern/gemma-2b-it-Q",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
Use Docker
docker model run hf.co/operablepattern/gemma-2b-it-Q:Q4_K_M
Quick Links

This repository contains gemma 2B models quantized using llama.cpp.

For details of the model see https://huggingface.co/google/gemma-2b-it.

Details of the k-quants can be found here: https://github.com/ggerganov/llama.cpp/pull/1684

Provided files

Name Quant method Bits Size
gemma-2b-it-Q4_K_M.gguf Q4_K_M 4 1.63 GB
gemma-2b-it-Q5_K_M.gguf Q5_K_M 5 1.84 GB
Downloads last month
24
GGUF
Model size
3B params
Architecture
gemma
Hardware compatibility
Log In to add your hardware

4-bit

5-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Space using operablepattern/gemma-2b-it-Q 1