How to use from
SGLangUse 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 "tngtech/OLMo-2-Instruct-Math-32B" \
--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": "tngtech/OLMo-2-Instruct-Math-32B",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'Quick Links
TNG Technology Consulting fine-tuned the 32-billion-parameter OLMo-2 Large Language Model using AMD's MI300X GPUs and the Open R1 dataset, focusing on enhancing the model's reasoning capabilities. The MI300X accelerators, with their multi-chip module architecture and substantial memory bandwidth, facilitated efficient handling of the model's training requirements. The Open R1 dataset, curated by Hugging Face, provided a comprehensive collection of mathematical problems with detailed reasoning traces, serving as an ideal foundation for this fine-tuning endeavor. This collaborative effort underscores the potential of open-source initiatives and advanced hardware in advancing AI research.
- Downloads last month
- 19
Model tree for tngtech/OLMo-2-Instruct-Math-32B
Base model
allenai/OLMo-2-0325-32B Finetuned
allenai/OLMo-2-0325-32B-SFT Finetuned
allenai/OLMo-2-0325-32B-DPO Finetuned
allenai/OLMo-2-0325-32B-Instruct
Install from pip and serve model
# Install SGLang from pip: pip install sglang# Start the SGLang server: python3 -m sglang.launch_server \ --model-path "tngtech/OLMo-2-Instruct-Math-32B" \ --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": "tngtech/OLMo-2-Instruct-Math-32B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'