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

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Open LLM Leaderboard Evaluation Results

Detailed results can be found here

Metric Value
Avg. 42.81
ARC (25-shot) 52.13
HellaSwag (10-shot) 75.71
MMLU (5-shot) 48.05
TruthfulQA (0-shot) 38.76
Winogrande (5-shot) 71.51
GSM8K (5-shot) 8.11
DROP (3-shot) 5.39
Downloads last month
1,041
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for itsliupeng/llama2_7b_code

Quantizations
1 model