/ Модель

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

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

Qwen2.5-7B-HomerCreative-Mix

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

Слитая на основе Qwen2.5 языковая модель для творческой генерации текста, диалогов и следования инструкциям.

37скачиваний за 30 дней10лайковвеса обновлены22 ноя 2024

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

  • MUSR

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

    Результат

    0,435

    Open LLM v2 · архив

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

  • IFEval

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

    Результат

    0,7835

    Open LLM v2 · архив

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

  • BBH

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

    Результат

    0,5548

    Open LLM v2 · архив

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

  • GPQA

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

    Результат

    0,2995

    Open LLM v2 · архив

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

  • MMLU-PRO

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

    Результат

    0,4447

    Open LLM v2 · архив

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

  • MATH Lvl 5

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

    Результат

    0,3565

    Open LLM v2 · архив

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

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

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

ZeroXClem/Qwen2.5-7B-HomerCreative-Mix — языковая модель, созданная ZeroXClem слиянием четырёх предварительно обученных моделей семейства Qwen2.5 методом Model Stock с помощью mergekit. Она объединяет возможности для творческой генерации, следования инструкциям и диалогов.

Модель предназначена для генерации текста, интерактивного сторителлинга и ролевых диалогов, а также для создания маркетинговых материалов, объяснений и ответов на вопросы. Архитектура — плотная Qwen2, 7,1 млрд параметров; заявленная длина контекста — 32 768 токенов. Карточка указывает английский язык. Репозиторий содержит веса safetensors; конфигурация слияния использует bfloat16 и INT8-маску.

Модель рассчитана на запуск через Transformers и требует достаточных вычислительных ресурсов, особенно GPU. Для специализированных сценариев может потребоваться дополнительная настройка; результаты для перечисленных применений не гарантированы. Лицензия — Apache-2.0.

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

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

Ограничения

Для инференса нужны достаточные вычислительные ресурсы, особенно GPU; для узкоспециализированных задач может потребоваться дополнительная настройка. Заявленные сценарии и преимущества основаны на описании автора и не гарантируют качество в конкретном применении.

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

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

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

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

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

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

Открыть на Hugging Face

ZeroXClem/Qwen2.5-7B-HomerCreative-Mix

ZeroXClem/Qwen2.5-7B-HomerCreative-Mix is an advanced language model meticulously crafted by merging four pre-trained models using the powerful mergekit framework. This fusion leverages the Model Stock merge method to combine the creative prowess of Qandora, the instructive capabilities of Qwen-Instruct-Fusion, the sophisticated blending of HomerSlerp1, and the foundational conversational strengths of Homer-v0.5-Qwen2.5-7B. The resulting model excels in creative text generation, contextual understanding, and dynamic conversational interactions.

🚀 Merged Models

This model merge incorporates the following:

🧩 Merge Configuration

The configuration below outlines how the models are merged using the Model Stock method. This approach ensures a balanced and effective integration of the unique strengths from each source model.

# Merge configuration for ZeroXClem/Qwen2.5-7B-HomerCreative-Mix using Model Stock

models:
  - model: bunnycore/Qandora-2.5-7B-Creative
  - model: bunnycore/Qwen2.5-7B-Instruct-Fusion
  - model: allknowingroger/HomerSlerp1-7B
merge_method: model_stock
base_model: newsbang/Homer-v0.5-Qwen2.5-7B
normalize: false
int8_mask: true
dtype: bfloat16

Key Parameters

  • Merge Method (merge_method): Utilizes the Model Stock method, as described in Model Stock, to effectively combine multiple models by leveraging their strengths.

  • Models (models): Specifies the list of models to be merged:

    • bunnycore/Qandora-2.5-7B-Creative: Enhances creative text generation.
    • bunnycore/Qwen2.5-7B-Instruct-Fusion: Improves instruction-following capabilities.
    • allknowingroger/HomerSlerp1-7B: Facilitates smooth blending of model weights using SLERP.
  • Base Model (base_model): Defines the foundational model for the merge, which is newsbang/Homer-v0.5-Qwen2.5-7B in this case.

  • Normalization (normalize): Set to false to retain the original scaling of the model weights during the merge.

  • INT8 Mask (int8_mask): Enabled (true) to apply INT8 quantization masking, optimizing the model for efficient inference without significant loss in precision.

  • Data Type (dtype): Uses bfloat16 to maintain computational efficiency while ensuring high precision.

🏆 Performance Highlights

  • Creative Text Generation: Enhanced ability to produce imaginative and diverse content suitable for creative writing, storytelling, and content creation.

  • Instruction Following: Improved performance in understanding and executing user instructions, making the model more responsive and accurate in task execution.

  • Optimized Inference: INT8 masking and bfloat16 data type contribute to efficient computation, enabling faster response times without compromising quality.

🎯 Use Case & Applications

ZeroXClem/Qwen2.5-7B-HomerCreative-Mix is designed to excel in environments that demand both creative generation and precise instruction following. Ideal applications include:

  • Creative Writing Assistance: Aiding authors and content creators in generating imaginative narratives, dialogues, and descriptive text.

  • Interactive Storytelling and Role-Playing: Enhancing dynamic and engaging interactions in role-playing games and interactive storytelling platforms.

  • Educational Tools and Tutoring Systems: Providing detailed explanations, answering questions, and assisting in educational content creation with contextual understanding.

  • Technical Support and Customer Service: Offering accurate and contextually relevant responses in technical support scenarios, improving user satisfaction.

  • Content Generation for Marketing: Creating compelling and diverse marketing copy, social media posts, and promotional material with creative flair.

📝 Usage

To utilize ZeroXClem/Qwen2.5-7B-HomerCreative-Mix, follow the steps below:

Installation

First, install the necessary libraries:

pip install -qU transformers accelerate

Example Code

Below is an example of how to load and use the model for text generation:

from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
import torch

# Define the model name
model_name = "ZeroXClem/Qwen2.5-7B-HomerCreative-Mix"

# Load the tokenizer
tokenizer = AutoTokenizer.from_pretrained(model_name)

# Load the model
model = AutoModelForCausalLM.from_pretrained(
    model_name,
    torch_dtype=torch.bfloat16,
    device_map="auto"
)

# Initialize the pipeline
text_generator = pipeline(
    "text-generation",
    model=model,
    tokenizer=tokenizer,
    torch_dtype=torch.bfloat16,
    device_map="auto"
)

# Define the input prompt
prompt = "Once upon a time in a land far, far away,"

# Generate the output
outputs = text_generator(
    prompt,
    max_new_tokens=150,
    do_sample=True,
    temperature=0.7,
    top_k=50,
    top_p=0.95
)

# Print the generated text
print(outputs[0]["generated_text"])

Notes

  • Fine-Tuning: This merged model may require fine-tuning to optimize performance for specific applications or domains.

  • Resource Requirements: Ensure that your environment has sufficient computational resources, especially GPU-enabled hardware, to handle the model efficiently during inference.

  • Customization: Users can adjust parameters such as temperature, top_k, and top_p to control the creativity and diversity of the generated text.

📜 License

This model is open-sourced under the Apache-2.0 License.

💡 Tags

  • merge
  • mergekit
  • model_stock
  • Qwen
  • Homer
  • Creative
  • ZeroXClem/Qwen2.5-7B-HomerCreative-Mix
  • bunnycore/Qandora-2.5-7B-Creative
  • bunnycore/Qwen2.5-7B-Instruct-Fusion
  • allknowingroger/HomerSlerp1-7B
  • newsbang/Homer-v0.5-Qwen2.5-7B

Open LLM Leaderboard Evaluation Results

Detailed results can be found here

MetricValue
Avg.34.35
IFEval (0-Shot)78.35
BBH (3-Shot)36.77
MATH Lvl 5 (4-Shot)32.33
GPQA (0-shot)6.60
MuSR (0-shot)13.77
MMLU-PRO (5-shot)38.30

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей