/ Модель

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

Лицензия
MIT
Архитектура
gemma4 · dense
Базовая модель
gemma-4-E2B-it
Библиотека
transformers
Опубликована
11 ноя 2026

Gemma-SEA-LION-v5-E2B

Мультимодальная модель15 профессий
189скачиваний за 30 дней0лайковвеса обновлены23 ноя 2026

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

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

Мультимодальная модель AI Singapore для диалогов, перевода и анализа текста, изображений, аудио и видео на языках Юго-Восточной Азии.

Gemma-SEA-LION-v5-E2B — мультимодальная плотная языковая модель, разработанная AI Singapore для языков Юго-Восточной Азии. Она дообучена на основе google/gemma-4-E2B-it на английских и региональных инструкциях с применением обучения с подкреплением и дистилляции от более крупной модели. Модель содержит 2,3 млрд эффективных параметров (5,1 млрд с эмбеддингами) и поддерживает контекст до 128 тыс. токенов.

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

Модель может галлюцинировать, выдавать нерелевантные или непоследовательные ответы и не проверялась на устойчивость к состязательным запросам. Её безопасность отдельно не настраивалась, поэтому перед применением в чувствительных сценариях необходимы собственные меры защиты. Лицензия — MIT.

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

  • многоязычные диалоги и ответы на вопросы на языках Юго-Восточной Азии
  • перевод между английским и региональными языками
  • суммаризация и анализ текстовых документов
  • извлечение текста и сведений из изображений и PDF
  • распознавание речи и перевод аудио в текст
  • анализ видеокадров, графиков и интерфейсов
  • генерация кода и вызов функций в агентных сценариях

Ограничения

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

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

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

AI Singapore SEA-LION v5, Gemma 4 E2B

Model Card for Gemma-SEA-LION-v5-E2B

Last update: 2026-11-23

SEA-LION is a collection of Large Language Models (LLMs) built for Southeast Asia (SEA). Gemma-SEA-LION-v5-E2B is based on google/gemma-4-E2B-it, the instruction-tuned version of Google DeepMind's Gemma 4 E2B. Gemma 4 E2B is a multimodal model with 2.3B effective parameters (5.1B with embeddings). It takes text, image and audio input, generates text output, and has a 128K-token context window.

From google/gemma-4-E2B-it, Gemma-SEA-LION-v5-E2B inherits:

  • A built-in thinking mode that lets the model reason step by step before answering, enabled by default in this release
  • Image understanding at variable aspect ratios and resolutions, including object detection, document and PDF parsing, screen and UI understanding, chart comprehension, multilingual OCR, handwriting recognition and pointing
  • Video understanding from sequences of frames, with text and images freely interleaved in one prompt
  • Audio input for speech recognition and speech-to-translated-text translation across multiple languages
  • Native function calling for agentic workflows, plus code generation, completion and correction
  • Native support for the system role, for more structured and controllable conversations
  • Out-of-the-box support for 35+ languages, with pre-training on 140+ languages
  • Efficient local execution on laptops and mobile devices

Model Description

SEA-LION stands for Southeast Asian Languages In One Network. We post-trained google/gemma-4-E2B-it in English and SEA languages to create Gemma-SEA-LION-v5-E2B. The architecture, tokenizer, vision and audio encoders, sampling defaults and chat template are inherited from Gemma unchanged, except that thinking is enabled by default.

  • Developed by: AI Products Pillar, AI Singapore
  • Funded by: National Research Foundation Singapore
  • Shared by: AI Products Pillar, AI Singapore
  • Model type: Dense multimodal LLM
  • Context length: 128K tokens
  • Language(s): Burmese, Chinese, English, Indonesian, Filipino, Malay, Tamil, Thai, and Vietnamese
  • License: MIT
  • Finetuned from model: google/gemma-4-E2B-it
  • Repository: SEA-LION v5 - an aisingapore Collection

Other versions: aisingapore/Gemma-SEA-LION-v5-E2B-FP8, aisingapore/Gemma-SEA-LION-v5-E2B-INT4 and aisingapore/Gemma-SEA-LION-v5-E2B-GGUF (llama.cpp). aisingapore/Gemma-SEA-LION-v5-E2B-SpecDecoder is a draft model for faster generation with speculative decoding.

Getting Started

Use the code below to get started with the model using 🤗 Transformers, vLLM or SGLang.

pip install -U transformers torch torchvision pillow accelerate
from transformers import AutoProcessor, AutoModelForMultimodalLM

MODEL_ID = "aisingapore/Gemma-SEA-LION-v5-E2B"

# Load model
processor = AutoProcessor.from_pretrained(MODEL_ID)
model = AutoModelForMultimodalLM.from_pretrained(
    MODEL_ID,
    dtype="auto",
    device_map="auto"
)

# Prompt
messages = [
    {
        "role": "user",
        "content": "Saya mau kirim 40 kardus durian beku dari Medan ke Singapura lewat Pelabuhan Belawan. Jelaskan dokumen ekspor yang wajib saya siapkan, perkiraan waktu transit, dan risiko rantai dingin yang paling sering terjadi di rute ini. Jawab dalam Bahasa Indonesia, format poin.",
    },
]

# Process input
inputs = processor.apply_chat_template(
    messages,
    tokenize=True,
    return_dict=True,
    return_tensors="pt",
    add_generation_prompt=True,
    enable_thinking=False
).to(model.device)
input_len = inputs["input_ids"].shape[-1]

# Generate output
outputs = model.generate(**inputs, max_new_tokens=2048)
response = processor.decode(outputs[0][input_len:], skip_special_tokens=False)

# Parse output
processor.parse_response(response, prefix=inputs["input_ids"])

Thinking is enabled by default. The example above turns it off with enable_thinking=False; without that line, the model thinks before answering and parse_response separates the thinking from the answer.

vllm serve aisingapore/Gemma-SEA-LION-v5-E2B \
  --reasoning-parser gemma4 \
  --enable-auto-tool-choice \
  --tool-call-parser gemma4

Then call the model:

from openai import OpenAI

client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")

response = client.chat.completions.create(
    model="aisingapore/Gemma-SEA-LION-v5-E2B",
    messages=[
        {
            "role": "user",
            "content": "Saya mau kirim 40 kardus durian beku dari Medan ke Singapura lewat Pelabuhan Belawan. Jelaskan dokumen ekspor yang wajib saya siapkan, perkiraan waktu transit, dan risiko rantai dingin yang paling sering terjadi di rute ini. Jawab dalam Bahasa Indonesia, format poin.",
        },
    ],
    extra_body={"chat_template_kwargs": {"enable_thinking": True}},
)

message = response.choices[0].message
print(message.reasoning)
print(message.content)

Tool calling:

tools = [
    {
        "type": "function",
        "function": {
            "name": "get_weather",
            "description": "Get the current weather for a city",
            "parameters": {
                "type": "object",
                "properties": {"city": {"type": "string"}},
                "required": ["city"],
            },
        },
    }
]

response = client.chat.completions.create(
    model="aisingapore/Gemma-SEA-LION-v5-E2B",
    messages=[{"role": "user", "content": "Bagaimana cuaca di Jakarta hari ini?"}],
    tools=tools,
)

for call in response.choices[0].message.tool_calls or []:
    print(call.function.name, call.function.arguments)
sglang serve --model-path aisingapore/Gemma-SEA-LION-v5-E2B \
  --reasoning-parser gemma4 \
  --tool-call-parser gemma4

Then call the model:

from openai import OpenAI

client = OpenAI(base_url="http://localhost:30000/v1", api_key="EMPTY")

response = client.chat.completions.create(
    model="aisingapore/Gemma-SEA-LION-v5-E2B",
    messages=[
        {
            "role": "user",
            "content": "Saya mau kirim 40 kardus durian beku dari Medan ke Singapura lewat Pelabuhan Belawan. Jelaskan dokumen ekspor yang wajib saya siapkan, perkiraan waktu transit, dan risiko rantai dingin yang paling sering terjadi di rute ini. Jawab dalam Bahasa Indonesia, format poin.",
        },
    ],
    extra_body={"chat_template_kwargs": {"enable_thinking": True}},
)

message = response.choices[0].message
print(message.reasoning_content)
print(message.content)

For tool calling, pass tools as in the vLLM example above.

These examples are adapted from the google/gemma-4-E2B-it model card, which also covers audio, image and video input. For more vLLM options, see vLLM's gemma-4-E2B-it recipe. For more SGLang options, see SGLang's Gemma 4 cookbook.

Out-of-Scope Use

The model has not been aligned for safety. Developers and users should perform their own safety fine-tuning and related security measures. In no event shall the authors be held liable for any claims, damages, or other liabilities arising from the use of the released weights and codes.

Bias, Risks, and Limitations

The model was not tested for robustness against adversarial prompting. It is important for users to be aware that our model exhibits certain limitations that warrant consideration. Like many LLMs, the model can hallucinate and occasionally generates irrelevant content, introducing fictional elements that are not grounded in the provided context. Users should also exercise caution in interpreting and validating the model's responses due to the potential inconsistencies.

For Gemma's training data, safety evaluation and limitations, see the google/gemma-4-E2B-it model card.

Training

Training was text-only, using prompts from aisingapore/SEA-Instruct-2602, an instruction dataset in English and Southeast Asian languages. We trained with Reinforcement Learning and On-Policy Distillation simultaneously, with google/gemma-4-31B-it as the teacher and an LLM judge (DeepSeek-V4.1-Flash-1017) grading answers against per-prompt rubrics.

Evaluation

We evaluated SEA-LION-v5 on multilingual, multicultural, multi-turn chat and instruction-following capabilities. For the evaluation used in SEA-LION-v5, the new version of SEA-HELM (Southeast Asian Holistic Evaluation of Language Models) is adopted as the evaluation framework.

Testing Data

General language capabilities: For the evaluation of general language capabilities, we employed the SEA-HELM evaluation benchmark across a variety of tasks. These tasks include Question Answering (QA), Sentiment Analysis (Sentiment), Metaphor Understanding, Toxicity Detection (Toxicity), SEA-SafeguardBench, Translation in both directions (Eng>Lang & Lang>Eng), Abstractive Summarisation (Abssum), Causal Reasoning (Causal), Natural Language Inference (NLI), Linguistic Diagnostics (LINDSEA), KOPI-SEA, Cultural Knowledge (Kalahi), Thai Exam, and Global MMLU Lite. Language coverage within SEA-HELM includes Filipino, Indonesian, Tamil, Thai, and Vietnamese, and is now further extended to Malay and Burmese.

Instruction-following and Multi-turn Chat: We evaluated instruction following with SEA-IFEval (based on IFEval) and multi-turn chat with SEA-MTBench (based on MT-Bench). Both datasets were originally in English. Linguists and native speakers in the team filtered, localised and translated them into each target language so that the examples remain reasonable, meaningful and natural, avoiding the translationese and cultural erasure of machine-translated benchmarks. Native speakers of the target languages took part in every stage of dataset planning and construction.

Factors

All evaluations ran with the model-specific generation parameters defined in the model config. Each evaluation consisted of 8 runs with different seeds, and the average score for each prompt was then calculated.

Bootstrapping with replacement for each prompt was done to obtain the task score. The final result is then the aggregation of the various task scores.

For tasks that are not judged by an LLM, the model was expected to provide an answer tag from which the answer was automatically extracted. Additionally, when options were provided, the answer should comprise one of the pre-defined options. For tasks that are judged using an LLM, the entire generated text was given to the LLM for judging.

The evaluation was done zero-shot with native prompts on a sample of 100-1000 instances for each dataset. Task prompts are issued in the target language itself, on the view that full support for a language requires a model both to interpret native instructions and to respond coherently in that language.

  • SEA-IFEval: SEA-IFEval evaluates a model's ability to adhere to constraints provided in the prompt, for example, beginning a response with a specific word/phrase or answering with a certain number of sections. Additionally, accuracy is normalised by the proportion of responses in the correct language (if the model performs the task correctly but responds in the wrong language, it is judged to have failed the task).
  • SEA-MTBench: SEA-MTBench evaluates a model's ability to engage in multi-turn (2 turns) conversations and respond in ways that align with human needs. We use gpt-oss-120b as the judge model. The metric used is the average criteria score where model responses were judged based on a set of specific criteria for each prompt.
  • KOPI-SEA: KOPI-SEA evaluates a model’s ability to generate a cultural concept based on a set of related words. We use gpt-oss-120b as the judge model to determine if the model identifies the correct concept. The metric used is the average criteria score.
  • LINDSEA 2.0: LINDSEA 2.0 evaluates a model’s ability to generate a text that contains a particular syntactic phenomenon. We use gpt-oss-120b to judge if the syntactic phenomenon can be found in the text and follows the prescribed grammar rules. The metric used is the average criteria score.

Metrics

The following metrics were used for text capabilities:

TaskMetric
Sentiment AnalysisAccuracy
Extractive QA (ID, VI, TH, TA)ChrF++
MCQ-QA (TL, MY, MS)Accuracy
MetaphorAccuracy
Abstractive SummarisationRouge-L
TranslationsMetricX-24 score (with reference)
Toxicity DetectionAccuracy
SEA-SafeguardAccuracy
Causal ReasoningAccuracy
Natural Language InferenceAccuracy
LINDSEAAccuracy
LINDSEA 2.0Average criteria score
Global MMLU LiteAccuracy
ThaiExamAccuracy
KalahiAccuracy
Kalahi (LLM-as-a-Judge)Average criteria score
KOPI-SEAAverage criteria score
SEA-IFEvalAccuracy
SEA-MTBench (LLM-as-a-Judge)Average criteria score

Results

SEA-LION Leaderboard, Overall SEA Average, 17 November 2026 Figure 1. Overall SEA-HELM average, with the SEA-LION v5 models in orange. Leaderboard captured on 17 November 2026.

For more details and a breakdown by task and language, see the SEA-LION Leaderboard.

Quant Results

SEA-LION Leaderboard, full precision vs. FP8 and INT4, 23 November 2026 Figure 2. SEA-HELM scores for the full-precision, FP8 and INT4 models. On the SEA average, FP8 is within 0.3 points of full precision and INT4 within 1.8.

More details on throughput for the FP8 and INT4 checkpoints are available at aisingapore/Gemma-SEA-LION-v5-E2B-FP8 and aisingapore/Gemma-SEA-LION-v5-E2B-INT4.

Team

AI Products Pillar, AI Singapore

Acknowledgement

This project is supported by the National Research Foundation Singapore and Infocomm Media Development Authority (IMDA), Singapore under its National Large Language Model Funding Initiative.

Gemma-SEA-LION-v5-E2B is built on google/gemma-4-E2B-it, part of Google DeepMind's Gemma 4 family (technical report).

Contact

sealion@aisingapore.org

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

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

GPU в ailist

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

Нельзя запустить

Мультимодальные any-to-any модели пока не поддерживаются рантаймом.

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

0 моделей