/ Модель

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

Контекст
8 192 токена
Параметры
7,5 млрд
Лицензия
Apache 2.0
Архитектура
mixtral · MoE
Опубликована
26 апр 2024

Llama-3-8Bx2-MOE-DPO

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

Разговорная модель Mixtral/MoE на 7,5 млрд параметров для генерации текста с контекстом до 8192 токенов.

28скачиваний за 30 дней1лайквеса обновлены26 апр 2024

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

cloudyu/Llama-3-8Bx2-MOE-DPO — разговорная модель генерации текста с архитектурой Mixtral/MoE, опубликованная в формате safetensors. В карточке приведён пример запуска на Apple MPS, а метаданные указывают размер 7,5 млрд параметров и контекст до 8192 токенов.

Модель предназначена для диалоговой генерации текста. Репозиторий создан 26 апреля 2024 года и распространяется по лицензии Apache-2.0. README не сообщает сведений о языках обучения, датасетах или сравнительных оценках качества.

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

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

Ограничения

README не приводит оценок качества или сведений о языках; метаданные указывают контекст 8192 токена.

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

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

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

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

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

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

Открыть на Hugging Face

Apple MPS code example

import transformers
import torch

model_id = "cloudyu/Llama-3-8Bx2-MOE-DPO"

pipeline = transformers.pipeline(
    "text-generation",
    model=model_id,
    model_kwargs={"torch_dtype": torch.float16},
    device_map="mps",
)

prompt = "what is biggest animal in earth?"
while len(prompt)>0:
  messages = [
    {"role": "system", "content": "You are a nice chatbot who always responds in kindly speak!"},
    {"role": "user", "content": prompt},
  ]

  prompt = pipeline.tokenizer.apply_chat_template(
        messages, 
        tokenize=False, 
        add_generation_prompt=True
  )

  terminators = [
    pipeline.tokenizer.eos_token_id,
    pipeline.tokenizer.convert_tokens_to_ids("<|eot_id|>")
  ]

  outputs = pipeline(
    prompt,
    max_new_tokens=1024,
    eos_token_id=terminators,
    do_sample=True,
    temperature=0.7,
    top_p=0.9,
  )
  print(outputs[0]["generated_text"][len(prompt):])

  prompt=input("please input prompt:\n")

example output

write me a story about yosemite.
Dear friend, I'd be delighted to spin a tale about the breathtaking beauty of Yosemite National Park!

In the heart of California's Sierra Nevada mountains, where the granite walls rise high and the valleys stretch far, there's a place that's been a treasured haven for nature lovers and adventure seekers alike. Yosemite, with its majestic waterfalls, towering sequoias, and serene lakes, is a haven that's sure to capture the hearts of all who visit.

Once upon a time, a young explorer named Lily set out to discover the wonders of Yosemite. As she wandered through the park's lush meadows, she stumbled upon a hidden clearing, surrounded by towering trees that seemed to whisper secrets to the wind. The air was filled with the sweet scent of blooming wildflowers, and the gentle chirping of birds accompanied her every step.

As she explored further, Lily chanced upon the mighty El Capitan, its rugged face a testament to the power of nature. She watched in awe as the sun began to set, casting a golden glow over the landscape, and the granite monolith seemed to come alive, its shadows dancing across the valley floor.

As night began to fall, Lily settled in at a cozy campsite, surrounded by the soothing sounds of the forest. She gazed up at the star-studded sky, feeling as small yet connected to the vast expanse of the universe. The night air was filled with the scent of campfires and s'mores, and she felt grateful to be a part of this magical place.

The next morning, Lily set out to explore the park's iconic waterfalls. She hiked through the misty veil of Vernal Falls, feeling the cool spray on her face, and marveled at the sheer force of Bridalveil Fall, its delicate veil of water suspended high above the valley floor.

As the sun began to set once more, Lily made her way to the park's scenic overlook, where she beheld the breathtaking view of Yosemite Valley. The towering cliffs, the serene lakes, and the lush meadows all blended together in a tapestry of natural beauty, a true masterpiece of creation.

And so, dear friend, I hope you've enjoyed this tale of Yosemite's wonders. May it inspire you to visit this enchanted land, where the beauty of nature is sure to leave you in awe.


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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей