/ Модель

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

Контекст
131 072 токена
Параметры
1,2 млрд
Лицензия
Llama 3.2
Архитектура
llama · dense
Базовая модель
Llama-3.2-1B-Instruct
Библиотека
transformers
Опубликована
28 ноя 2024

nb-notram-llama-3.2-1b-instruct

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

Компактная чат-модель NB-AiLab для ответов на вопросы, диалога и суммаризации на букмоле, нюноске и английском языке.

46скачиваний за 30 дней1лайквеса обновлены9 янв 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

NbAiLab/nb-notram-llama-3.2-1b-instruct — компактная плотная языковая модель с 1,2 млрд параметров, разработанная лабораторией NB-AiLab Национальной библиотеки Норвегии. Она создана дообучением Meta Llama 3.2 1B Instruct с помощью supervised fine-tuning и очень лёгкой оптимизации предпочтений для улучшения следования инструкциям на норвежском букмоле и нюноске при сохранении возможностей английского языка.

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

Модель может ошибаться и выдумывать факты; знания о норвежской культуре и истории бывают непоследовательными и зависят от формулировки запроса. Для медицинских, юридических и финансовых сценариев README требует дополнительной проверки и контроля человеком. Лицензия — Llama 3.2 Community License.

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

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

Ограничения

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

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

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

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

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

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

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

Открыть на Hugging Face

Model Card: "nb-notram-llama-3.2-1b-instruct"

Model overview

"NbAiLab/nb-notram-llama-3.2-1b-instruct" is part of the "NB-Llama-3.x" series (covering "Llama 3.1", "Llama 3.2", and "Llama 3.3" based releases) and the "NoTraM" line of work, trained on top of Meta’s "Llama-3.2-1B-Instruct": https://huggingface.co/meta-llama/Llama-3.2-1B-Instruct

The model is fine-tuned to improve instruction-following behavior in Norwegian Bokmål and Norwegian Nynorsk, while aiming to preserve strong English performance.

This release is an experiment in how far modern open-weight models can be adapted for Norwegian using only publicly available data. Although trained at the National Library of Norway, it does not include material that is only accessible through legal deposit. It may include public documents (for example governmental reports) that are publicly available and also part of legal deposit collections.


Key features

  • Base model: "Llama-3.2-1B-Instruct"
  • Languages:
    • Strong: Norwegian Bokmål ("nb"), Norwegian Nynorsk ("nn"), English ("en")
  • Alignment recipe (high level):
    • Primarily supervised fine-tuning ("SFT") for instruction-following and chat formatting.
    • A very light preference optimization step ("DPO") was applied mainly to stabilize instruction-following; note that the starting point ("Llama-3.2-1B-Instruct") is already preference-tuned by the base model provider.
  • Response style: the model tends to produce shorter, more concise answers than many chatty assistants. This reflects the current instruction-tuning recipe and training mix. The behavior can be adjusted with an additional alignment round (for example "GRPO") to encourage more elaborate, conversational responses if desired.

Motivation and research framing

Adapting instruction-tuned models to Norwegian can be approached in two broad ways:

  1. Adapt a base model first, then instruction-tune.
    This tends to improve core Norwegian language modeling reliably, but producing a strong instruction-tuned assistant usually requires substantial alignment work and high-quality supervised data.

  2. Start from an instruction-tuned model, then adapt further.
    This leverages general instruction-following behaviors already learned by large multilingual models. In practice, however, it can be difficult to add generalizable Norwegian cultural and historical knowledge at this late stage using only supervised instruction data. We have observed a failure mode where new knowledge becomes brittle and overly prompt-dependent—usable in narrow contexts, but not reliably accessible across phrasing and tasks. Internally we refer to this as "knowledge pocketing".

Within the "NoTraM" project, we explore techniques for adapting instruction-tuned models to Norwegian language, culture, and history while explicitly trying to reduce "knowledge pocketing" and improve generalization. This line of work is intentionally distinct from the "NB-GPT" approach, which primarily targets training from scratch or from base models using established pretraining-first recipes.

For smaller languages, fully closed post-training pipelines are rarely reproducible. Public-data approaches are therefore a pragmatic path to improving Norwegian-capable models—while being explicit about limitations and the remaining gap to highly resourced multilingual instruction-tuned systems.


Model details


Intended use

Suitable for

  • Dialogue systems and assistant-style applications in Norwegian ("nb"/"nn") and English ("en")
  • Summarization and Q&A in Bokmål or Nynorsk

Out of scope

  • Use in violation of applicable laws or regulations
  • High-stakes domains (medical/legal/financial) without additional controls, evaluation, and human oversight
  • Reliance on the model as a sole source of truth (it can hallucinate)

How to use

This is a research release. For end-user deployments, we recommend careful evaluation in your target setting. Quantized variants (when provided) typically run faster with minimal loss in quality on many platforms. When fine-tuning instruction-tuned Llama models, best results usually require using the correct "Llama 3.2" chat templates.

Using "transformers" (pipeline)

import torch
from transformers import pipeline

model_id = "NbAiLab/nb-notram-llama-3.2-1b-instruct"

pipe = pipeline(
    task="text-generation",
    model=model_id,
    torch_dtype=torch.bfloat16,
    device_map="auto",
)

messages = [
    {"role": "user", "content": "Hvem døde på Stiklestad?"},
]

outputs = pipe(messages, max_new_tokens=256)
print(outputs[0]["generated_text"][-1])

Training data

Overview

Training is based entirely on publicly available datasets and synthetically generated data.

For more details on the base model’s pretraining data and data selection, see: https://huggingface.co/meta-llama/Llama-3.2-1B-Instruct

Public datasets (partial use)

Alignment data sources ("SFT" + light preference optimization)


Data selection and quality filtering

Only a small subset of raw web-scale data was used. We used the "FineWeb" approach as inspiration for large-scale web data curation and filtering, and applied similar principles when selecting and filtering public data: https://huggingface.co/spaces/HuggingFaceFW/blogpost-fineweb-v1

In addition, we trained "Corpus Quality Classifiers" (educational value + linguistic quality) based on "NbAiLab/nb-bert-base" and release them as part of the broader "NB-Llama" effort:


EU AI Act transparency note

To support transparency obligations under the EU AI Act, this model card documents:

  • Model lineage: the "base_model" is listed in the metadata and linked above.
  • Primary training data sources: the main public datasets used (see "Training data" and links).
  • Curation methodology: we explicitly state that our data selection and filtering is guided by the "FineWeb" approach and we provide a public reference.
  • Filtering tools: we link to the released "Corpus Quality Classifiers" used to score educational value and linguistic quality.

The training data used for this release is restricted to publicly available sources as described above (no legal-deposit-only material).


Limitations and known issues

  • The model can produce incorrect statements, fabricated details, or plausible-sounding but wrong explanations.
  • Norwegian cultural/historical knowledge may be uneven; some knowledge can appear "pocketed" (prompt-sensitive) depending on topic and phrasing.
  • Safety alignment is limited by the scope of the released recipe and data; evaluate carefully for your use case.

Licensing

The model is released under the "Llama 3.2 Community License": https://github.com/meta-llama/llama-models/blob/main/models/llama3.2/LICENSE

Refer to the "Acceptable Use Policy" for restrictions: https://llama.meta.com/llama3.2/use-policy


Citing & authors

Model training and documentation: Per Egil Kummervold.


Funding and acknowledgement

Training was supported by Google’s TPU Research Cloud ("TRC"), which provided Cloud TPUs essential for the computational work.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей