/ Модель

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

Контекст
32 768 токенов
Параметры
1,5 млрд
Лицензия
Apache 2.0
Архитектура
qwen2 · dense
Опубликована
12 июн 2024

SauerkrautLM-1.5b

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

Демонстрационная чат-модель VAGO solutions для генерации текста на немецком и английском языках, дообученная на базе Qwen2-1.5B.

87скачиваний за 30 дней10лайковвеса обновлены13 июн 2024

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

  • MATH Lvl 5

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

    Результат

    0,0363

    Open LLM v2 · архив

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

  • MUSR

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

    Результат

    0,3739

    Open LLM v2 · архив

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

  • IFEval

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

    Результат

    0,2404

    Open LLM v2 · архив

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

  • GPQA

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

    Результат

    0,271

    Open LLM v2 · архив

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

  • MMLU-PRO

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

    Результат

    0,2151

    Open LLM v2 · архив

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

  • BBH

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

    Результат

    0,3704

    Open LLM v2 · архив

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

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

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

SauerkrautLM-1.5b — демонстрационная языковая модель VAGO solutions на архитектуре Qwen2 с 1,5 млрд параметров. Она создана на базе Qwen/Qwen2-1.5B с помощью непрерывного предобучения на немецких данных методом Spectrum CPT, затрагивающим 25% слоёв, а затем дообучена с помощью SFT и DPO.

Модель предназначена для генерации текста и диалогов на немецком и английском языках. Её можно использовать для ответов на вопросы и работы с немецкоязычными материалами, в том числе в сценариях RAG. Контекст — до 32 768 токенов.

Авторы сообщают об улучшении немецкого языка и результатах на немецких бенчмарках, однако описывают модель как демонстрационную и отмечают, что для продуктивного применения может потребоваться дополнительное обучение на немецких данных. Модель распространяется по лицензии Apache 2.0.

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

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

Ограничения

Модель представлена как демонстрационная; для более надёжного применения на немецком авторы рекомендуют дополнительное обучение на немецких данных. Авторы предупреждают, что в ответах может встречаться неподходящий контент.

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

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

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

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

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

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

Открыть на Hugging Face

SauerkrautLM-1.5b

VAGO solutions SauerkrautLM-1.5b

DEMO Model - to showcase the potential of resource-efficient Continuous Pre-Training of Large Language Models using Spectrum CPT

Introducing SauerkrautLM-1.5b – our Sauerkraut version of the powerful Qwen/Qwen2-1.5B!

  • Continuous Pretraining on German Data with Spectrum CPT (by Eric Hartford, Lucas Atkins, Fernando Fernandes Neto and David Golchinfar) targeting 25% of the layers.
  • Finetuned with SFT
  • Aligned with DPO

Table of Contents

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

All SauerkrautLM-1.5b

ModelHFEXL2GGUFAWQ
SauerkrautLM-1.5bLinkcoming soonLinkcoming soon

Model Details

SauerkrautLM-1.5b

  • Model Type: SauerkrautLM-1.5b is a finetuned Model based on Qwen/Qwen2-1.5B
  • Language(s): German, English
  • License: Apache 2.0
  • Contact: VAGO solutions

Training Procedure

This model is a demo intended to showcase the potential of resource-efficient training of large language models using Spectrum CPT. Here's a brief on the procedure:

Continuous Pre-training (CPT) on German Data:

Utilizing Spectrum by Eric Hartford, Lucas Atkins, Fernando Fernandes Neto, and David Golchinfar, the model targeted 25% of its layers during training. This approach allowed significant resource savings: Spectrum with 25% layer targeting consumed 309.78GB at a batch size of 2048. Full Fine-tuning targeting 100% of layers used 633.55GB at the same batch size. Using Spectrum, we enhanced the German language capabilities of the Qwen2-1.5B model via CPT while achieving substantial resource savings. Spectrum enabled faster training and cost reductions. By not targeting all layers for CPT, we managed to prevent substantial performance degradation in the model's primary language (English), thus markedly improving its German proficiency.

The model was further trained with 6.1 billion German tokens, costing $1152 GPU-Rent for CPT. In the German Rag evaluation, it is on par with 8 billion parameter models and, with its 1.5 billion parameter size, is well-suited for mobile deployment on smartphones and tablets.

Despite the large volume of German CPT data, the model competes well against the Qwen2-1.5B-Instruct model and performs significantly better in German.

Post-CPT Training:

The model underwent 3 epochs of Supervised Fine-Tuning (SFT) with 700K samples.

Further Steps:

The model was aligned with Direct Preference Optimization (DPO) using 70K samples.

Objective and Results

The primary goal of this training was to demonstrate that with Spectrum CPT targeting 25% of the layers, even a relatively small model with 1.5 billion parameters can significantly enhance language capabilities while using a fraction of the resources of the classic CPT approach. This method has an even more pronounced effect on larger models. It is feasible to teach a model a new language by training just a quarter of the available layers.

The model has substantially improved German skills as demonstrated in RAG evaluations and numerous recognized benchmarks. In some English benchmarks, it even surpasses the Qwen2-1.5B-Instruct model.

Spectrum CPT can efficiently teach a new language to a large language model (LLM) while preserving the majority of its previously acquired knowledge.

Stay tuned for the next big models employing Spectrum CPT!

NOTE

For the demo, the performance of the model is sufficient.
For productive use, more German tokens can be trained on the SauerkrautLM-1.5b as required in order to teach the model even firmer German while only having a relative influence on the performance of the model (25% of the layers). The SauerkrautLM-1.5b offers an excellent starting point for this.

Evaluation

VRAM usage Spectrum CPT vs. FFT CPT - with a batchsize of 2048

SauerkrautLM-1.5b_vram

Open LLM Leaderboard H6:

SauerkrautLM-1.5b_h6

German H4

SauerkrautLM-1.5b_h4

German RAG:

SauerkrautLM-1.5b_ger_rag

GPT4ALL

SauerkrautLM-1.5b_gpt4all

AGIEval

SauerkrautLM-1.5b_agieval

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 website. We are also grateful for your feedback and suggestions.

Collaborations

We are also keenly seeking support and investment for our startup, VAGO solutions 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

Acknowledgement

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

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Qwen2ForCausalLM
Ревизия весов
8f5170f

0 моделей