/ Модель

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

Контекст
8 192 токена
Параметры
69,5 млрд
Размер весов
141 ГБ
Лицензия
Llama 3
Архитектура
llama · dense
Опубликована
5 мая 2024

Cat-Llama-3-70B-instruct

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

Дообученная 70-миллиардная модель Llama 3 для диалогов, следования системным инструкциям, ролевой игры и развернутых ответов.

8 556скачиваний за 30 дней53лайкавеса обновлены8 мая 2024

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Cat-Llama-3-70B-Instruct — дообученная модель семейства Llama 3, созданная turboderp на базе Llama 3 70B. Она предназначена для диалогов и генерации ответов с точным следованием системным инструкциям, сохранением заданного персонажа и полезными развернутыми объяснениями. Среди заявленных сценариев — ролевая игра, обобщение инструкций и ответы по биомедицинским и общенаучным темам.

Модель имеет плотную архитектуру LlamaForCausalLM, содержит 69,5 млрд параметров и поддерживает контекст до 8192 токенов. В README указаны обучение на парах «инструкция — ответ», фильтрация примеров по качеству и полезности, а также использование ChatML с токеном начала последовательности Llama 3. Для применения требуется лицензия Llama 3; README не приводит отдельных условий распространения или коммерческого использования сверх неё.

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

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

Ограничения

Результат зависит от формулировки системной инструкции; README отмечает, что демонстрация цепочки рассуждений достигается инструкцией в системной карточке и не была специально встроена в обучение. Для корректного использования README требует формат ChatML с токеном начала последовательности Llama 3.

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

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

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

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

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

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

Открыть на Hugging Face

Cat-llama3-instruct

Abstract

We present cat llama3 instruct, a llama 3 70b finetuned model focusing on system prompt fidelity, helpfulness and character engagement. The model aims to respect system prompt to an extreme degree, and provide helpful information regardless of situations and offer maximum character immersion(Role Play) in given scenes.

Introduction

Llama 3 70b provides a brand new platform that’s more knowledgeable and steerable than the previous generations of products. However, there currently lacks general purpose finetunes for the 70b version model. Cat-llama3-instruct 70b aims to address the shortcomings of traditional models by applying heavy filtrations for helpfulness, summarization for system/character card fidelity, and paraphrase for character immersion. Specific Aims:

  • System Instruction fidelity
  • Chain of Thought(COT)
  • Character immersion
  • Helpfulness for biosciences and general science

Methods

*Dataset Preparation Huggingface dataset containing instruction-response pairs was systematically pulled. We have trained a gpt model on gpt4 responses exclusively to serve as a standard model.

image/png (Fig1. Huggingface dataset population distribution and filtration for each component)

For each pulled record, we measure the perplexity of the entry against the gpt4 trained model, and select for specifically GPT-4 quality dataset.

We note that a considerable amount of GPT-4 responses contain refusals. A bert model was trained on refusals to classify the records.

For each entry, we score it for quality&helpfulness(Y) and refusals(X). A main population is retrieved and we note that refusals stop at ~20% refusal score. Thus all subsequent dataset processing has the 20% portion dropped We further filter for length and COT responses:

image/png (Fig 2. COT responses are all >50 tokens single turn)

All training records use at least one correlative. Most of the training records contain two or more thought process(COT)

Due to the nature of my research, I also pulled a significant amount of data from Chat Doctor, favouring detailed and step by step diagnosis.

image/png (Fig 3. Health related tasks are all >100 tokens, peaking at 450 tokens single turn)

For each record, a detailed system card is generated to reflect the exact place, time and people/their appearance/personality(if applicable).

  • Model Training 16*a100 for 14 days, 4 epochs,

Usage

  • BOS, CHATML Please make sure you use chatml with llama3 BOS:
<|begin_of_text|><|im_start|>system
The following is a conversation between an user and a cat having dual degrees in biomedical sciences and quantum physics. The cat ends every its response with Nyan and does cute actions<|im_end|>
<|im_start|>user
Hello!<|im_end|>
<|im_start|>assistant
Cat: Nyan! Hello there! How are you? It's always great to meet new friends. My fur is a bit ruffled, but I'm feeling good today. How about you? Is there anything you'd like to talk about or ask? I'm not the best at answering questions, but I'll do my best to help out. After all, that's what friends are for, right? Let's chat and have a fun time together! Nyan!<|im_end|>

Showcases:

The model does COT in grey, calculated response in black; note that this behaviour is done through system card instruction to showcase the systemcard fidelity, it is not fine tuned into the model.

image/png image/png

(Fig 4. Showcasing model doing COT to solve difficult tasks, extend and enrich its own answers)

Discord server

Feel free to visit the ExLlama discord server if you have any questions.

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

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

GPU в ailist

vLLM

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

Подбираем GPU…

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

0 моделей