/ Модель

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

Лицензия
Своя лицензия
Базовая модель
Qwen2.5-1.5B
Библиотека
gguf
Опубликована
13 ноя 2026

Llama-GRAPE-Qwen2.5-1.5B-Q8_0-GGUF

Генерация текстаТекст → текст3 профессии
261скачиваний за 30 дней0лайковвеса обновлены25 ноя 2026

Описание модели

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

Компактная GGUF-модель на базе Qwen2.5-1.5B для пошагового решения школьных и олимпиадных математических задач.

Это 8-битная сборка GGUF модели Llama-GRAPE-Qwen2.5-1.5B, разработанной для исследования дистилляции математических рассуждений. В основе лежит Qwen2.5-1.5B, дообученная с LoRA на 5 685 пошаговых решениях школьных и олимпиадных задач, отобранных методом GRAPE. Несмотря на слово Llama в названии, архитектура и веса происходят от Qwen2.5-1.5B.

Модель предназначена для пошагового решения математических задач с выводом итогового ответа в формате \boxed{}. Её можно запускать локально через Ollama, LM Studio или llama.cpp; файл Q8_0 занимает около 1,65 ГБ. В оценке MATH-500 точность Acc@4 составила 54,3% при указанных авторами настройках генерации.

Это исследовательская модель, а не универсальный чат-ассистент: она не обучалась для диалога, безопасности или задач за пределами математики. Распространяется по лицензии Llama 3.3 Community License; базовая модель Qwen2.5-1.5B указана с лицензией Apache 2.0.

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

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

Ограничения

Модель предназначена для математики и не обучалась как универсальный чат-ассистент или для задач безопасности; на MATH-500 она ошибается примерно в половине попыток. Качество оценки зависит от системного промпта и параметров генерации.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

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

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

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

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

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

Открыть на Hugging Face

Llama-GRAPE-Qwen2.5-1.5B-Q8_0-GGUF

Built with Llama. Built with Qwen.

This is the 8-bit (Q8_0) GGUF file of the GRAPE student from the paper Selecting Reasoning Traces by Familiarity and Quality for Small Language Model Distillation (Vu, Nguyen, Nguyen-Le, Le; Ton Duc Thang University). It is the base model Qwen2.5-1.5B fine-tuned with LoRA on 5,685 step-by-step math solutions chosen by GRAPE (the three solutions the student finds most familiar) from solutions written by three teachers. It is the strongest student of the paper and the reference that FQ-Select is compared with.

Its name begins with "Llama" because the Llama 3.3 Community License requires this for distributed models trained on outputs of Llama 3.3. The model's architecture and weights come from Qwen2.5-1.5B, not from Llama.

What it is for

The model is a research artifact. It shows that a student distilled for this paper runs on an ordinary laptop. It solves school and competition math problems step by step and puts the final answer in \boxed{}. It is not a general assistant: it was not trained for chat, safety or tasks outside math, and on MATH-500 it is wrong on about half of the attempts.

Files

FileContent
Llama-GRAPE-Qwen2.5-1.5B-Q8_0.ggufWeights, LoRA merged in float32, converted with llama.cpp and quantised to Q8_0 (1.65 GB).
ModelfileOllama settings used in the paper: prompt template, system prompt and sampling parameters.
LICENSE-Llama-3.3Copy of the Llama 3.3 Community License Agreement.

How to run

With Ollama, in the folder holding both files:

ollama create llama-grape -f Modelfile
ollama run llama-grape "What is the remainder when 2^100 is divided by 7?"

The Modelfile sets the prompt format the model was trained on (Qwen ChatML), the system prompt Please reason step by step, and put your final answer within \boxed{}, temperature 0.6, top-p 0.95, top-k off, min-p 0, repeat penalty 1, up to 3,072 new tokens, and the stop strings <|endoftext|> and <|im_end|>. Ollama's defaults (top-k 40, repeat penalty 1.1) differ from these and lower accuracy.

LM Studio

The file runs in LM Studio without conversion: drag Llama-GRAPE-Qwen2.5-1.5B-Q8_0.gguf into the app, or put it in the LM Studio models folder. LM Studio reads the prompt format (Qwen ChatML) from the file itself. Two things must be set by hand, in the chat's settings panel, to match the paper:

SettingValue
System promptPlease reason step by step, and put your final answer within \boxed{}
Temperature0.6
Top P0.95
Top K0 (off)
Min P0
Repeat penalty1 (off)
Response length limit3,072 tokens
Context length4,096 or more

Without this system prompt, Qwen's chat template may put in its own default system message, which the student never saw in training; the model still answers, but the accuracy below was measured with the settings above. llama.cpp (llama-cli, llama-server) takes the same values as command-line options.

Evaluation

MATH-500, 4 samples per question at the settings above. Acc@4 is the accuracy averaged over the four samples.

VersionEngineAcc@4
LoRA adapter, seed 42 (paper)Transformers on an RTX 306055.1
Unquantised GGUF (F16, not released)Ollama on an Apple M4 Pro53.4
This file (Q8_0)Ollama on an Apple M4 Pro54.3

The paired difference of this file from the GPU evaluation over the 500 questions is −0.8 points, 95% interval −2.5 to +0.9, within noise. On the Apple M4 Pro it generates about 111 tokens per second with 1.7 GB of memory (Table 6 of the paper).

Training

  • Base model: Qwen/Qwen2.5-1.5B (base, not instruct), Apache License 2.0.
  • Data: 1,895 GSM8K and MATH training questions (MATH-500 excluded), three correct solutions per question chosen by GRAPE from those written by DeepSeek-V3, Qwen2.5-VL-72B-Instruct and Llama-3.3-70B-Instruct.
  • LoRA rank 16, alpha 32, on all attention and feed-forward projections; learning rate 1e-4 with cosine decay; 3 epochs; batch 16; 16-bit training; seed 42.

Licences and attribution

This model is subject to several sets of terms. Users are responsible for complying with each of them.

  • Base model: Qwen2.5-1.5B is released under the Apache License 2.0.
  • Llama 3.3: part of the training data was written by Llama-3.3-70B-Instruct. Llama 3.3 is licensed under the Llama 3.3 Community License, Copyright © Meta Platforms, Inc. All Rights Reserved. Use of this model must also comply with the Llama 3.3 Community License (a copy is included as LICENSE-Llama-3.3) and the Llama 3.3 Acceptable Use Policy. Built with Llama.
  • Qwen: part of the training data was written by Qwen2.5-VL-72B-Instruct, released under the Qwen License Agreement. Built with Qwen.
  • DeepSeek-V3: part of the training data was written by DeepSeek-V3, whose recent releases are under the MIT licence.
  • Questions: GSM8K (MIT) and MATH (MIT).

Citation

The paper is under review; citation details will be added once it is published. Until then, please cite the code repository: https://github.com/JasonNguyen31/QD-RSR-Project

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

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

GPU в ailist

llama.cpp

Нельзя запустить

GGUF-модель ждёт проверки: нужно выбрать файл кванта под доступные GPU.

Ревизия весов
93c353c

0 моделей