How to use from
SGLang
Install from pip and serve model
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
    --model-path "Cannae-AI/ReasoningLlama-Math-1B-IT" \
    --host 0.0.0.0 \
    --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "Cannae-AI/ReasoningLlama-Math-1B-IT",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker images
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 "Cannae-AI/ReasoningLlama-Math-1B-IT" \
        --host 0.0.0.0 \
        --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "Cannae-AI/ReasoningLlama-Math-1B-IT",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

ReasoningLlama-Math-1B-IT

Model Description:

This is a fine-tuned version of unsloth/Llama-3.2-1B-Instruct on the unsloth/OpenMathReasoning-mini dataset which is a small version of the nvidia/OpenMathReasoning dataset which was used to win the AIMO (AI Mathematical Olympiad) challenge!

  • recommended settings for inference: min_p = 0.1 and temperature = 1.5 , Read this Tweet to understand why.
  • License : apache-2.0
  • Finetuned from model : unsloth/Llama-3.2-1B-Instruct
Downloads last month
5
Safetensors
Model size
1B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Cannae-AI/ReasoningLlama-Math-1B-IT

Finetuned
(456)
this model
Quantizations
1 model

Dataset used to train Cannae-AI/ReasoningLlama-Math-1B-IT

Collection including Cannae-AI/ReasoningLlama-Math-1B-IT