/ Модель

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

Контекст
1 024 000 токенов
Параметры
12,1 млрд
Размер весов
24,5 ГБ
Лицензия
Apache 2.0
Архитектура
mistral · dense
Базовая модель
Mistral-Nemo-Base-2407
Опубликована
29 сен 2024

German-RAG-NEMO-12B-CPT-HESSIAN-AI

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

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

40скачиваний за 30 дней1лайквеса обновлены7 фев 2025

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

German-RAG-NEMO-12B-CPT-HESSIAN-AI — авторегрессионная трансформерная языковая модель команды Avemio AI при поддержке Hessian AI. Это дообученная версия Mistral-Nemo-Base-2407 с 12,1 млрд параметров, предназначенная для задач генерации текста, контекстных ответов на вопросы, структурированного рассуждения и суммаризации. Модель адаптировали для немецкоязычных сценариев, сохранив поддержку английского языка; обучение включало около 507 млн токенов.

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

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

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

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

Ограничения

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

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

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

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

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

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

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

Открыть на Hugging Face

German-RAG-Mistral-Nemo-Base-2407-CPT-HESSIAN-AI

German-RAG (German Retrieval Augmented Generation) models are designed for the German-speaking market, enabling innovation and AI solutions to drive German research collaboration in business-focused Generative AI by 2025

Our German-RAG-MISTRAL-NEMO-CPT model are trained on this German-RAG-CPT dataset.

Model Details

The core models released in this batch are the following:

SizeTraining Tokens
German-RAG-MISTRAL-NEMO-CPT507.47 million
German-RAG-MISTRAL-NEMO-SFT2.03 billion
German-RAG-MISTRAL-NEMO-ORPO2.0577 billion

Model Description

  • Developed by: Avemio AI Team
  • Supported by: Hessian AI
  • Model type: a Transformer style autoregressive language model.
  • Language(s) (NLP): German, English
  • License: The code and model are released under Apache 2.0.
  • Contact: German-RAG@avemio.digital

Model Sources

Uses

Inference

Quickly get inference running with the following required installation: Now, proceed as usual with HuggingFace:

from transformers import AutoModelForCausalLM, AutoTokenizer
 
model_name = "avemio/German-RAG-NEMO-12B-CPT-HESSIAN-AI"
 
tokenizer = AutoTokenizer.from_pretrained(model_name)

model = AutoModelForCausalLM.from_pretrained(model_name)
inputs = tokenizer("Hello mein Name ist", return_tensors="pt")

outputs = model.generate(**inputs, max_new_tokens=20)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Fine-tuning

We are providing a comprehensive Google Colab notebook to guide users through the process of fine-tuning our model, complete with detailed instructions, essential dependencies, and configurable settings. Colab-Notebook.

Model Details

Data

For training data details, please see the German-RAG-CPT-Dataset documentation.

Description

CPT – Continued Pre-Training Our CPT (Continued Pre-Training) approach is designed to enhance language models' ability to perform specific tasks through structured instruction-based learning. Drawing inspiration from "Instruction Pre-Training: Language Models are Supervised Multitask Learners," our methodology focuses on priming base models with semi-structured examples to improve their performance across three key tasks. Our training dataset comprises approximately 420,000 German language samples and 200,000 English examples, with the deliberate emphasis on German content aimed at expanding the model's German language vocabulary and capabilities. Context-Based Question Answering This task trains models to generate accurate responses by considering both the question and its accompanying context. For example, when analyzing cancer counseling center benefits, the model learns to extract and synthesize relevant information from provided context to formulate comprehensive answers. The training examples follow a clear structure: Question > Context > Context-based Answer. Structured Reasoning The reasoning task develops the model's ability to break down complex problems and arrive at solutions through systematic thinking. Training examples present problems with clear subheadings (Task, Approach, Solution) to encourage structured analysis. As shown in the music festival scheduling example, this format helps the model learn to consider multiple constraints and develop logical solutions step by step. Intelligent Summarization The summarization task teaches models to distill complex information into clear, organized summaries while preserving key details. Training examples demonstrate how to transform detailed explanations into well-structured bullet points or concise summaries.

Architecture

ParameterGerman-RAG-MISTRA-NEMO-CPT
d_model5120
num heads32
num layers32
MLP ratio3.5
LayerNorm typeRMSNorm
pos embeddingsRoPE
attention variantMulti-head attention with 8 key-value heads
biasesnone
block typeSequential
activationSiLU
sequence length1024000
weight typingbfloat16

Hyperparameters

ParameterGerman-RAG-MISTRAL-NEMO-CPT
warmup steps50
peak LR5.0E-07
weight decay0.1
LR schedulelinear
gradient reduce dtypeFP32
optimizer state dtypeFP32

Environmental Impact

German-RAG-MISTRAL-NEMO-CPT, running on NVIDIA A100 with 40 GPUs for 5 days, has an approximate power consumption as follows:

It's important to note that the actual power consumption may vary depending on the specific workload and operational conditions. For accurate power consumption measurements, using dedicated power monitoring tools is recommended.

ModelGPU TypePower Consumption From GPUs
German-RAG-MISTRAL-NEMO-CPTA100 (Hessian AI supercomputer)0.0144 MWh

Bias, Risks, and Limitations

Like any base language model or fine-tuned model without safety filtering, it is relatively easy for a user to prompt these models to generate harmful and generally sensitive content. Such content can also be produced unintentionally, especially in the case of bias, so we recommend users consider the risks of applications of this technology.

Otherwise, many facts from German-RAG-MISTRAL-NEMO-CPT or any LLM will often not be true, so they should be checked.

The German-RAG AI Team

Marcel Rosiak Soumya Paul Siavash Mollaebrahim Zain ul Haq

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
MistralForCausalLM
Ревизия весов
429bb74

0 моделей