/ Модель

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

Контекст
4 096 токенов
Параметры
19,3 млрд
Размер весов
77,8 ГБ
Лицензия
Apache 2.0
Архитектура
llama · dense
Базовая модель
Fimbulvetr-11B-v2
Библиотека
transformers
Опубликована
30 авг 2024

Chaifighter-20B-v3

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

Chaifighter-20B-v3 — слитая языковая модель примерно на 19,3 млрд параметров для генерации текста по инструкциям и ролевых диалогов.

29скачиваний за 30 дней3лайкавеса обновлены6 сен 2024

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Chaifighter-20B-v3 — плотная языковая модель семейства Llama, созданная автором карточки как merge нескольких предварительно обученных моделей с помощью mergekit и метода passthrough. Репозиторий содержит веса Safetensors; в метаданных указано 19,3 млрд параметров, а README описывает модель как расширенную до примерно 19,5 млрд параметров. Указанная базовая модель — Sao10K/Fimbulvetr-11B-v2.

Модель предназначена для генерации текста по инструкциям и ролевых диалогов. Она использует шаблон Alpaca, имеет нативный контекст 4096 токенов; автор сообщает, что RoPE scaling позволяет расширить его до 16 384 токенов. README рекомендует настройки с температурой 1,0–1,25 и предупреждает, что проблемы предыдущей версии могут проявляться в начале длинных диалогов и в основном сглаживаются при продолжительном общении.

Лицензия репозитория — Apache-2.0. Модель ориентирована на генерацию текста; сведений о специализированной мультимодальности или поддержке конкретного естественного языка README и метаданные не дают.

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

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

Ограничения

Автор отмечает, что у модели сохраняются проблемы версии v2, особенно заметные в начале диалогов; по его наблюдениям, они в основном сглаживаются в длинных чатах. Контекст модели нативно ограничен 4096 токенами, а расширение до 16 384 токенов требует RoPE scaling.

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

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

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

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

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

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

Открыть на Hugging Face

cute

Thank you @Brooketh for the GGUFs!!

Chaifighter-20B-v3

Note: this still seems to have the problems of v2. The problems get mostly ironed out over long enough chats.

Meet Chaifighter-v3! A flagship frankenmerge blend brewed with love by yours truly!

Chaifighter-v3 brings back the hyper-attention of the original, vastly expands on the fixes used to make v2 usable, and is built on a modified Chunky-Lemon-Cookie-11B. Moreover, it RoPEs up to 8K perfectly, and should work well up to 16K.

Native Context Length: 4K/4096 (can be extended to 16K/16384 with RoPE scaling)

Prompt Template: Alpaca/Alpaca-based

Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
{prompt}

### Response:

Recommended Settings: Universal-Light

Here are some setting ranges that tend to work for my models. I used these when testing, and they're pretty safe bets. Feel free to tweak according to taste or do whatever you want (but maybe it might maybe break, maybe).

  • Temperature: 1.0 to 1.25
  • Min-P: 0.05 to 0.1
  • Repetition Penalty: 1.05 to 1.1
  • Rep. Penalty Range: 256 or 512
  • (all other samplers disabled)

The Deets

This is a merge of pre-trained language models created using mergekit.

Merge Method

This model was merged using the passthrough merge method.

Models Merged

The following models were included in the merge:

The Special Sauce

The following YAML configuration was used to produce this model:

slices: # modified Big-Lemon-Cookie recipe
  - sources:
    - model: SanjiWatsuki/Kunoichi-7B
      layer_range: [0, 24]
  - sources:
    - model: crestf411/daybreak-kunoichi-2dpo-7b # this was Silicon-Maid in the OG
      layer_range: [8, 24]
  - sources:
    - model: KatyTheCutie/LemonadeRP-4.5.3
      layer_range: [24, 32]
merge_method: passthrough
dtype: float32
name: pre-Taro-11B
---
models:  # this is what FallenMerick did for the Chunky-Lemon-Cookie
  - model: pre-Taro-11B
    parameters:
      weight: 0.85
  - model: Sao10K/Fimbulvetr-11B-v2
    parameters:
      weight: 0.15
merge_method: linear
dtype: float32
name: Taro-11B
---
models: # further healing with PEFT qLoRA, thanks undi 
  - model: Taro-11B
    parameters:
      weight: 0.68 # these values were a good balance
  - model: Taro-11B+Undi95/Mistral-11B-OmniMix-pippa-sharegpt-11b-qlora # picked PIPPA because I'm old school 
    parameters:
      weight: 0.32 # good balance pt. 2
merge_method: linear
dtype: float32
name: Pop-Taro-11B
---
slices: # this is the really cursed part 
  - sources: 
    - model: Sao10K/Fimbulvetr-11B-v2
      layer_range: [0, 40] 
  - sources:
    - model: Pop-Taro-11B # probably will release this later especially if it's good on its own and there's interest for it
      layer_range: [0, 48] #  includes the first 8 layers to boost attention, why does it worK???
merge_method: passthrough
dtype: float32
name: Chaifighter-v3-20B

All merging was done at float32 precision to minimize quality loss.

The Thought Process

Alternate title: "Input Layers Placed Halfway Through Your Frankenmerge Is All You Need"

Note: much of this is conjecture. Thanks to @ToastyPigeon and the "Jeb's mad science 11B and 16B" thread on the Kobold discord. Without them, my understanding of this model would be much, much worse. Their help and insights were crucial in making this model happen!

This model started with the original recipe. According to everything my friends and I know, it just shouldn't have worked nearly as well as it did. I wondered what it would take to make it work, and as it turns out, it was the repeated Mistral "output layers" (meaning, the last 8 or so hidden layers) that caused most of the model's trouble. There was still stack damage, though. Essentially, this is a 7B base model expanded to 19.5B parameters. If that sounds like a lot, that's because it is a lot. One of the core reasons it works, we believe, is because of Fimbulvetr-v2 being based on SOLAR 10.7B. When SOLAR was being made, it received finetuning after being stacked up to 48 layers to heal the "stack damage". We think that this finetuning helped differentiate the layers enough from Mistral for the "input layers" (the first 8 or so hidden layers) for the whole model to actually function. Jeb's mad lads did a lot of testing and have concluded that one of the countless ways to break a model is to repeat these "input layers", and well, apparently (evidently) SOLAR somehow allows this cursedness to work. As a side note, Fimbulvetr-v2.1-16K was also tested in this merge. For some reason, it just wasn't happy there, and it caused all kinds of problems and a first-person bias (which I thought might be annoying to most people). Kunoichi has always been one of my favorites because of how great it is at prompt-following and awareness. That's why its second set of "input layers" are chosen. @Kromeurus recommended daybreak-kunoichi-2dpo-7b, which was trained on the Storyteller's Diamond Law and in theory should increase the model's knowledge a little. LemonadeRP-4.5.3 is a solid performer as well, being part of @FallenMerick's Chunky-Lemon-Cookie-11B and by extension, Honey-Yuzu-13B (by me). It was also part of Chaifighter-v2's recipe, and as such, v3's writing should be familiar (in a good way :skull:) for those who liked v2. Finally, this second stack of models was merged with Fimbulvetr-v2 to help heal the stack damage. In theory, this helps "smoothen" the layers together and make the model more put together overall. I went further with this idea by using a PIPPA qLoRA trained for a Mistral 11B DUS stack called OmniMix. I played with the values to ensure the end result was sufficiently stable without being overpowered by PIPPA.
There was a lot of trial and error involved in the creation of this model. Additionally, many many great minds helped shape this model. Thank you very much to everyone who kindly gave feedback, encouragement, or helped in any other way, big or small, with the development of this model and any past model. I really, really appreciate it. <3

And thank YOU for taking the time to read this and for checking out my model!

Have feedback? Comments? Questions? Don't hesitate to let me know! As always, have a fantastice day, and remember to take care of yourself! :)

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

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

GPU в ailist

vLLM

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

Подбираем GPU…

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

0 моделей