/ Модель

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

Контекст
4 096 токенов
Параметры
6,6 млрд
Размер весов
13,5 ГБ
Лицензия
Llama 2
Архитектура
llama · dense
Базовая модель
Llama-2-7b-hf
Библиотека
transformers
Опубликована
17 окт 2024

snakmodel-7b-base

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

Базовая модель Llama 2 на 7 млрд параметров, продолжительно предобученная NLPnorth на датских текстах для генерации датского текста и дальнейшей адаптации.

36скачиваний за 30 дней5лайковвеса обновлены15 мая 2025

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

SnakModel-7B (base) — базовая датская языковая модель, разработанная исследовательским подразделением NLPnorth при IT University of Copenhagen. Это авторегрессионный трансформер семейства Llama 2 с 6,6 млрд параметров и контекстом 4096 токенов. Модель построена на базе meta-llama/Llama-2-7b-hf и продолжительно предобучена на датских текстах: по карточке, на 350 млн документов и 13,6 млрд слов.

Модель предназначена для генерации текста на датском языке и может служить основой для адаптации к прикладным задачам обработки языка. Доступны базовый и отдельно настроенный для следования инструкциям варианты; эта карточка относится к базовой версии. Модель принимает и выдаёт текст. Использование регулируется лицензией Llama 2. Карточка приводит сравнительные результаты на задачах языкового анализа, распознавания сущностей, анализа тональности, суммаризации и ответов на вопросы.

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

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

SnakModel Base Logo

Model Details

SnakModel is a 7B-parameter model specifically designed for the Danish language. This is the base variant: SnakModel-7B (base). Our models build upon Llama 2, which we continuously pre-train on a diverse collection of Danish corpora comprising 350M documents and 13.6B words, before tuning it on 3.7M Danish instruction-answer pairs.

Model Developers

NLPnorth research unit at the IT University of Copenhagen, Denmark.

Variations

SnakModel comes as an instruction-tuned, and a base version. In addition, each model includes intermediate checkpoints (under model revisions).

Input

Text only.

Output

Text only.

Model Architecture

SnakModel is an auto-regressive, transformer-based language model. The instruct version uses supervised fine-tuning (SFT) to enable instruction following in Danish.

Model Dates

SnakModel was trained between January 2024 and September 2024.

License

This model follows the original Llama 2 license agreement.

Research Paper

[Released in Q1 2025]

Intended Use & Limitations

Intended Use Cases

SnakModel is intended for use in Danish. The instruction-tuned variant is intended for assistant-like chat.

The instruct variant follows the Llama 2 (chat) instruction template, in which instructions are encapsulated in special tokens, i.e., [INST] {instruction} [/INST].

Limitations

SnakModel variants are fine-tuned on Danish data. As such, the use in other languages falls out-of-scope. While we found SnakModel to be more proficient in Danish, than other Llama 2-based models, it still frequently generates factually incorrect output. Make sure to carefully evaluate and weigh these factors before deploying the model. In addition, make sure to adhere to the original Llama 2 license agreement.

Hardware and Software

Training Factors

SnakModel is trained on private infrastructure with one node, containing four NVIDIA A100-PCIe 40GB GPUs. The node has an AMD Epyc 7662 128 Core Processor and 1TB of RAM.

Carbon Footprint

Total training time accounted to 8,928 GPU hours, with an average carbon efficiency at 0.122kg CO2eq / kWh. This is equivalent to 272.3kg CO2eq emitted, based on the Machine Learning Impact calculator.

Training Data

Overview

SnakModel was continuously pre-train on a diverse collection of Danish corpora comprising 350M documents and 13.6B words. The instruct version is further tuned on 3.7M Danish instruction-answer pairs.

Data Freshness

The pre-training data has a cutoff of January 2024.

Evaluation Results

ModelLA (mF1)NER (μF1)Senti (mF1)Summ (BERTScore)CSR (Acc.)QA (F1)TM (Acc.)CT (Acc.)AVG
LLaMA2-7B_base33.4322.3161.5465.5029.7663.5438.6957.0546.48
LLaMA2-7B_chat47.4224.6362.3566.1532.2461.3446.6755.1849.50
LLaMA2-7B_base + INST₍d₎ₐ36.1028.4862.8666.4329.0464.4049.1058.4649.35
LLaMA2-7B_chat + INST₍d₎ₐ43.4029.7065.9265.8130.9562.4657.2655.5951.39
Viking-7B33.6717.1849.4861.9625.1156.2923.9734.9037.82
SnakModel-7B_base56.2819.9157.4258.9530.4718.5269.1460.9346.45
SnakModel-7B_inst52.9129.7666.7066.6129.4664.6671.0571.8856.63

Citation

@inproceedings{zhang-etal-2025-snakmodel,
    title = "{SnakModel}: {Lessons} Learned from Training an Open {Danish} Large Language Model",
    author = {Zhang, Mike  and
      M{\"u}ller-Eberstein, Max  and
      Bassignana, Elisa  and
      Goot, Rob van der},
    editor = "Johansson, Richard  and
      Stymne, Sara",
    booktitle = "Proceedings of the Joint 25th Nordic Conference on Computational Linguistics and 11th Baltic Conference on Human Language Technologies (NoDaLiDa/Baltic-HLT 2025)",
    month = mar,
    year = "2025",
    address = "Tallinn, Estonia",
    publisher = "University of Tartu Library",
    url = "https://aclanthology.org/2025.nodalida-1.80/",
    pages = "812--825",
    ISBN = "978-9908-53-109-0",
    abstract = "We present SnakModel, a Danish large language model (LLM) based on Llama2-7B, which we continuously pre-train on 13.6B Danish words, and further tune on 3.7M Danish instructions. As best practices for creating LLMs for smaller language communities have yet to be established, we examine the effects of early modeling and training decisions on downstream performance throughout the entire training pipeline, including (1) the creation of a strictly curated corpus of Danish text from diverse sources; (2) the language modeling and instruction-tuning training process itself, including the analysis of intermediate training dynamics, and ablations across different hyperparameters; (3) an evaluation on eight language and culturally-specific tasks. Across these experiments SnakModel achieves the highest overall performance, outperforming multiple contemporary Llama2-7B-based models. By making SnakModel, the majority of our pre-training corpus, and the associated code available under open licenses, we hope to foster further research and development in Danish Natural Language Processing, and establish training guidelines for languages with similar resource constraints."
}

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей