Qwen2 Math 1.5B

Alibaba

qwen

A small model from Alibaba's Qwen2 family that punches above its weight in mathematical and multi-step logical reasoning.

Model info

Model

Qwen2 Math 1.5B

Author

Alibaba

Arch

qwen

Parameters

1.5B

Format

gguf

Size on disk

about 986.05 MB

Download and run Qwen2 Math 1.5B

Open in LM Studio to view download options

Download qwen2-math-1.5b from the terminal

Download the model using lms — LM Studio's developer CLI.

lms get qwen2-math-1.5b
If you don't have it yet, get it by running npx lmstudio install-cli

Call qwen2-math-1.5b from your code

curl http://localhost:1234/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen2-math-1.5b",
    "messages": [
      { "role": "system", "content": "Always answer in rhymes." },
      { "role": "user", "content": "Introduce yourself." }
    ],
    "temperature": 0.7,
    "max_tokens": -1,
    "stream": true
  }'

Next Steps: Build! 🔨

Learn more