lkevinzc/numia-1.5-qa-concatenated
Updated • 8
How to use lkevinzc/Llama-3.2-3B-NuminaQA with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="lkevinzc/Llama-3.2-3B-NuminaQA") # Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("lkevinzc/Llama-3.2-3B-NuminaQA")
model = AutoModelForCausalLM.from_pretrained("lkevinzc/Llama-3.2-3B-NuminaQA")How to use lkevinzc/Llama-3.2-3B-NuminaQA with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "lkevinzc/Llama-3.2-3B-NuminaQA"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "lkevinzc/Llama-3.2-3B-NuminaQA",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/lkevinzc/Llama-3.2-3B-NuminaQA
How to use lkevinzc/Llama-3.2-3B-NuminaQA with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "lkevinzc/Llama-3.2-3B-NuminaQA" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "lkevinzc/Llama-3.2-3B-NuminaQA",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker run --gpus all \
--shm-size 32g \
-p 30000:30000 \
-v ~/.cache/huggingface:/root/.cache/huggingface \
--env "HF_TOKEN=<secret>" \
--ipc=host \
lmsysorg/sglang:latest \
python3 -m sglang.launch_server \
--model-path "lkevinzc/Llama-3.2-3B-NuminaQA" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "lkevinzc/Llama-3.2-3B-NuminaQA",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'How to use lkevinzc/Llama-3.2-3B-NuminaQA with Docker Model Runner:
docker model run hf.co/lkevinzc/Llama-3.2-3B-NuminaQA
This model serves as a 3B base in our minimalist R1-Zero recipe.
Training details:
@article{liu2025understanding,
title={Understanding r1-zero-like training: A critical perspective},
author={Liu, Zichen and Chen, Changyu and Li, Wenjun and Qi, Penghui and Pang, Tianyu and Du, Chao and Lee, Wee Sun and Lin, Min},
journal={arXiv preprint arXiv:2503.20783},
year={2025}
}
Base model
meta-llama/Llama-3.2-3B