How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "leliuga/gemma-7b-it-bnb-4bit"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "leliuga/gemma-7b-it-bnb-4bit",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker
docker model run hf.co/leliuga/gemma-7b-it-bnb-4bit
Quick Links

gemma-7b-it - bnb 4bit

Description

This model is 4bit quantized version of gemma-7b-it using bitsandbytes. It's designed for fine-tuning! The PAD token is set as "".

Downloads last month
8
Safetensors
Model size
9B params
Tensor type
F32
·
BF16
·
U8
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for leliuga/gemma-7b-it-bnb-4bit

Base model

google/gemma-7b
Quantized
(17)
this model

Collection including leliuga/gemma-7b-it-bnb-4bit