/ Модель

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

Лицензия
Apache 2.0
Базовая модель
Qwen2.5-Math-7B-Instruct
Библиотека
transformers
Опубликована
17 ноя 2024

BitStarWalkin_-_SuperCorrect-7B-gguf

Ответы на вопросыТекст → текст3 профессии

SuperCorrect-7B GGUF — квантизированная версия языковой модели SuperCorrect-7B, созданная Richard Erkhov на основе модели BitStarWalkin и базовой Qwen/Qwen2.5-Math-7B-Instruct.

701скачиваний за 30 дней0лайковвеса обновлены27 фев 2025

Бенчмарки

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

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

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

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

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

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

Оригинальная модель разработана исследователями из Peking University, Skywork AI, UC Berkeley и Stanford University, включая Ling Yang, Zhaochen Yu, Tianjun Zhang, Minkai Xu, Joseph E. Gonzalez, Bin Cui и Shuicheng Yan.

Модель предназначена прежде всего для решения математических задач, рассуждений и самокоррекции ответов. Она обучена и оценивалась на наборах MATH и GSM8K; заявлено превосходство над DeepSeekMath-7B и Qwen2.5-Math-7B на этих бенчмарках среди моделей с 7B параметров. SuperCorrect использует двухэтапную тонкую настройку и иерархический шаблон рассуждений Buffer of Thought. Доступны варианты в формате GGUF с квантованием Q2_K–Q8_0 и размером примерно от 2,81 до 7,54 ГБ.

Указана поддержка английского языка, архитектура на базе Qwen2.5-Math-7B-Instruct и текстовая модальность; размер контекста в README не приведён. Сильные стороны модели — математическое рассуждение и способность к самокоррекции, однако её специализация ограничивает применимость за пределами математических задач, а влияние степени квантования на точность может различаться. Модель распространяется по лицензии Apache-2.0.

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

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

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

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

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

Открыть на Hugging Face

Quantization made by Richard Erkhov.

Github

Discord

Request more models

SuperCorrect-7B - GGUF

NameQuant methodSize
SuperCorrect-7B.Q2_K.ggufQ2_K2.81GB
SuperCorrect-7B.Q3_K_S.ggufQ3_K_S3.25GB
SuperCorrect-7B.Q3_K.ggufQ3_K3.55GB
SuperCorrect-7B.Q3_K_M.ggufQ3_K_M3.55GB
SuperCorrect-7B.Q3_K_L.ggufQ3_K_L3.81GB
SuperCorrect-7B.IQ4_XS.ggufIQ4_XS3.96GB
SuperCorrect-7B.Q4_0.ggufQ4_04.13GB
SuperCorrect-7B.IQ4_NL.ggufIQ4_NL4.16GB
SuperCorrect-7B.Q4_K_S.ggufQ4_K_S4.15GB
SuperCorrect-7B.Q4_K.ggufQ4_K4.36GB
SuperCorrect-7B.Q4_K_M.ggufQ4_K_M4.36GB
SuperCorrect-7B.Q4_1.ggufQ4_14.54GB
SuperCorrect-7B.Q5_0.ggufQ5_04.95GB
SuperCorrect-7B.Q5_K_S.ggufQ5_K_S4.95GB
SuperCorrect-7B.Q5_K.ggufQ5_K5.07GB
SuperCorrect-7B.Q5_K_M.ggufQ5_K_M5.07GB
SuperCorrect-7B.Q5_1.ggufQ5_15.36GB
SuperCorrect-7B.Q6_K.ggufQ6_K5.82GB
SuperCorrect-7B.Q8_0.ggufQ8_07.54GB

Original model description:

license: apache-2.0 language:

  • en metrics:
  • accuracy base_model:
  • Qwen/Qwen2.5-Math-7B-Instruct library_name: transformers pipeline_tag: question-answering

SuperCorrect: Supervising and Correcting Language Models with Error-Driven Insights

SuperCorrect: Supervising and Correcting Language Models with Error-Driven Insights Ling Yang*, Zhaochen Yu*, Tianjun Zhang, Minkai Xu, Joseph E. Gonzalez,Bin Cui, Shuicheng Yan

Peking University, Skywork AI, UC Berkeley, Stanford University

Introduction

image

This repo provides the official implementation of SuperCorrect a novel two-stage fine-tuning method for improving both reasoning accuracy and self-correction ability for LLMs.

Notably, our SupperCorrect-7B model significantly surpasses powerful DeepSeekMath-7B by 7.8%/5.3% and Qwen2.5-Math-7B by 15.1%/6.3% on MATH/GSM8K benchmarks, achieving new SOTA performance among all 7B models.

Examples

image

Model details

You can check our Github repo for more details.

Quick Start

Requirements

  • Since our current model is based on Qwen2.5-Math series, transformers>=4.37.0 is needed for Qwen2.5-Math models. The latest version is recommended.

[!Warning]

Inference

🤗 Hugging Face Transformers

from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "BitStarWalkin/SuperCorrect-7B"
device = "cuda" 

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

prompt = "Find the distance between the foci of the ellipse \[9x^2 + \frac{y^2}{9} = 99.\]"
hierarchical_prompt = "Solve the following math problem in a step-by-step XML format, each step should be enclosed within tags like <Step1></Step1>. For each step enclosed within the tags, determine if this step is challenging and tricky, if so, add detailed explanation and analysis enclosed within <Key> </Key> in this step, as helpful annotations to help you thinking and remind yourself how to conduct reasoning correctly. After all the reasoning steps, summarize the common solution and reasoning steps to help you and your classmates who are not good at math generalize to similar problems within <Generalized></Generalized>. Finally present the final answer within <Answer> </Answer>."
# HT
messages = [
    {"role": "system", "content":hierarchical_prompt },
    {"role": "user", "content": prompt}
]

text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True
)
model_inputs = tokenizer([text], return_tensors="pt").to(device)

generated_ids = model.generate(
    **model_inputs,
    max_new_tokens=1024
)
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)

Performance

We evaluate our SupperCorrect-7B on two widely used English math benchmarks GSM8K and MATH. All evaluations are tested with our evaluation method which is zero-shot hierarchical thought based prompting.

image

Citation

@inproceedings{yang2025supercorrect,
  title={SuperCorrect: Supervising and Correcting Language Models with Error-Driven Insights},
  author={Yang, Ling and Yu, Zhaochen and Zhang, Tianjun and Xu, Minkai and Gonzalez, Joseph E and Cui, Bin and Yan, Shuicheng},
  booktitle={International Conference on Learning Representations},
  year={2025}
}

@article{yang2024buffer,
  title={Buffer of Thoughts: Thought-Augmented Reasoning with Large Language Models},
  author={Yang, Ling and Yu, Zhaochen and Zhang, Tianjun and Cao, Shiyi and Xu, Minkai and Zhang, Wentao and Gonzalez, Joseph E and Cui, Bin},
  journal={Advances in Neural Information Processing Systems},
  year={2024}
}

Acknowledgements

Our SuperCorrect is a two-stage fine-tuning model which based on several extraordinary open-source models like Qwen2.5-Math, DeepSeek-Math, Llama3-Series. Our evaluation method is based on the code base of outstanding works like Qwen2.5-Math and lm-evaluation-harness. We also want to express our gratitude for amazing works such as BoT which provides the idea of thought template.

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

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

GPU в ailist

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

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

GGUF-веса поддерживаются только для текстовых LLM (llama.cpp).

Ревизия весов
3fdb626

0 моделей