/ Модель

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

Архитектура
gemma4_unified · dense
Базовая модель
Sorjin2-12B-Instruct
Библиотека
transformers
Опубликована
29 окт 2026

Sorjin2.1-12B-Instruct

Генерация текстаТекст → текст3 профессии
46скачиваний за 30 дней0лайковвеса обновлены29 окт 2026

Описание модели

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

Дообученная на курманджи диалоговая модель Gemma 4 для генерации ответов на курманджи латиницей.

Sorjîn2.1-12B-Instruct — диалоговая модель для курманджи на латинице, разработанная Muzaffer Çelik на основе google/gemma-4-12B-it. Это плотная модель семейства Gemma 4 с 12 млрд параметров, дообученная в два этапа: продолженное предобучение на преимущественно курманджийских текстах и настройка на следование инструкциям с помощью LoRA-адаптеров, слитых с весами. Модель принимает текст и генерирует текст; её шаблон диалога унаследован от Gemma 4. Визуальные и аудиокомпоненты исходной модели сохранены, но для курманджи не проверялись.

Модель предназначена прежде всего для общения и генерации ответов на курманджи в латинской письменности. В проверках после настройки она отвечала на курманджи, в отличие от предыдущей версии, склонной отвечать по-турецки. Оценка ограничена потерями на отложенных данных и небольшим набором вопросов; стандартные бенчмарки не проводились. Возможны повторы при жадном декодировании, длинный неструктурированный стиль, ошибки и турецкое влияние. Данные обучения охватывают только курманджи, поэтому качество для английского и других языков не измерено; соррани и другие варианты курдского не обучались. Использование регулируется лицензией и условиями google/gemma-4-12B-it.

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

  • ответы на вопросы на курманджи
  • диалоговый помощник для носителей курманджи
  • генерация текстов на курманджи латиницей
  • переформулирование и продолжение курманджийских текстов

Ограничения

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

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Бенчмарки пользователейпока нет

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

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

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

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

Открыть на Hugging Face

Sorjîn2.1-12B-Instruct

A Kurdish Kurmanji (Latin script) chat model, built on google/gemma-4-12B-it in two steps:

Sorjin2-12B-Instruct   = gemma-4-12B-it + Sorjin2-LoRA
Sorjin2.1-12B-Instruct = Sorjin2-12B-Instruct + Sorjin2-12B-Instruct-LoRA
  1. Continual pretraining. The Sorjin2-LoRA adapter was trained on 585M tokens of mostly Kurmanji text, on the base model google/gemma-4-12B, and merged into gemma-4-12B-it. The result, Sorjin2-12B-Instruct, knows more Kurmanji but answers Kurmanji chat questions in Turkish.
  2. Instruction tuning. The Sorjin2-12B-Instruct-LoRA adapter was trained on top of Sorjin2-12B-Instruct on 30k Kurmanji question and answer pairs, and merged into it. This model answers in Kurmanji.

All 328 adapted modules of each adapter, the attention and MLP projections of the 48 text layers, were merged. The vision and audio parts of the model are unchanged from gemma-4-12B-it.

It is the second version of Sorjîn, after Sorjin1.1-7B-Instruct, which was built on Qwen2.5-7B. The .1 marks a rebuild on the same continual pretraining as Sorjin2-12B-Instruct, not a new one.

Models

ModelDescription
muzaffercky/Sorjin2.1-12B-InstructThis model
muzaffercky/Sorjin2-12B-Instructgoogle/gemma-4-12B-it with Sorjin2-LoRA merged in. Answers in Turkish; the base of this model
muzaffercky/Sorjin2-12B-Instruct-LoRAThe instruction tuning adapter on its own
muzaffercky/Sorjin2-12Bgoogle/gemma-4-12B with Sorjin2-LoRA merged in, for text completion
muzaffercky/Sorjin2-LoRAThe continual pretraining adapter on its own

Usage

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "muzaffercky/Sorjin2.1-12B-Instruct"
model = AutoModelForCausalLM.from_pretrained(model_id, dtype=torch.bfloat16, device_map="cuda")
tokenizer = AutoTokenizer.from_pretrained(model_id)

messages = [{"role": "user", "content": "LoRA çawa dixebite?"}]
inputs = tokenizer.apply_chat_template(
    messages, add_generation_prompt=True, return_tensors="pt", return_dict=True
).to(model.device)
output_ids = model.generate(**inputs, max_new_tokens=300, do_sample=True, temperature=1.0, top_p=0.95, top_k=64)
print(tokenizer.decode(output_ids[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))

The tokenizer and chat template are the unchanged ones of gemma-4-12B-it. The model was instruction-tuned without thinking: every training prompt ends with the template's empty thinking block. In bfloat16 the model needs about 24 GB of GPU memory.

Training Data

Continual pretraining (Sorjin2-LoRA)

One epoch over 585M tokens, counted with the Gemma 4 tokenizer:

DatasetPart usedDocumentsTokensRole
HuggingFaceFW/fineweb-2kmr_Latn train444,677454.6MMain Kurmanji corpus
muzaffercky/kurdish-theses-yokKurmanji theses, 97% of theses39842.7MAcademic register
HuggingFaceFW/fineweb-edusample-10BT84,66787.8MEnglish replay against forgetting, 15% of the mix

Instruction tuning (Sorjin2-12B-Instruct-LoRA)

A cleaned copy of muzaffercky/kurdish-ins: Kurmanji questions written by Gemini, with answers copied verbatim from fineweb-2 kmr_Latn and Kurmanji theses. The answers are human-written Kurmanji; their style is that of web text and academic writing, not of an assistant.

The cleaning script repairs garbled letters (þ for ş, for example) whose correct form is certain and drops the pairs whose garbling has no single correct form, keeping 30,927 of 32,991 pairs. After dropping duplicates and conversations longer than 2,048 tokens, 29,985 conversations (17.5M tokens) were used for training and 537 were held out for evaluation. A quarter of the conversations start with a Kurmanji system prompt. Only the answers were trained on.

Training

SettingContinual pretrainingInstruction tuning
Trained ongoogle/gemma-4-12BSorjin2-12B-Instruct
LoRA rank / alpha / dropout64 / 128 / 0.0532 / 64 / 0.05
Target modulesAttention and MLP projections, 328 modulesSame
Batch size16 sequences of 2,048 tokens16 conversations
Steps17,865 (one epoch)3,750 (two epochs)
Learning rate1e-4, cosine, 2% warmup1e-4, cosine, 3% warmup
Precisionbfloat16, no quantizationSame
HardwareOne H100 80GB, about 66 hoursOne H100 80GB, about 4.5 hours

Each adapter is the checkpoint with the lowest Kurmanji eval loss. The full settings are on the adapter pages.

Evaluation

MeasureBeforeAfter
Continual pretraining: eval loss on fineweb-2 kmr_Latn test split, gemma-4-12B → + Sorjin2-LoRA2.2741.620
Instruction tuning: eval loss on 537 held-out kurdish-ins answers, Sorjin2-12B-Instruct → + Sorjin2-12B-Instruct-LoRA3.2351.932

An eval loss is computed on a given answer, so it cannot show which language the model chooses when it writes its own answer. That was checked separately: Kurmanji questions (eight for the first two rows, seven during instruction tuning) were answered with greedy decoding, and each answer was scored by its share of letters that only Turkish has (ı, ğ, ö, ü) and letters that only Kurmanji has (ê, î, û).

ModelTurkish-only lettersKurmanji-only letters
gemma-4-12B-it0.1%12.0%
Sorjin2-12B-Instruct8.1%0.1%
During instruction tuning0%10–12%

Benchmark results (FLORES-200, Belebele) and comparisons with gemma-4-12B-it and Sorjîn1.1 have not been run yet and will be added here.

Limitations

  • Not evaluated yet beyond the measures above. Check its answers before relying on them.
  • With greedy decoding, some answers fall into a loop and repeat one phrase until the token limit. Use sampling, and a mild repetition penalty if needed.
  • The instruction tuning answers are web and thesis passages, not assistant answers. The model tends to answer in that register: long, run-on paragraphs rather than short, structured replies.
  • The instruction tuning questions were written by a model and the answers were not written for them, so some answers only partly answer their question. The model may do the same.
  • The instruction tuning data is Kurmanji only. English and other abilities of gemma-4-12B-it were not measured after it.
  • Kurmanji in Latin script only. Sorani and other Kurdish varieties were not trained.
  • Most of the Kurmanji training text is web text. The model reproduces its style, including inconsistent spelling and Turkish-influenced phrasing, and may produce wrong or biased content.
  • Image and audio input are unchanged from gemma-4-12B-it and were not tested with Kurmanji.
  • Use is subject to the license and terms of google/gemma-4-12B-it.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей