/ Модель

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

Контекст
32 768 токенов
Параметры
7,1 млрд
Размер весов
14,5 ГБ
Лицензия
Apache 2.0
Архитектура
mistral · dense
Библиотека
transformers
Опубликована
24 мар 2024

Hyperion-3.0-Mistral-7B-DPO

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

Дообученная на предпочтениях англоязычная модель Mistral для диалогов, генерации кода и решения математических, логических и предметных задач.

79скачиваний за 30 дней5лайковвеса обновлены24 мар 2024

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Locutusque разработала Hyperion-3.0-Mistral-7B-DPO — языковую модель на базе Mistral-7B-v0.1, дообученную методом Direct Preference Optimization на предпочтениях для диалогов и решения задач. Модель имеет плотную архитектуру MistralForCausalLM, содержит 7,1 млрд параметров и поддерживает контекст до 32 768 токенов.

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

Карточка приводит результаты оценки на наборе MMLU и предупреждает о возможных несогласованностях и смещениях в данных. Модель склонна отвечать на большинство запросов, поэтому её результаты, особенно в медицинских сценариях, следует проверять. Распространяется по лицензии Apache-2.0.

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

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

Ограничения

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

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

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

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

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

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

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

Открыть на Hugging Face

Hyperion-3.0-Mistral-7B-DPO

Model Details

  • Model Name: Locutusque/Hyperion-3.0-Mistral-7B-DPO
  • Base Model: mistralai/Mistral-7B-v0.1
  • Publisher: Locutusque
  • Model Type: Question answering, conversational AI, code generation, medical text comprehension, mathematical reasoning, logical reasoning
  • Language: Multi-domain, English language
  • License: Apache-2.0

Model Description

Locutusque/Hyperion-3.0-Mistral-7B-DPO is an advanced language model fine-tuned with a dataset of 20,000 meticulously curated high-quality preference pairs using Direct Preference Optimization (DPO). The examples were generated by GPT-4 to ensure exceptional quality and relevance. This model is designed to provide superior performance across a wide range of complex tasks, including question answering, conversational AI, code generation, medical text comprehension, mathematical reasoning, and logical reasoning.

Intended Use

This model is intended for researchers, developers, and organizations seeking a highly capable and reliable language model for tackling challenging problems across various domains. Potential use cases include:

  • Intelligent tutoring systems and educational applications in science, medicine, mathematics, and computer science
  • Advanced conversational AI for technical support, customer service, and domain-specific chatbots
  • Code generation and analysis tools for software development and programming assistance
  • Medical text analysis and information retrieval for healthcare professionals and researchers
  • Mathematical problem-solving and logical reasoning applications for academia and industry

Training Data

The Locutusque/Hyperion-3.0-Mistral-7B-DPO model was fine-tuned on a carefully curated dataset of 20,000 preference pairs, where 4,000 examples were used to fine-tune. These examples were generated by GPT-4 to ensure the highest quality and relevance across various domains, including programming, medical texts, mathematical problems, and reasoning tasks. The training data was further optimized using Direct Preference Optimization (DPO) to align the model's outputs with human preferences and improve overall performance.

Quants

ExLlamaV2: https://huggingface.co/bartowski/Hyperion-3.0-Mistral-7B-DPO-exl2

GGUF: https://huggingface.co/bartowski/Hyperion-3.0-Mistral-7B-DPO-GGUF

Evaluation Results

mmlu flan cot 5-shot

TasksVersionFiltern-shotMetricValueStderr
mmlu_flan_cot_fewshotN/Aget-answer0exact_match0.5833±0.0118
- mmlu_flan_cot_fewshot_humanitiesN/Aget-answer0exact_match0.5039±0.0205
- mmlu_flan_cot_fewshot_formal_logic0get-answer0exact_match0.2143±0.1138
- mmlu_flan_cot_fewshot_high_school_european_history0get-answer0exact_match0.6667±0.1143
- mmlu_flan_cot_fewshot_high_school_us_history0get-answer0exact_match0.7727±0.0914
- mmlu_flan_cot_fewshot_high_school_world_history0get-answer0exact_match0.5385±0.0997
- mmlu_flan_cot_fewshot_international_law0get-answer0exact_match0.9231±0.0769
- mmlu_flan_cot_fewshot_jurisprudence0get-answer0exact_match0.5455±0.1575
- mmlu_flan_cot_fewshot_logical_fallacies0get-answer0exact_match0.7778±0.1008
- mmlu_flan_cot_fewshot_moral_disputes0get-answer0exact_match0.5526±0.0817
- mmlu_flan_cot_fewshot_moral_scenarios0get-answer0exact_match0.4000±0.0492
- mmlu_flan_cot_fewshot_philosophy0get-answer0exact_match0.7647±0.0738
- mmlu_flan_cot_fewshot_prehistory0get-answer0exact_match0.6571±0.0814
- mmlu_flan_cot_fewshot_professional_law0get-answer0exact_match0.3294±0.0362
- mmlu_flan_cot_fewshot_world_religions0get-answer0exact_match0.8947±0.0723
- mmlu_flan_cot_fewshot_otherN/Aget-answer0exact_match0.6833±0.0244
- mmlu_flan_cot_fewshot_business_ethics0get-answer0exact_match0.9091±0.0909
- mmlu_flan_cot_fewshot_clinical_knowledge0get-answer0exact_match0.5862±0.0931
- mmlu_flan_cot_fewshot_college_medicine0get-answer0exact_match0.6364±0.1050
- mmlu_flan_cot_fewshot_global_facts0get-answer0exact_match0.6000±0.1633
- mmlu_flan_cot_fewshot_human_aging0get-answer0exact_match0.6087±0.1041
- mmlu_flan_cot_fewshot_management0get-answer0exact_match0.9091±0.0909
- mmlu_flan_cot_fewshot_marketing0get-answer0exact_match0.8000±0.0816
- mmlu_flan_cot_fewshot_medical_genetics0get-answer0exact_match1.0000±0.0000
- mmlu_flan_cot_fewshot_miscellaneous0get-answer0exact_match0.8023±0.0432
- mmlu_flan_cot_fewshot_nutrition0get-answer0exact_match0.6667±0.0833
- mmlu_flan_cot_fewshot_professional_accounting0get-answer0exact_match0.4839±0.0912
- mmlu_flan_cot_fewshot_professional_medicine0get-answer0exact_match0.5806±0.0901
- mmlu_flan_cot_fewshot_virology0get-answer0exact_match0.3889±0.1182
- mmlu_flan_cot_fewshot_social_sciencesN/Aget-answer0exact_match0.7003±0.0239
- mmlu_flan_cot_fewshot_econometrics0get-answer0exact_match0.4167±0.1486
- mmlu_flan_cot_fewshot_high_school_geography0get-answer0exact_match0.9091±0.0627
- mmlu_flan_cot_fewshot_high_school_government_and_politics0get-answer0exact_match0.8095±0.0878
- mmlu_flan_cot_fewshot_high_school_macroeconomics0get-answer0exact_match0.6512±0.0735
- mmlu_flan_cot_fewshot_high_school_microeconomics0get-answer0exact_match0.5769±0.0988
- mmlu_flan_cot_fewshot_high_school_psychology0get-answer0exact_match0.9000±0.0391
- mmlu_flan_cot_fewshot_human_sexuality0get-answer0exact_match0.6667±0.1421
- mmlu_flan_cot_fewshot_professional_psychology0get-answer0exact_match0.6522±0.0578
- mmlu_flan_cot_fewshot_public_relations0get-answer0exact_match0.5833±0.1486
- mmlu_flan_cot_fewshot_security_studies0get-answer0exact_match0.4074±0.0964
- mmlu_flan_cot_fewshot_sociology0get-answer0exact_match0.8182±0.0842
- mmlu_flan_cot_fewshot_us_foreign_policy0get-answer0exact_match0.7273±0.1408
- mmlu_flan_cot_fewshot_stemN/Aget-answer0exact_match0.4866±0.0262
- mmlu_flan_cot_fewshot_abstract_algebra0get-answer0exact_match0.0909±0.0909
- mmlu_flan_cot_fewshot_anatomy0get-answer0exact_match0.4286±0.1373
- mmlu_flan_cot_fewshot_astronomy0get-answer0exact_match0.5625±0.1281
- mmlu_flan_cot_fewshot_college_biology0get-answer0exact_match0.5000±0.1291
- mmlu_flan_cot_fewshot_college_chemistry0get-answer0exact_match0.5000±0.1890
- mmlu_flan_cot_fewshot_college_computer_science0get-answer0exact_match0.2727±0.1408
- mmlu_flan_cot_fewshot_college_mathematics0get-answer0exact_match0.3636±0.1521
- mmlu_flan_cot_fewshot_college_physics0get-answer0exact_match0.3636±0.1521
- mmlu_flan_cot_fewshot_computer_security0get-answer0exact_match0.7273±0.1408
- mmlu_flan_cot_fewshot_conceptual_physics0get-answer0exact_match0.6538±0.0951
- mmlu_flan_cot_fewshot_electrical_engineering0get-answer0exact_match0.7500±0.1118
- mmlu_flan_cot_fewshot_elementary_mathematics0get-answer0exact_match0.7317±0.0701
- mmlu_flan_cot_fewshot_high_school_biology0get-answer0exact_match0.5938±0.0882
- mmlu_flan_cot_fewshot_high_school_chemistry0get-answer0exact_match0.3636±0.1050
- mmlu_flan_cot_fewshot_high_school_computer_science0get-answer0exact_match0.5556±0.1757
- mmlu_flan_cot_fewshot_high_school_mathematics0get-answer0exact_match0.3103±0.0874
- mmlu_flan_cot_fewshot_high_school_physics0get-answer0exact_match0.2353±0.1060
- mmlu_flan_cot_fewshot_high_school_statistics0get-answer0exact_match0.3043±0.0981
- mmlu_flan_cot_fewshot_machine_learning0get-answer0exact_match0.4545±0.1575
GroupsVersionFiltern-shotMetricValueStderr
mmlu_flan_cot_fewshotN/Aget-answer0exact_match0.5833±0.0118
- mmlu_flan_cot_fewshot_humanitiesN/Aget-answer0exact_match0.5039±0.0205
- mmlu_flan_cot_fewshot_otherN/Aget-answer0exact_match0.6833±0.0244
- mmlu_flan_cot_fewshot_social_sciencesN/Aget-answer0exact_match0.7003±0.0239
- mmlu_flan_cot_fewshot_stemN/Aget-answer0exact_match0.4866±0.0262

How to Use

from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "Locutusque/Hyperion-3.0-Mistral-7B-DPO"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name)

# For a text generation task
input_text = "<|im_start|>user\nExplain the implications of quantum entanglement in layman's terms.<|im_end|>\n<|im_start|>assistant\n"
input_ids = tokenizer.encode(input_text, return_tensors="pt")

# Generate a response
outputs = model.generate(input_ids, max_length=200, do_sample=True, top_p=0.7, top_k=6) # These are the recommended sample settings.
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Known Limitations

While the training data has been carefully curated and optimized, there may still be some inconsistencies or biases present due to the inherent complexity and diversity of the source dataset. Users should be aware of potential limitations and carefully evaluate the model's outputs for their specific use case.

Additionally, this model is highly compliant and will attempt to respond to most requests. For enterprise-level deployment, it is strongly recommended to further fine-tune the model using DPO to align its behavior with specific requirements and constraints.

Licensing Information

This model is released under the Apache-2.0 license.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
MistralForCausalLM
Ревизия весов
9f03aea

0 моделей