How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "relaxml/Llama-2-7b-chat-E8PRVQ-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": "relaxml/Llama-2-7b-chat-E8PRVQ-4Bit",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker
docker model run hf.co/relaxml/Llama-2-7b-chat-E8PRVQ-4Bit
Quick Links

No model card

Downloads last month
1
Safetensors
Model size
0.7B params
Tensor type
I64
·
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collection including relaxml/Llama-2-7b-chat-E8PRVQ-4Bit