/ Модель

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

Контекст
32 768 токенов
Параметры
7,1 млрд
Размер весов
15,2 ГБ
Лицензия
Apache 2.0
Архитектура
qwen2 · dense
Базовая модель
Qwen2.5-7B-Instruct
Библиотека
transformers
Опубликована
11 янв 2025

QwQ-MathOct-7B

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

QwQ-MathOct-7B — дообученная диалоговая модель Qwen2.5 для математических рассуждений, помощи с кодом и генерации структурированных текстовых ответов.

46скачиваний за 30 дней2лайкавеса обновлены11 янв 2025

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

  • BBH

    BBH Raw · выше — лучше

    Результат

    0,5486

    Open LLM v2 · архив

    Публичная таблицаревизия совпадает

  • GPQA

    GPQA Raw · выше — лучше

    Результат

    0,3029

    Open LLM v2 · архив

    Публичная таблицаревизия совпадает

  • MATH Lvl 5

    MATH Lvl 5 Raw · выше — лучше

    Результат

    0,2953

    Open LLM v2 · архив

    Публичная таблицаревизия совпадает

  • MMLU-PRO

    MMLU-PRO Raw · выше — лучше

    Результат

    0,433

    Open LLM v2 · архив

    Публичная таблицаревизия совпадает

  • IFEval

    IFEval Raw · выше — лучше

    Результат

    0,4684

    Open LLM v2 · архив

    Публичная таблицаревизия совпадает

  • MUSR

    MUSR Raw · выше — лучше

    Результат

    0,4601

    Open LLM v2 · архив

    Публичная таблицаревизия совпадает

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

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

QwQ-MathOct-7B — дообученная PrithivMLmods языковая модель на базе Qwen/Qwen2.5-7B-Instruct. Это плотная причинная модель семейства Qwen2 с 7,1 млрд параметров, предназначенная для диалогов и генерации текста. Она ориентирована на математические задачи, рассуждения, помощь с кодом, следование инструкциям и создание структурированных ответов; поддерживает контекст до 32 768 токенов и работает через Transformers.

Модель подходит для пошагового объяснения решений, генерации и разбора кода, подготовки учебных материалов, многоязычного общения и создания содержимого. В карточке заявлена поддержка более 29 языков, включая русский и английский. Возможные ограничения — ошибки в неоднозначных задачах, устаревшие знания, унаследованные от обучающих данных смещения и необходимость проверки ответов, особенно в чувствительных сценариях. Указана лицензия Apache-2.0.

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

  • Решение математических задач с объяснением шагов
  • Генерация и отладка программного кода
  • Ответы на вопросы в многоязычном чат-боте
  • Подготовка учебных вопросов и пояснений
  • Создание структурированных ответов в формате JSON

Ограничения

Модель может ошибаться в сложных или неоднозначных запросах, воспроизводить смещения данных обучения и не знает событий после обучения. Ответы следует проверять, особенно при использовании в чувствительных сценариях.

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

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

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

Также подходит для

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

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

Открыть на Hugging Face

QwQ-MathOct-7B [Based on Qwen2.5]

QwQ-MathOct-7B, part of the latest series of Qwen large language models, represents a significant leap in performance for tasks involving reasoning, mathematics, coding, and instruction-following. Qwen2.5, the foundation for this model, brings several major advancements that improve knowledge depth, instruction adherence, long-context handling, and multilingual support. The models in the Qwen2.5 series range from 0.5 billion to 72 billion parameters, catering to a variety of computational needs.

Key Improvements in Qwen2.5

  1. Enhanced Knowledge and Specialized Capabilities:

    • Significantly increased knowledge base across general and specialized domains.
    • Greatly improved coding and mathematics capabilities, due to the integration of specialized expert models in these fields.
  2. Better Instruction Following:

    • Increased ability to understand and follow complex instructions, even when prompts vary significantly in structure.
    • Capable of generating long coherent texts exceeding 8,000 tokens, making it suitable for detailed reports, stories, and academic papers.
  3. Improved Structured Data Understanding:

    • Enhanced ability to comprehend and generate structured data, such as tables and JSON outputs.
    • Particularly effective in applications requiring structured or role-play outputs, allowing it to excel in chatbot development and system-level interactions.
  4. Long-context Support:

    • Supports up to 128,000 tokens in context, allowing it to process and generate content based on extensive input data.
    • Can generate outputs of up to 8,000 tokens in a single response, making it ideal for use cases requiring long-form content.
  5. Multilingual Support:

    • Provides support for over 29 languages, including:
      • Chinese, English, French, Spanish, Portuguese, German, Italian, Russian, Japanese, Korean, Vietnamese, Thai, Arabic, and more.
    • This makes it highly suitable for global applications, including translation, content generation, and multilingual customer support.

Run with Transformers

# pip install transformers accelerate
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch

# Load the tokenizer and model
tokenizer = AutoTokenizer.from_pretrained("prithivMLmods/QwQ-MathOct-7B")
model = AutoModelForCausalLM.from_pretrained(
    "prithivMLmods/QwQ-MathOct-7B",
    device_map="auto",
    torch_dtype=torch.bfloat16,
)

# Prepare input and generate response
input_text = "Solve the equation: 3x + 5 = 20"
input_ids = tokenizer(input_text, return_tensors="pt").to("cuda")

outputs = model.generate(**input_ids, max_new_tokens=32)
print(tokenizer.decode(outputs[0]))

You can ensure the correct chat template is applied by using tokenizer.apply_chat_template as follows:

messages = [
    {"role": "user", "content": "Solve the equation: 3x + 5 = 20"},
]
input_ids = tokenizer.apply_chat_template(messages, return_tensors="pt", return_dict=True).to("cuda")

outputs = model.generate(**input_ids, max_new_tokens=256)
print(tokenizer.decode(outputs[0]))

Intended Use

The QwQ-MathOct-7B model is designed for a wide range of applications, particularly those requiring advanced reasoning, high-quality text generation, multilingual capabilities, and structured data understanding. Below are some key intended use cases:

1. Complex Reasoning Tasks

  • Solving intricate problems in mathematics, logic, and science.
  • Assisting in academic research by providing detailed explanations, derivations, and summaries.

2. Coding Assistance

  • Providing code generation, debugging suggestions, and explanations for various programming languages.
  • Assisting developers in understanding codebases, generating structured outputs like JSON or XML, and offering real-time help.

3. Content Creation

  • Generating high-quality multilingual content for global audiences.
  • Assisting writers, marketers, and creators with creative ideas, stories, and technical documentation.

4. Educational Tools

  • Offering detailed explanations and step-by-step solutions for students and educators.
  • Generating practice questions and answers for various educational levels.

5. Multilingual Applications

  • Translating text across multiple languages while preserving context and nuance.
  • Supporting multilingual chatbots and virtual assistants with accurate and culturally relevant responses.

6. Customer Support

  • Automating responses to customer queries with accurate and helpful information.
  • Handling complex customer service scenarios with advanced reasoning and structured outputs.

7. Safety-Critical Applications

  • Ensuring responses adhere to safety guidelines, making it suitable for sensitive domains.
  • Providing harmlessness-focused interactions in public-facing applications.

Limitations

Despite its many strengths, QwQ-MathOct-7B has certain limitations:

1. Bias and Fairness

  • The model may exhibit biases inherent in the training data. Users should exercise caution when deploying it in sensitive contexts.

2. Contextual Understanding

  • While it performs well in understanding structured prompts, it may occasionally misinterpret highly complex or ambiguous instructions.

3. Real-Time Knowledge

  • The model's knowledge is static, limited to the data it was trained on, and does not include real-time updates or events post-training.

4. Safety and Harmlessness

  • Although safety measures are in place, there is still a possibility of generating inappropriate or harmful outputs. Continuous monitoring is recommended.

5. Resource Requirements

  • Running the model efficiently may require significant computational resources, especially for large-scale or real-time applications.

6. Ethical Considerations

  • The model should not be used for malicious purposes, such as generating harmful content, misinformation, or spam.

7. Domain-Specific Limitations

  • While effective for general-purpose tasks, it may require additional fine-tuning for specialized domains such as medicine, law, or finance.

Conclusion

QwQ-MathOct-7B, based on Qwen2.5, is a powerful and versatile model that excels in mathematics, coding, multilingual content generation, and complex reasoning tasks. Its long-context support and structured data understanding capabilities make it ideal for advanced applications across various industries. Users should remain mindful of its limitations and ensure ethical usage for the best outcomes.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей