/ Модель

Характеристики

Контекст
131 072 токена
Параметры
32 млрд
Размер весов
65,5 ГБ
Лицензия
Своя лицензия
Архитектура
qwen2 · dense
Базовая модель
DeepSeek-R1-Distill-Qwen-32B
Библиотека
transformers
Опубликована
3 дек 2025

SAND-MathScience-DeepSeek-Qwen32B

Генерация текстаТекст → текст3 профессии

Дообученная AMD 32-миллиардная модель для генерации рассуждений и решения задач по математике и естественным наукам.

102скачиваний за 30 дней2лайкавеса обновлены6 дек 2025

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

SAND-MathScience-DeepSeek-Qwen32B — плотная языковая модель на архитектуре Qwen2, разработанная AMD и дообученная на базе DeepSeek-R1-Distill-Qwen-32B. Модель содержит 32 млрд параметров и рассчитана на генерацию текста с пошаговыми рассуждениями, прежде всего для решения задач по математике и естественным наукам. Для дообучения использованы 27 тысяч синтетических примеров: 15 тысяч по математике и 12 тысяч по науке; обучение проводилось методом SFT на синтетических данных с использованием AMD ROCm и ускорителей AMD Instinct MI325.

Модель принимает текст и генерирует текстовые ответы. В метаданных указан контекст до 131072 токенов; README приводит пример запуска с ограничением длины до 32768 токенов. Карточка сообщает об английском языке и результатах на математических и научных бенчмарках, включая AIME, MATH500 и GPQA. Лицензия обозначена как other, поэтому условия использования следует уточнить в карточке репозитория. Как и другие генеративные модели, она может допускать ошибки в решениях и объяснениях; бенчмарки сами по себе не гарантируют точность на пользовательских задачах.

Сценарии применения

  • решение олимпиадных задач по математике
  • пошаговое объяснение математических решений
  • ответы на вопросы по естественным наукам
  • решение сложных задач с логическими ограничениями
  • генерация текстовых рассуждений для учебных задач

Ограничения

Модель может ошибаться в вычислениях, фактах и цепочках рассуждений, поэтому ответы требуют проверки. В метаданных лицензия указана как other; условия использования следует уточнить в карточке репозитория.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

State-of-the-art Large Reasoning Model Built Using Only Synthetic Data on AMD GPUs

PaperHugging Face DatasetGitHubBlog Post

Model Summary

We introduce SAND-Math-Qwen2.5-32B and SAND-MathScience-DeepSeek-Qwen32B, state-of-the-art reasoning models in the 32B parameter range, built entirely using a synthetic data pipeline running on the AMD ROCm™ stack and AMD Instinct™ MI325 GPUs.

By prioritizing data difficulty along with quantity, we demonstrate that high-difficulty synthetic data can elevate prior-generation models to match or exceed modern proprietary models. SAND-Math-Qwen2.5-32B is fine-tuned from Qwen2.5-32B-Instruct on just 14k synthetic math samples, achieving strong reasoning capabilities with minimal data outperforming other data distillation and post training approaches. SAND-MathScience-DeepSeek-Qwen32B is fine-tuned from DeepSeek-R1-Distill-Qwen-32B on a compact dataset of 27k samples (15k Math + 12k Science), achieving a generational leap in performance that rivals Qwen3-32B.

We are releasing the models, datasets, and code to empower the community to build their own state-of-the-art reasoning models using AMD hardware.

📊 Benchmark Results

We conducted extensive experiments to validate that our pipeline yields superior results compared to models trained on significantly larger datasets.

1. Bridging the Generational Gap

Fine-tuning the Qwen2.5-based DeepSeek-R1-Distill-Qwen-32B on our mixed Math/Science dataset allows it to rival and even surpass the next-generation Qwen3-32B on key benchmarks.

ModelAIME24AIME25MATH500GPQA
DeepSeek-Distilled-Qwen32B (Base)72.654.994.362.1
EXAONE Deep 32B72.165.895.866.1
Qwen3-32B (Thinking mode)81.472.997.068.4
SAND-MathScience-DeepSeek-Qwen32B (Ours)83.8578.3393.8568.72

2. Efficiency: Unlocking Reasoning with Less Data

Using only 14k synthetic math samples and standard SFT (no RL), our approach outperforms models trained on datasets 5x to 50x larger.

ModelData SizeAIME24AIME25MATH500GPQA
Qwen2.5-32B-Instruct (Base)-16.713.383.453.5
DeepSeek-R1-Distill-Qwen-32B800k72.654.994.362.1
Light-R1-32B79k73.064.393.360.6
OpenThinker-32B114k66.053.389.457.6
SAND-Math-Qwen2.5-32B (Ours)14k74.0168.1892.0560.8

⚙️ The Synthetic Data Pipeline

Our results are powered by a 4-stage automated pipeline running on AMD hardware that prioritizes difficulty and novelty over volume. Unlike datasets that recycle easy problems, our pipeline leverages a Teacher Model (GPT-OSS120b) to generate, validate, and systematically "hike" the difficulty of reasoning problems.

Pipeline Overview

Pipeline Stages

  1. Stage 1: QA Generation & Consistency 🛠️

    • Generates novel problems from scratch
    • Enforces correctness by requiring the teacher to generate multiple independent solution paths
    • Only questions where all answers align are kept
  2. Stage 2: De-duplication & Decontamination 🧹

    • Removes internal duplicates via embedding similarity
    • Crucial Step: Scans against known test sets (AIME, MATH, GPQA) to ensure zero contamination
  3. Stage 3: Difficulty Hiking 🏔️

    • Moderately challenging questions are rewritten by the teacher model
    • Introduces deeper reasoning chains, added constraints, or cross-domain logic
    • Systematically elevates complexity
    • Configurable step primarily used when initial generation yields insufficient volume of high-difficulty samples

🚀 Quick Start

Python Inference (Transformers)

from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "amd/SAND-MathScience-DeepSeek-Qwen32B"

model = AutoModelForCausalLM.from_pretrained(
    model_name,
    torch_dtype="auto",
    device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_name)

# Example prompt
prompt = "A bat and a ball cost $1.10 in total. The bat costs $1.00 more than the ball. How much does the ball cost?"
messages = [
    {"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True
)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)

generated_ids = model.generate(
    **model_inputs,
    max_new_tokens=4096,
    temperature=0.7, # Recommended temperature
    do_sample=True
)
generated_ids = [
    output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
]

response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
print("Response:", response)

Serving (vLLM & SGLang)

You can easily serve this model as an OpenAI-compatible API endpoint.

Using SGLang:

python -m sglang.launch_server --model-path amd/SAND-MathScience-DeepSeek-Qwen32B --max-model-len 32768

Using vLLM:

vllm serve amd/SAND-MathScience-DeepSeek-Qwen32B --max-model-len 32768

💡 Usage Recommendations

To replicate our performance benchmarks and achieve the best reasoning results, we strongly recommend the following configurations:

  • Temperature: Set temperature=0.7. DO NOT use greedy decoding, as it can lead to performance degradation and repetitive loops.
  • Prompting: For mathematical problems, include a directive to enforce structure:

    "Please reason step by step, and put your final answer within \boxed{}."

  • Context Length: We recommend allowing an output length of 32,768 tokens. This ensures the model has sufficient space for long Chain-of-Thought (CoT) generation.
  • Thinking Token: It is recommended to enforce the model to initiate its response with the <think>\n token to trigger the reasoning mode effectively.
  • Evaluation: When benchmarking, conduct multiple passes (Pass@K) and average the results for stability.

📜 License

This project is licensed under the Open RAIL-MSD license. This is an open, royalty-free license that permits commercial use, modification, and distribution of the dataset, models, and source code.

The license includes standard use-based restrictions to prevent harmful applications (e.g., illegal activities, generating harmful content, high-risk applications). These restrictions are designed to promote responsible AI development while keeping the license permissive for legitimate use cases.

For full license terms and conditions, please see the LICENSE file.


Citation

If you use this model, dataset, or pipeline in your research, please cite our work:

@misc{manem025sandmathusingllmsgenerate,
      title={SAND-Math: Using LLMs to Generate Novel, Difficult and Useful Mathematics Questions and Answers},
      author={Chaitanya Manem and Pratik Prabhanjan Brahma and Prakamya Mishra and Zicheng Liu and Emad Barsoum},
      year={2025},
      eprint={2507.20527},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2507.20527},
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
Qwen2ForCausalLM
Ревизия весов
8746656

0 моделей