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 "fblgit/UNA-POLAR-10.7B-InstructMath-v2" \
    --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": "fblgit/UNA-POLAR-10.7B-InstructMath-v2",
		"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 "fblgit/UNA-POLAR-10.7B-InstructMath-v2" \
        --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": "fblgit/UNA-POLAR-10.7B-InstructMath-v2",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

UNA-POLAR-10.7B-InstructMath-v2

Model description

Its a UNA version with DPO over MathPILE Books out of the UNA-SOLAR-10.7B-Instruct-1.0

I used MathPILE OUTSTANDING Dataset of great Mathematic material in order to produce this beautiful model :)

Intended uses & limitations

If your model has inside UNA technology, cite.

Training and evaluation data

UNA-DPO over Attention and MLP's

Framework versions

  • PEFT 0.7.1
  • Transformers 4.36.2-UNA
  • Pytorch 2.1.2+cu121
  • Datasets 2.16.0
  • Tokenizers 0.15.

Open LLM Leaderboard Evaluation Results

Detailed results can be found here

Metric Value
Avg. 74.07
AI2 Reasoning Challenge (25-Shot) 70.73
HellaSwag (10-Shot) 88.20
MMLU (5-Shot) 66.03
TruthfulQA (0-shot) 71.73
Winogrande (5-shot) 82.95
GSM8k (5-shot) 64.75
Downloads last month
222
Safetensors
Model size
11B params
Tensor type
F16
Β·
Inference Providers NEW
Input a message to start chatting with fblgit/UNA-POLAR-10.7B-InstructMath-v2.

Model tree for fblgit/UNA-POLAR-10.7B-InstructMath-v2

Quantizations
3 models

Dataset used to train fblgit/UNA-POLAR-10.7B-InstructMath-v2

Spaces using fblgit/UNA-POLAR-10.7B-InstructMath-v2 10

Evaluation results