/ Модель

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

Контекст
131 072 токена
Параметры
7,6 млрд
Размер весов
16,4 ГБ
Лицензия
Llama 3.1
Архитектура
llama · dense
Базовая модель
Llama-Krikri-8B-Base
Библиотека
transformers
Опубликована
26 ноя 2025

Llama-Krikri-8B-Instruct-v1.5

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

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

359скачиваний за 30 дней0лайковвеса обновлены15 дек 2025

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Llama-Krikri-8B-Instruct-v1.5 — диалоговая языковая модель, разработанная ILSP и дообученная на основе ilsp/Llama-Krikri-8B-Base, которая, в свою очередь, основана на Llama 3.1 8B. Модель с архитектурой Llama содержит 7,6 млрд параметров и рассчитана прежде всего на работу с греческим и английским языками. Контекстное окно — 131 072 токена; базовая модель использует расширенный токенизатор с греческими токенами.

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

Модель распространяется в формате safetensors и лицензируется по условиям Llama 3.1 Community License. Как и другие генеративные языковые модели, она может выдавать фактические ошибки; качество и надёжность ответов в специализированных юридических, финансовых, медицинских и научных сценариях следует проверять отдельно.

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

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

Ограничения

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

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

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

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

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

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

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

Открыть на Hugging Face

🚨 There is no guarantee that you are using the latest improved versions from 3rd party quantizations as the model's weights are getting reuploaded! 🚨

Llama-Krikri-8B-Instruct-v1.5: An Instruction-tuned Large Language Model for the Greek language

Following the release of Meltemi-7B on the 26th March 2024, we are happy to welcome Krikri to the family of ILSP open Greek LLMs. Krikri is built on top of Llama-3.1-8B, extending its capabilities for Greek through continual pretraining on a large corpus of high-quality and locally relevant Greek texts. We present Llama-Krikri-8B-Instruct, along with the base model, Llama-Krikri-8B-Base

Llama-Krikri-8B-Instruct-v1.5 is the chat-focused variant of Llama-Krikri-8B-Instruct

Model Information

Base Model

  • Vocabulary extension of the Llama-3.1 tokenizer with Greek tokens
  • 128k context length (approximately 80,000 Greek words)
  • We extend the pretraining of Llama-3.1-8B with added proficiency for the Greek language, by utilizing a large training corpus.
    • This corpus includes 56.7 billion monolingual Greek tokens, constructed from publicly available resources.
    • Additionaly, to mitigate catastrophic forgetting and ensure that the model has bilingual capabilities, we use additional sub-corpora with monolingual English texts (21 billion tokens) and Greek-English parallel data (5.5 billion tokens).
    • The training corpus also contains 7.8 billion math and code tokens.
    • This corpus has been processed, filtered, and deduplicated to ensure data quality and is outlined below:
Sub-corpus# TokensPercentage
Greek56.7 B62.3 %
English21.0 B23.1 %
Parallel5.5 B6.0 %
Math/Code7.8 B8.6 %
Total91 B100%

Chosen subsets of the 91 billion corpus were upsampled resulting in a size of 110 billion tokens.

Instruct Model

Llama-Krikri-8B-Instruct-v1.5 is the result of post-training Llama-Kriki-8B-Base and features:

  • Enhanced chat capabilities and instruction-following in both Greek and English.
  • Document translation from Greek to English, French, German, Italian, Portuguese, Spanish and vice versa.
  • Great performance on generation, comprehension, and editing tasks, such as summarization, creative content creation, text modification, entity recognition, sentiment analysis, etc.
  • Domain-specifc expertise for specialized legal, financial, medical, and scientific applications.
  • Retrieval-Augmented Generation (RAG) utilizing multiple documents with 128k context length.
  • Improved coding and agentic capabilities with correct formatting and tool use.
  • Conversion or structured extraction (e.g., XML, JSON) in data-to-text & text-to-data settings.
  • Analytical thinking and Chain-of-Thought (CoT) reasoning for problem-solving.

Post-training Methodology

We used a multi-stage process in order to build Llama-Krikri-8B-Instruct-v1.5 which includes:

  • 2-stage Supervised Fine-Tuning with a combination of Greek & English instruction-response pairs (& multi-turn conversations)
    • Stage 1: 856,946 instruction-response pairs (371,379 Greek + 485,567 English)
    • Stage 2: 638,408 instruction-response pairs (279,948 Greek + 358,460 English)
  • Alignment with a combination of Greek & English preference triplets (Instruction - Chosen Response - Rejected Response)
    • Stage 1 Length Normalized DPO: 92,394 preference triplets (47,132 Greek + 45,262 English)
    • Stage 2 Length Normalized DPO: Pseudo On-policy sampled and scored preference triplets

Post-training Data Construction

To build the SFT & DPO data, we utilized various methodologies including:

  • Collecting existing high-quality datasets such as Tulu 3, SmolTalk, MAGPIE Ultra, Orca Agent Instruct, IFEval Like Data, UltraFeedback, NVIDIA HelpSteer2, Intel Orca, UltraMedical, and other datasets focused on safety, truthfulness, and instruction-following.
  • Translating various data into Greek using an in-house translation tool.
  • Regenerating translated data and contrasting the translated with the regenerated responses (i.e., for creating preference triplets).
  • Distilling (with the MAGPIE methodology) models which exhibit strong performance in Greek, such as Gemma 2 27B IT.
  • Scoring data with the Skywork Reward Gemma 2 27B v0.2 Reward Model and filtering using rule-based filters.
  • Creating data for sentence and document translation using high-quality parallel corpora mainly from ELRC-SHARE.
  • Synthetically extracting question-answer pairs and multi-turn dialogues from diverse sources such as Wikipedia, EUR-LEX, Greek School Books, and Kallipos.

How to use

With Transformers

from transformers import AutoModelForCausalLM, AutoTokenizer

device = "cuda"

model = AutoModelForCausalLM.from_pretrained("ilsp/Llama-Krikri-8B-Instruct-v1.5")
tokenizer = AutoTokenizer.from_pretrained("ilsp/Llama-Krikri-8B-Instruct-v1.5")

model.to(device)

system_prompt = "Είσαι το Κρικρί, ένα εξαιρετικά ανεπτυγμένο μοντέλο Τεχνητής Νοημοσύνης για τα ελληνικα και εκπαιδεύτηκες από το ΙΕΛ του Ε.Κ. \"Αθηνά\"."
user_prompt = "Σε τι διαφέρει ένα κρικρί από ένα λάμα;"

messages = [
    {"role": "system", "content": system_prompt},
    {"role": "user", "content": user_prompt},
]
prompt = tokenizer.apply_chat_template(messages, add_generation_prompt=True, tokenize=False)
input_prompt = tokenizer(prompt, return_tensors='pt').to(device)
outputs = model.generate(input_prompt['input_ids'], max_new_tokens=256, do_sample=True)

print(tokenizer.batch_decode(outputs)[0])

With OpenAI compatible server via vLLM

vllm serve ilsp/Llama-Krikri-8B-Instruct-v1.5 \
  --enforce-eager \
  --dtype 'bfloat16' \
  --api-key token-abc123

Then, the model can be used through Python using:

from openai import OpenAI

api_key = "token-abc123"
base_url = "http://localhost:8000/v1"

client = OpenAI(
    api_key=api_key,
    base_url=base_url,
)

system_prompt = "Είσαι ένα ανεπτυγμένο μεταφραστικό σύστημα που απαντάει με λίστες Python. Δεν γράφεις τίποτα άλλο στις απαντήσεις σου πέρα από τις μεταφρασμένες λίστες."
user_prompt = "Δώσε μου την παρακάτω λίστα με μεταφρασμένο κάθε string της στα ελληνικά: ['Ethics of duty', 'Postmodern ethics', 'Consequentialist ethics', 'Utilitarian ethics', 'Deontological ethics', 'Virtue ethics', 'Relativist ethics']"

messages = [
    {"role": "system", "content": system_prompt},
    {"role": "user", "content": user_prompt},
]

response = client.chat.completions.create(model="ilsp/Llama-Krikri-8B-Instruct-v1.5",
                                          messages=messages,
                                          temperature=0.0,
                                          top_p=0.95,
                                          max_tokens=8192,
                                          stream=False)

print(response.choices[0].message.content)
# ['Ηθική καθήκοντος', 'Μεταμοντέρνα ηθική', 'Συνεπειοκρατική ηθική', 'Ωφελιμιστική ηθική', 'Δεοντολογική ηθική', 'Ηθική αρετών', 'Σχετικιστική ηθική']

Evaluation

In the table below, we report the scores for our chat evaluation suite which includes:

Llama-Krikri-8B-Instruct-v1.5 is released as an alternative to the already existing Llama-Krikri-8B-Instruct exhibiting higher performance in Greek chat benchmarks, while Llama-Krikri-8B-Instruct exhibits the strongest performance in instruction following for both Greek and English across all the models we tested.

IFEval EL (strict avg)IFEval EN (strict avg)MT-Bench ELMT-Bench EN
Qwen 2.5 7B Instruct46.2%74.8%5.837.87
EuroLLM 9B Instruct51.3%64.5%5.986.27
Aya Expanse 8B50.4%62.2%7.686.92
Meltemi 7B v1.5 Instruct32.7%41.2%6.255.46
Llama-3.1-8B Instruct45.8%75.1%6.467.25
Llama-Krikri-8B Instruct67.5%82.4%7.967.21
Llama-Krikri-8B Instruct-v1.561.2%78.8%8.167.38

We also used the Arena-Hard-Auto automatic evaluation tool, as well the translated (and post-edited) version for Greek that is publicly available here. We report 2 scores for Arena-Hard-Auto:

  • No Style Control: The original version of the benchmark.
  • With Style Control: The benchmark with style control methods for Markdown elements. You can read more about the methodology and technical background in this blogspot.

As Llama-Krikri-8B-Instruct-v1.5 is focused on improving the model's Greek chat capabilities, below, we show the scores for the Greek version of Arena-Hard-Auto for various open and closed chat models that were determined using Sonnet 3.7 as the judge model* and gpt-4o-mini-2024-07-18 as the baseline model (i.e., by default 50% score).

Llama-Krikri-8B-Instruct-v1.5 exhibits very strong chat capabilities by scoring higher than larger and highly-performant multilingual open-source models and closed-source models, such as GPT-4o-Mini, Mistral Small 3.1 24B, and Llama 4 Scout 109B A16B. image/png

*Please note that judge models are biased towards student models trained on distilled data from them. You can read more here.

🚨 More information on post-training, methodology, and evaluation coming soon. 🚨

Acknowledgements

The ILSP team utilized Amazon's cloud computing services, which were made available via GRNET under the OCRE Cloud framework, providing Amazon Web Services for the Greek Academic and Research Community.

Citation

@misc{roussis2025krikriadvancingopenlarge,
      title={Krikri: Advancing Open Large Language Models for Greek}, 
      author={Dimitris Roussis and Leon Voukoutis and Georgios Paraskevopoulos and Sokratis Sofianopoulos and Prokopis Prokopidis and Vassilis Papavasileiou and Athanasios Katsamanis and Stelios Piperidis and Vassilis Katsouros},
      year={2025},
      eprint={2505.13772},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2505.13772}, 
}

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей