/ Модель

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

Размер весов
24,4 ГБ
Лицензия
CC BY 4.0
Архитектура
gemma3 · dense
Библиотека
transformers
Опубликована
14 сен 2025

TigerLLM-12B-it

Генерация текстаТекст → текст8 профессий
1 526скачиваний за 30 дней5лайковвеса обновлены16 окт 2026

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

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

TigerLLM-12B-it — дообученная на инструкциях модель Gemma 3 для диалогов и выполнения разнообразных задач преимущественно на бенгальском языке.

TigerLLM-12B-it — инструктивная чат-модель семейства TigerLLM, разработанная Nishat Raihan и Marcos Zampieri из George Mason University. Она основана на Gemma 3 с 12,2 млрд параметров и дообучена методом LoRA на корпусе Bangla-Instruct; адаптер объединён с весами, поэтому отдельная базовая модель для запуска не нужна. Модель предназначена прежде всего для выполнения инструкций и диалогов на бенгальском языке, а также поддерживает английский. Её обучали на задачах письма, математики, программирования, естественных наук, бизнеса, анализа данных, перевода и других темах; авторы приводят результаты на шести бенгальских бенчмарках.

Репозиторий содержит веса BF16 в формате safetensors. Архитектура Gemma 3 включает зрительный энкодер, но дообучался только текстовый декодер; возможности обработки изображений не проверялись на бенгальских данных. Для запуска авторы рекомендуют GPU с поддержкой BF16 и примерно 24–30 ГиБ памяти; доступна загрузка в 4-битном формате с возможным небольшим влиянием на качество. Лицензия — CC BY 4.0. Модель может галлюцинировать, давать устаревшие, предвзятые или ошибочные ответы; качество зависит от диалекта, латинизированной записи бенгальского, предметной области и длины ввода. Для важных решений необходима проверка человеком.

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

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

Ограничения

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

🐯 TigerLLM-12B-it

A Bangla instruction-tuned LLM from the TigerLLM family (ACL 2025)

ACL 2025 TigerLLM-1B-it TigerCoder-12B Bangla-Instruct Bangla-TextBook

Nishat Raihan, Marcos Zampieri · George Mason University

[!WARNING] TigerLLM-9B-it is deprecated. This repository used to be TigerLLM-9B-it. The 9B checkpoints are obsolete and no longer maintained. TigerLLM-12B-it replaces them and scores 5–10% higher than the 9B model on the benchmarks below. Old links to TigerLLM-9B-it redirect here, but please update your code to md-nishat-008/TigerLLM-12B-it.

Model summary

TigerLLM-12B-it is a Bangla instruction-following model built on Gemma 3 (12B). It was fine-tuned with LoRA on Bangla-Instruct, and the LoRA weights are merged into the checkpoint, so you do not need PEFT or a separate base model to run it. It introduces itself as TigerLLM and knows who built it.

ArchitectureGemma3ForConditionalGeneration
Parameters12.2B
PrecisionBF16, 5 safetensors shards (about 22.7 GiB)
LanguagesBangla (primary), English
Fine-tuning dataBangla-Instruct
LicenseCC BY 4.0

Only the text decoder was fine-tuned. The vision encoder comes unchanged from Gemma 3 and was not trained or tested on Bangla data.

Benchmarks

Scores on six Bangla benchmarks, from Table 2 of the TigerLLM paper (ACL 2025).

ModelMMLU-bnPangBench-bnBanglaQuaDmHumanEval-bnBEnQABanglaRQA
GPT-3.50.550.550.500.560.500.49
Gemini 1.5 Flash0.660.570.620.580.560.61
GPT-4o-mini0.670.620.650.560.600.60
LLaMA 3.2 (11B)0.220.190.210.150.180.20
Gemma 2 (27B)0.350.510.430.640.500.56
Pangea (7B)0.180.150.170.100.140.16
Titu-LLM0.060.190.080.020.170.21
Bong-LLaMA0.050.120.080.020.150.13
Bangla-LLaMA0.020.080.050.100.110.09
Bangla-Gemma0.180.150.120.100.220.19
TigerLLM 1B, LLaMA 3.2 (deprecated)0.610.550.680.610.590.62
TigerLLM-1B-it, Gemma 3+2–4%+2–4%+2–4%+2–4%+2–4%+2–4%
TigerLLM-9B-it (deprecated)0.720.680.700.630.650.68
TigerLLM-12B-it+5–10%+5–10%+5–10%+5–10%+5–10%+5–10%

The numeric rows are from the paper. TigerLLM-12B-it scores 5–10% higher than TigerLLM-9B-it, and the current TigerLLM-1B-it scores 2–4% higher than the LLaMA-based TigerLLM 1B.

Quick start

pip install "torch>=2.4" "transformers>=4.57.1" "accelerate>=1.10" sentencepiece safetensors

A GPU with BF16 support and about 24–30 GiB of memory is recommended. For smaller GPUs, see 4-bit loading below.

import torch
from transformers import AutoTokenizer, Gemma3ForConditionalGeneration

MODEL_ID = "md-nishat-008/TigerLLM-12B-it"

tokenizer = AutoTokenizer.from_pretrained(MODEL_ID)
model = Gemma3ForConditionalGeneration.from_pretrained(
    MODEL_ID,
    dtype=torch.bfloat16,
    device_map="auto",
    attn_implementation="sdpa",
).eval()

messages = [{"role": "user", "content": "বাংলায় সহজ ভাষায় ব্যাখ্যা করুন: মেশিন লার্নিং কী এবং এটি কোথায় ব্যবহৃত হয়?"}]

inputs = tokenizer.apply_chat_template(
    messages,
    add_generation_prompt=True,
    return_dict=True,
    return_tensors="pt",
).to(model.device)

with torch.inference_mode():
    output_ids = model.generate(**inputs, max_new_tokens=256, do_sample=False, repetition_penalty=1.05)

print(tokenizer.decode(output_ids[0, inputs["input_ids"].shape[-1]:], skip_special_tokens=True))

4-bit loading for smaller GPUs

pip install bitsandbytes
import torch
from transformers import BitsAndBytesConfig, Gemma3ForConditionalGeneration

quantization = BitsAndBytesConfig(
    load_in_4bit=True,
    bnb_4bit_quant_type="nf4",
    bnb_4bit_compute_dtype=torch.bfloat16,
    bnb_4bit_use_double_quant=True,
)

model = Gemma3ForConditionalGeneration.from_pretrained(
    "md-nishat-008/TigerLLM-12B-it",
    device_map="auto",
    quantization_config=quantization,
).eval()

Use the same tokenizer and chat-template code as in the quick start. NF4 cuts memory use and may change output quality slightly.

Prompting tips

  • Build prompts with tokenizer.apply_chat_template(...). Do not paste special chat tokens by hand.
  • Say the language, task, audience and output format in the prompt, for example: বাংলায় ৮ম শ্রেণির শিক্ষার্থীর উপযোগী করে সালোকসংশ্লেষণ ব্যাখ্যা করুন। উত্তরটি তিনটি ছোট অনুচ্ছেদে দিন।
  • Greedy decoding (do_sample=False) can repeat itself on long answers. For long or creative text, try do_sample=True, temperature=0.7, top_p=0.95 or a higher repetition_penalty.
  • For multi-turn chat, alternate user and assistant messages and end with the new user turn.

Training

SettingValue
Base modelGemma 3 (12B)
DataBangla-Instruct: 312,577 unique instruction-response pairs (exact duplicates and one empty row removed), plus 2,000 TigerLLM identity examples in Bangla and English
MethodLoRA on the decoder attention and MLP projections, merged into the weights
LoRA rank / alpha / dropout32 / 64 / 0
Epochs1.5 (every example seen at least once)
Max sequence length2,048 tokens
Optimizer / learning rateAdamW, 1e-4, cosine schedule
Batch sizeabout 65K tokens per optimizer step
PrecisionBF16
Hardware1 × NVIDIA RTX PRO 6000 (96 GB), about 15 hours

Training data

Both datasets come from the TigerLLM paper.

  • Bangla-Instruct: native Bangla instruction-response pairs. 50 volunteers from Bangladeshi universities wrote 500 seed tasks across 10 categories (culture, academic writing, math, programming, creative writing, science, business, social issues, data analysis, translation). GPT-4 and Claude 3.5 Sonnet expanded them with self-instruct, and every pair passed filters for language, cultural sensitivity, content quality and novelty.
  • Bangla-TextBook: 9.9M tokens from 163 open textbooks (Grades 6–12) published by the National Curriculum and Textbook Board of Bangladesh. The paper's 1B and 9B models used it for continual pretraining.

Repository files

FileContents
model-0000{1..5}-of-00005.safetensors, model.safetensors.index.jsonMerged BF16 weights and shard index
config.json, generation_config.jsonModel and generation settings
tokenizer.*, added_tokens.json, special_tokens_map.json, chat_template.jinjaTokenizer and chat format
processor_config.json, preprocessor_config.jsonProcessor settings

Limitations

  • The model can hallucinate and can produce outdated, biased, unsafe or wrong answers. Its knowledge stops at its training data, so recent events may be missing or out of date.
  • Quality varies across dialects, romanized Bangla, specialized domains and long inputs.
  • Image inputs rely on Gemma 3's original vision encoder and have not been tested in Bangla.
  • Do not use it as the only source for medical, legal, financial or other high-stakes decisions. Keep a human in the loop.

License

CC BY 4.0. Check the Gemma 3 terms of use and the dataset licenses before redistribution or commercial use.

Citation

@inproceedings{raihan-zampieri-2025-tigerllm,
    title = "{T}iger{LLM} - A Family of {B}angla Large Language Models",
    author = "Raihan, Nishat  and
      Zampieri, Marcos",
    editor = "Che, Wanxiang  and
      Nabende, Joyce  and
      Shutova, Ekaterina  and
      Pilehvar, Mohammad Taher",
    booktitle = "Proceedings of the 63rd Annual Meeting of the {A}ssociation for {C}omputational {L}inguistics (Volume 2: Short Papers)",
    month = jul,
    year = "2025",
    address = "Vienna, Austria",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2025.acl-short.69/",
    doi = "10.18653/v1/2025.acl-short.69",
    pages = "887--896",
    ISBN = "979-8-89176-252-7"
}

Questions: md.nishat.008@gmail.com

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Gemma3ForConditionalGeneration
Ревизия весов
373b305

0 моделей