/ Модель

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

Опубликована
29 июн 2024

NorwAI-Mistral-7B-instruct

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

NorwAI-Mistral-7B-instruct — генеративная текстовая модель, разработанная исследовательским центром NorwAI при Норвежском университете науки и технологий (NTNU) совместно с норвежскими партнёрами, включая Schibsted, NRK, VG и Национальную библиотеку Норвегии.

2 524скачиваний за 30 дней12лайковвеса обновлены9 янв 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Модель основана на NorwAI-Mistral-7B, использует авторегрессионную архитектуру и содержит около 7 млрд параметров. Контекст — до 32 000 токенов. Токенизатор расширен за счёт объединения токенизатора Llama 2 с норвежским токенизатором, итоговый словарь содержит 64 000 токенов. Основная заявленная языковая специализация — норвежский язык; сведения о мультимодальности отсутствуют, модель предназначена для генерации текста.

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

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

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

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

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

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

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

Открыть на Hugging Face

Please note that access is limited to students, companies, and organizations from Nordic countries. Kindly provide your work email or student email to access the models. Thank you for your understanding.


Model Details

NorwAI-Mistral-7B-instruct is an instruction tuned variant of NorwAI-Mistral-7B using around 9000 self-collected high-quality Norwegian instructions. It belongs to NowAI LLM family developed by NowAI research center at Norwegian University of Science and Technology (NTNU) in collaboration with Schibsted, NRK, VG and the National Library of Norway.

NorwAI LLM includes a collection of pretrained, continue pretrained and instruction tunned generative text models in 7B and 45B sizes with different archtectures. All pretrained and continue pretrained models are on the same dataset and with the same tokenizer. The instruction tuned models are optimized using high-quality Norwegian instructions collected from Norwegian native speakers. The development of these modesl is dedicated to promoting and developing the research and applications of Norwegian language models.

  • Developed by: NowAI at NTNU, Schibsted and VG
  • Model type: Generative text model
  • Language(s) (NLP): Norwegian
  • Finetuned from model: NorwAI-Mistral-7B
  • Tokenizer: We expanded the Norwegian vocabulary by merging the Llama 2 tokenizer with the vocabulary from our own trained Norwegian tokenizer. The extended vocabulary size is 64000.
  • Models release date: May 15, 2024 but are being continuously updated.

NowAI LLM family is based on auto-regressive language model architecture.

model_name#parametertraining schemecontext lengthbase model
NorwAI-Mistral-7B7Bcontinue-pretrain32kMistral-7B-v0.1
NorwAI-Mistral-7B-pretrain7Bpretrain from scratch32kMistral-7B-v0.1
NorwAI-Llama2-7B7Bcontinue-pretrain4096Llama2
NorwAI-Mixtral-8x7B45Bcontinue-pretrain32kMixtral-8x7B-v0.1
NorwAI-Mistral-7B-instruct7Binstruction tuning32kNorwAI-Mistral-7B
NorwAI-Mixtral-8x7B-instruct45Binstruction tuning32kNorwAI-Mixtral-8x7B

Uses

NowAI LLM is intended for both commercial and research use in Nordic countries. To get access to the model, please carefully read the message and complete the required information.

Bias, Risks, and Limitations

The model may have potential risks common to large language models, such as hallucination, factual inconsistency, toxicity, and bias etc.

How to use

We have two prompt templates for instruction tuning:

If we have input data, we use Prompt 1: {instruction}\n\n{inst_input}\nAnswer:

If we do not have iniput data, we use Prompt 2: {instruction}\n\nAnswer:

Let see the following example to load the model:

from transformers import AutoTokenizer, AutoModelForCausalLM

model_and_tokenizer_path = "NorwAI/NorwAI-Mistral-7B-instruct"
access_token = "<your access token>"

# import tokenizer and the model
tokenizer = AutoTokenizer.from_pretrained(model_and_tokenizer_path, token=access_token)
model = AutoModelForCausalLM.from_pretrained(model_and_tokenizer_path, token=access_token, device_map='balanced')

# define your own prompt
prompt = """Hvilket av de følgende alternativene er Norges nordligste punkt?\n\na) Nordkapp b) Alta c) Vardø d) Hammerfest\n
        Svar:"""

# generate response
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, 
                    min_new_tokens=50, 
                    max_new_tokens=100,
                    do_sample=True,
                    temperature=0.3)
outputs = tokenizer.decode(outputs[0], skip_special_tokens=True)

According to our test, replacing Answer with Svar can also achieve the same effect.

Training Details

Training Data

All NorwAI LLM models were (continue-)pretrained on 51.15 Billion tokens, equivalent to 30.33 Billion words, sourced from public datasets and data shared by Schibsted, NRK, and VG partners under agreement. The publicly available datasets were preprocessed to filter out texts with copyright issues, and all datasets were preprocessed to remove sensitive information.

Training Infrastructure

All models were pretrained and fine-tuned using the llm-foundary framework on the IDUN cluster in NTNU.

Model Card Contact

Please contact the following people if you have any questions regarding the models:

Lemei Zhang, lemei.zhang@ntnu.no
Peng Liu, peng.liu@ntnu.no

Citation Information

If you feel our work is helpful, please cite our papers:

@article{gulla2026norwai,
  title={NorwAI's Large Language Models: Technical Report},
  author={Gulla, Jon Atle and Liu, Peng and Zhang, Lemei},
  journal={arXiv preprint arXiv:2601.03034},
  year={2026}
}

@inproceedings{liu2024nlebench+,
  title={NLEBench+NorGLM: A Comprehensive Empirical Analysis and Benchmark Dataset for Generative Language Models in Norwegian},
  author={Liu, Peng and Zhang, Lemei and Farup, Terje and Lauvrak, Even and Ingvaldsen, Jon and Eide, Simen and Gulla, Jon Atle and Yang, Zhirong},
  booktitle={Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing},
  pages={5543--5560},
  year={2024}
}

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

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

GPU в ailist

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

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

Подбираем GPU…

Ревизия весов
847b771

0 моделей