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

No model card

Downloads last month
2
Inference Providers NEW
Input a message to start chatting with MaksimTw/tw-llama-2-7b-chat-hf-txt2sql-v1.