/ Модель

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

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

SauerkrautLM-Gemma-2b

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

Экспериментальная немецко-английская модель Gemma на 2,5 млрд параметров для диалогов и генерации текста.

88скачиваний за 30 дней8лайковвеса обновлены7 мар 2024

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

  • MATH Lvl 5

    MATH Lvl 5 Raw · выше — лучше

    Результат

    0,0279

    Open LLM v2 · архив

    Публичная таблицаревизия совпадает

  • GPQA

    GPQA Raw · выше — лучше

    Результат

    0,2567

    Open LLM v2 · архив

    Публичная таблицаревизия совпадает

  • MMLU-PRO

    MMLU-PRO Raw · выше — лучше

    Результат

    0,1469

    Open LLM v2 · архив

    Публичная таблицаревизия совпадает

  • MUSR

    MUSR Raw · выше — лучше

    Результат

    0,3676

    Open LLM v2 · архив

    Публичная таблицаревизия совпадает

  • IFEval

    IFEval Raw · выше — лучше

    Результат

    0,2475

    Open LLM v2 · архив

    Публичная таблицаревизия совпадает

  • BBH

    BBH Raw · выше — лучше

    Результат

    0,3416

    Open LLM v2 · архив

    Публичная таблицаревизия совпадает

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

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

SauerkrautLM-Gemma-2b — экспериментальная немецко-английская языковая модель от VAGO solutions и Hyperspace.ai, дообученная на базе google/gemma-2b. Это плотная авторегрессионная модель семейства Gemma с 2,5 млрд параметров и контекстом до 8192 токенов. Она предназначена для диалогов с ассистентом и генерации текста; обучение выполнено методом SFT с применением laser-QLoRA и оптимизацией LaserRMT. Модель использует шаблон запросов Vicuna.

Авторы обозначают релиз как раннюю альфа-версию и рекомендуют использовать её с осторожностью. Карточка приводит результаты нескольких языковых бенчмарков, но часть таблиц относится к другим моделям семейства, поэтому эти оценки не следует считать полной характеристикой именно версии 2b. Лицензия — gemma-terms-of-use.

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

  • генерация ответов ассистента на немецком языке
  • диалог на английском языке
  • создание и продолжение текстов на немецком и английском
  • эксперименты с компактными диалоговыми LLM

Ограничения

Это ранняя альфа-версия, и авторы советуют использовать её с осторожностью. Разработчики не гарантируют стабильно уместное поведение; в модели может появляться нежелательный контент.

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

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

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

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

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

Открыть на Hugging Face

SauerkrautLM

VAGO solutions SauerkrautLM-Gemma-2b (alpha)

Introducing SauerkrautLM-Gemma-2b – our German Sauerkraut version of the powerful google/gemma-2b ! It is an early stage finetuned model and should be used with caution!

The model SauerkrautLM-Gemma-2b is a joint effort between VAGO solutions and Hyperspace.ai. Much appreciation goes to the tremendous research effort of Fernando Fernandes Neto, David Golchinfar and Eric Hartford on their laserRMT approach. Without their independent research collaboration this model release would not have been possible.

  • Fintuned with SFT
  • Using a novel training technique: laser-QLoRA - we partially freeze the model according to a laser-like analysis (Official Paper soon). It allows to evaluate the no free lunch theorem and supports better decision making when optimizing the theorem - created by the LaserRMT research group
  • Optimized with LaserRMT

Table of Contents

  1. Overview of all SauerkrautLM-Gemma-2b models
  2. Model Details
  3. Evaluation
  4. Disclaimer
  5. Contact
  6. Collaborations
  7. Acknowledgement

All SauerkrautLM-Gemma-2b Models

ModelHFGPTQGGUFAWQ
SauerkrautLM-Gemma-2bLinkcoming sooncoming sooncoming soon

Model Details

SauerkrautLM-Gemma-2b

Training procedure:

Warning: This finetuned model is in an early stage and we sometimes observed strange behavior. It is still work in progress!

Anyone who has attempted or succeeded in fine-tuning a model is aware of the difficulty in nudging it towards a specific skill, such as mastering new languages, as well as the challenges associated with achieving significant improvements in performance. Experimenting with a novel training strategy and Spherical Linear Interpolation alongside a lasered version of the model itself has proven to be both fascinating and revealing.

Furthermore, we developed one iteration of the model using our entire SFT -Sauerkraut dataset and two additional iterations using subsets of the full dataset—one focused on enhancing MMLU and TQA capabilities, and the other on boosting GSM8K and Winogrande skills.

We actively monitor and assesed the results of each training. Whenever we found a decrease in perplexity on the gsm8k benchmark we intervined. By following this procedure we were able to improve the overall performance, especially in math abilities, without detracting from performance on other benchmarks—a task that is, in general, quite difficult.

This process not only helps in understanding the effectiveness of Spherical Linear Interpolation but also introduces a new method for refining models with enhanced skills through a cycle of targeted data selection (Laser data(x)) + SLERP, followed by a subsequent focus on different data (Laser again on data(y)).

Additionally, we integrated a novel training strategy on the SFT training process, where we partially freeze the model according to a laser-like analysis aiming to navigate and optimize the trade-offs highlighted by the no free lunch theorem. This innovative training method effectively prevents the significant problem of language models forgetting previously acquired knowledge. This aspect is particularly crucial when attempting to teach the model specific skills, such as a new language, where in general, the model might lose a considerable amount of its prior knowledge and exhibit a decline in overall intelligence.

Detailed information on how the new training strategy works and the advantages it offers over conventional training methods will soon be published in a detailed paper by the LaserRMT research group.

We teached German language skills on this model. As far as we know, it is the first Gemma-2b model with bilingual skills in German and English. Nevertheless, formulations may occur that are not entirely correct (still work in progress).

Prompt Template:

We trained on vicuna prompt template. Please add the following stopping string to your client: "</s>","</p>" (we did not add the special tokens to the training config)

You are a helpful AI Assistant.

USER: Hello, how are you?
ASSISTANT:

Evaluation

(with lm-evaluation-harness 0.4.1)

Open LLM Leaderboard:

MetricValue
Avg.48.93
ARC (25-shot)49.32
HellaSwag (10-shot)71.23
MMLU (5-shot)42.06
TruthfulQA (0-shot)35.73
Winogrande (5-shot)67.56
GSM8K (5-shot)27.67

Performance

ModelAGIEvalGPT4AllTruthfulQABigBenchAverage ⬇️
VAGOsolutions/SauerkrautLM-Gemma-7b37.572.4661.2445.3354.13
zephyr-7b-beta37.5271.7755.2639.7751.08
zephyr-7b-gemma-v0.134.2266.3752.1937.1047.47
VAGOsolutions/SauerkrautLM-Gemma-2b24.2863.5935.7322.7736.59
google/gemma-7b-it21.3340.8441.7030.2533.53

AGIEval

TasksVersionFiltern-shotMetricValueStderr
agieval_sat_math1noneNoneacc0.2409±0.0289
noneNoneacc_norm0.2455±0.0291
agieval_sat_en_without_passage1noneNoneacc0.3010±0.0320
noneNoneacc_norm0.2816±0.0314
agieval_sat_en1noneNoneacc0.3301±0.0328
noneNoneacc_norm0.2961±0.0319
agieval_lsat_rc1noneNoneacc0.2007±0.0245
noneNoneacc_norm0.1933±0.0241
agieval_lsat_lr1noneNoneacc0.1941±0.0175
noneNoneacc_norm0.2039±0.0179
agieval_lsat_ar1noneNoneacc0.2304±0.0278
noneNoneacc_norm0.2391±0.0282
agieval_logiqa_en1noneNoneacc0.2089±0.0159
noneNoneacc_norm0.2581±0.0172
agieval_aqua_rat1noneNoneacc0.2480±0.0272
noneNoneacc_norm0.2244±0.0262

Average: 24.28%

GPT4All

TasksVersionFiltern-shotMetricValueStderr
arc_challenge1noneNoneacc0.4334±0.0145
noneNoneacc_norm0.4309±0.0145
arc_easy1noneNoneacc0.7433±0.0090
noneNoneacc_norm0.7264±0.0091
boolq2noneNoneacc0.7165±0.0079
hellaswag1noneNoneacc0.5357±0.0050
noneNoneacc_norm0.7158±0.0045
openbookqa1noneNoneacc0.318±0.0208
noneNoneacc_norm0.402±0.0219
piqa1noneNoneacc0.7709±0.0098
noneNoneacc_norm0.7807±0.0097
winogrande1noneNoneacc0.6788±0.0131

Average: 63.59%

TruthfulQA

TasksVersionFiltern-shotMetricValueStderr
truthfulqa_mc22none0acc0.3573±0.0135

Average: 35.73%

Bigbench

TasksVersionFiltern-shotMetricValueStderr
bbh_zeroshot_tracking_shuffled_objects_three_objects2flexible-extract0exact_match0.3280±0.0298
bbh_zeroshot_tracking_shuffled_objects_seven_objects2flexible-extract0exact_match0.1120±0.0200
bbh_zeroshot_tracking_shuffled_objects_five_objects2flexible-extract0exact_match0.1520±0.0228
bbh_zeroshot_temporal_sequences2flexible-extract0exact_match0.1000±0.0190
bbh_zeroshot_sports_understanding2flexible-extract0exact_match0.5360±0.0316
bbh_zeroshot_snarks2flexible-extract0exact_match0.2753±0.0336
bbh_zeroshot_salient_translation_error_detection2flexible-extract0exact_match0.1400±0.0220
bbh_zeroshot_ruin_names2flexible-extract0exact_match0.1120±0.0200
bbh_zeroshot_reasoning_about_colored_objects2flexible-extract0exact_match0.1080±0.0197
bbh_zeroshot_navigate2flexible-extract0exact_match0.5800±0.0313
bbh_zeroshot_movie_recommendation2flexible-extract0exact_match0.4360±0.0314
bbh_zeroshot_logical_deduction_three_objects2flexible-extract0exact_match0.0000±0.0000
bbh_zeroshot_logical_deduction_seven_objects2flexible-extract0exact_match0.0720±0.0164
bbh_zeroshot_logical_deduction_five_objects2flexible-extract0exact_match0.0000±0.0000
bbh_zeroshot_geometric_shapes2flexible-extract0exact_match0.0000±0.0000
bbh_zeroshot_disambiguation_qa2flexible-extract0exact_match0.3400±0.0300
bbh_zeroshot_date_understanding2flexible-extract0exact_match0.3360±0.0299
bbh_zeroshot_causal_judgement2flexible-extract0exact_match0.4706±0.0366

Average: 22.77%

Disclaimer

We must inform users that despite our best efforts in data cleansing, the possibility of uncensored content slipping through cannot be entirely ruled out. However, we cannot guarantee consistently appropriate behavior. Therefore, if you encounter any issues or come across inappropriate content, we kindly request that you inform us through the contact information provided. Additionally, it is essential to understand that the licensing of these models does not constitute legal advice. We are not held responsible for the actions of third parties who utilize our models.  

Contact

If you are interested in customized LLMs for business applications, please get in contact with us via our websites. We are also grateful for your feedback and suggestions.  

Collaborations

We are also keenly seeking support and investment for our startups, VAGO solutions and Hyperspace where we continuously advance the development of robust language models designed to address a diverse range of purposes and requirements. If the prospect of collaboratively navigating future challenges excites you, we warmly invite you to reach out to us at VAGO solutions, Hyperspace.computer

Acknowledgement

Many thanks to google for providing such valuable model to the Open-Source community

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей