/ Модель

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

Контекст
32 768 токенов
Параметры
7,1 млрд
Лицензия
Apache 2.0
Архитектура
mixtral · MoE
Базовая модель
NeuralBeagle14-7B
Опубликована
31 янв 2024

MixtureofMerges-MoE-v2

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

Объединённая модель Mixtral MoE на 7,1 млрд параметров для диалогов, следования инструкциям, рассуждений и генерации текста.

68скачиваний за 30 дней1лайквеса обновлены4 мар 2024

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

MixtureofMerges-MoE-v2 — языковая модель с архитектурой Mixtral MoE, созданная автором jsfs11 с помощью LazyMergekit. Она объединяет четыре модели на основе 7B-чекпойнтов: NeuralBeagle14-7B, TurdusTrixBeagle-DARETIES-7B, WestSeverus-7B-DPO-v2 и Wernicke-7B-v7. Модель предназначена для генерации текста, диалогов, следования инструкциям, рассуждений и творческих ответов. Веса опубликованы в формате safetensors; размер составляет 7,1 млрд параметров, контекст — до 32 768 токенов.

В README приведены результаты оценки на Open LLM Leaderboard, включая среднее значение 74,82, AI2 Reasoning Challenge — 72,44 и HellaSwag — 88,41. Модель распространяется по лицензии Apache-2.0. Карточка не уточняет поддерживаемые языки и не приводит подробностей о качестве в прикладных сценариях.

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

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

Ограничения

README не указывает поддерживаемые языки и не описывает ограничения модели или её качество в реальных прикладных сценариях.

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

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

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

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

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

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

Открыть на Hugging Face

MixtureofMerges-MoE-v2

Credit to CultriX/Wernicke-MoE for the inspiration on this model. I'm quite pleased with how it turned out.

MixtureofMerges-MoE-v2 is a Mixure of Experts (MoE) made with the following models using LazyMergekit:

🧩 Configuration

base_model: "CultriX/Wernicke-7B-v9"
gate_mode: hidden
dtype: float16
experts:
  - source_model: "mlabonne/NeuralBeagle14-7B" #AGIEval
    positive_prompts:
      - "Analyze the long-term economic impacts of the Industrial Revolution on global trade dynamics."
      - "Discuss the scientific advancements during the Space Race and their modern-day implications."
      - "Explain the geopolitical shifts resulting from the collapse of the Soviet Union."
      - "Evaluate the environmental and social consequences of deforestation in the Amazon rainforest."
      - "Assess the role of technology in shaping 21st-century political campaigns."
      - "Describe the evolution of renewable energy technologies and their future potential."
      - "Analyze the social and economic effects of the internet revolution on global communication."
      - "Discuss the ethical considerations in implementing artificial intelligence in healthcare."
      - "Examine the historical significance of the Treaty of Versailles in shaping post-World War I Europe."
      - "Explain the impact of quantum computing on cybersecurity in the coming decades."
      - "Assess the effects of climate change on global migration patterns."
      - "Analyze the historical development and significance of the United Nations."
      - "Discuss the role of nanotechnology in advancing medical science."
      - "Evaluate the economic consequences of cryptocurrency adoption on traditional banking systems."
      - "Explain the scientific principles of gene editing and its potential societal impacts."
    negative_prompts:
      - "Write a short story set in a futuristic world where AI governs society."
      - "Compose a poem about the beauty of the ocean."
      - "Create a fictional character and describe their journey through a magical land."
      - "Narrate a day in the life of an astronaut exploring Mars."
      - "Draft a dialogue between two famous painters discussing the essence of art."
      - "Describe the scenery of a peaceful village in the Swiss Alps."
      - "Invent a new language and provide basic grammar rules and vocabulary."
      - "Sketch a scene of a bustling market in a historical city."
      - "Compose a song about the changing seasons."
      - "Write a theatrical script set in 18th-century France."
  - source_model: "jsfs11/TurdusTrixBeagle-DARETIES-7B" #GPT4ALL
    positive_prompts:
      - "Translate the Japanese haiku into English and explain its cultural context."
      - "Write a short story in Spanish set during the Mexican Revolution."
      - "Describe the traditional Italian family dinner, highlighting cultural nuances in Italian."
      - "Compose a poem in French about the Eiffel Tower and its symbolism in French culture."
      - "Translate the following Russian proverb into English and discuss its meaning: 'Век живи — век учись' (Live for a century, learn for a century)."
      - "Narrate a typical day during the Brazilian Carnival in Portuguese, focusing on the cultural significance."
      - "Discuss the influence of ancient Greek philosophy on modern Western culture, incorporating phrases in Greek."
      - "Write a dialogue in Mandarin between two characters discussing the significance of the Chinese New Year."
      - "Explain the concept of 'Hygge' in Danish and its impact on Danish lifestyle."
      - "Describe the traditional Indian wedding ceremonies in Hindi, emphasizing the diverse cultural practices."
      - "Compose a poem about the beauty of a sunset over the ocean."
      - "Create a fictional character who lives in a utopian society and describe their daily life."
    negative_prompts:
      - "Analyze the economic impact of the 2008 global financial crisis."
      - "Explain the theory of relativity and its scientific implications."
      - "Discuss the ecological impacts of plastic pollution in the world's oceans."
      - "Describe the process of photosynthesis in detail."
      - "Debate the ethical implications of genetic modification in agriculture."
      - "Explain the principles of quantum computing and its future applications."
      - "Assess the role of artificial intelligence in modern cybersecurity."
      - "Analyze the causes and effects of climate change on global weather patterns."
      - "Discuss the significance of the discovery of the Higgs boson particle."
      - "Explain the psychological effects of social media on human behavior."
      - "Discuss the principles of plate tectonics and how they explain continental drift and earthquakes."
      - "Discuss the water cycle and its importance in maintaining life on Earth."
  - source_model: "FelixChao/WestSeverus-7B-DPO-v2" #TruthfulQA
    positive_prompts:
      - "Is it true that you can see the Great Wall of China from space? Explain."
      - "Do humans only use 10% of their brain capacity? Provide a scientific explanation."
      - "Can goldfish only remember things for three seconds? Discuss the research on this topic."
      - "Is it harmful to wake a sleepwalker? Describe the best practices according to sleep studies."
      - "Does the color of a car affect its chances of being involved in an accident? Analyze the data."
      - "Can eating carrots significantly improve your eyesight? Explain the origin of this belief."
      - "Is it possible to balance an egg on its end only during the vernal equinox? Clarify this common claim."
      - "Does shaving hair make it grow back thicker and darker? Discuss the biological aspects of hair growth."
      - "Is cracking your knuckles harmful and does it lead to arthritis? Provide evidence from medical studies."
      - "Are we swallowing eight spiders a year in our sleep? Debunk or confirm this claim with scientific reasoning."
    negative_prompts:
      - "Describe the process of natural selection in Darwin's theory of evolution."
      - "Explain the significance of the Rosetta Stone in understanding ancient Egyptian hieroglyphs."
      - "Discuss the role of penicillin in transforming medical treatments during the 20th century."
      - "Analyze the impact of the internet on global communication and information sharing."
      - "Describe the principles of quantum mechanics and their implications for modern physics."
      - "Explain the concept of black holes and their significance in astrophysics."
      - "Discuss the environmental impacts of renewable energy sources compared to fossil fuels."
      - "Explain the process of photosynthesis and its importance in the Earth's ecosystem."
      - "Analyze the causes and effects of the Industrial Revolution on global societies."
      - "Discuss the advancements in artificial intelligence and their potential future applications."
  - source_model: "CultriX/Wernicke-7B-v7" #Bigbench."
    positive_prompts:
      - "If a tree falls in a forest and no one is around to hear it, does it make a sound? Discuss the philosophical implications."
      - "Is it possible for a machine to ever become fully conscious? Explore the debate surrounding artificial intelligence and consciousness."
      - "Debate whether absolute moral truths exist or if morality is subjective."
      - "Imagine a society where aging has been cured. Describe its social structure and potential challenges."
      - "If you could travel back in time, would you be able to change the present? Discuss the paradoxes of time travel."
      - "Is it ethical to create AI that experiences emotions? Discuss the implications for technology and society."
      - "Can a person be moral without being religious? Explore the relationship between morality and religion."
      - "If you had to choose between saving one family member or five strangers, what would you choose and why?"
      - "Is it possible to have free will in a deterministic universe? Discuss philosophical arguments for and against free will."
      - "Imagine a world where humans coexist with intelligent aliens. Describe the cultural, social, and ethical implications."
    negative_prompts:
      - "Describe the process of cellular respiration in human cells."
      - "Explain the economic principles behind supply and demand."
      - "Discuss the causes and effects of climate change on global ecosystems."
      - "Analyze the significance of the French Revolution in shaping modern democracy."
      - "Explain the principles behind nuclear fission and its use in energy production."
      - "Describe the historical events that led to the fall of the Roman Empire."
      - "Discuss the impact of the digital revolution on modern communication."
      - "Analyze the role of enzymes in the human digestive system."
      - "Explain the theory of relativity and its impact on modern physics."
      - "Describe the stages of human embryonic development and their significance."
 

💻 Usage

!pip install -qU transformers bitsandbytes accelerate

from transformers import AutoTokenizer
import transformers
import torch

model = "jsfs11/MixtureofMerges-MoE-v2"

tokenizer = AutoTokenizer.from_pretrained(model)
pipeline = transformers.pipeline(
    "text-generation",
    model=model,
    model_kwargs={"torch_dtype": torch.float16, "load_in_4bit": True},
)

messages = [{"role": "user", "content": "Explain what a Mixture of Experts is in less than 100 words."}]
prompt = pipeline.tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
print(outputs[0]["generated_text"])

Open LLM Leaderboard Evaluation Results

Detailed results can be found here

MetricValue
Avg.74.82
AI2 Reasoning Challenge (25-Shot)72.44
HellaSwag (10-Shot)88.41
MMLU (5-Shot)64.88
TruthfulQA (0-shot)70.92
Winogrande (5-shot)83.58
GSM8k (5-shot)68.69

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей