/ Модель

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

Размер весов
8,6 ГБ
Лицензия
Gemma
Архитектура
gemma3 · dense
Базовая модель
gemma-3-4b-it
Библиотека
transformers
Опубликована
5 фев 2026

Gemma-SEA-LION-v4-4B-VL

Изображение и текст → текст11 профессий

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

687скачиваний за 30 дней4лайкавеса обновлены25 авг 2026

Бенчмарки

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

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

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

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

    Вместе с другими моделями категории «Изображение → текст» — сравнение идёт внутри одной категории.

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

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

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

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

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

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

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

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

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

Gemma-SEA-LION-v4-4B-VL — мультимодальная модель с 4 млрд параметров, разработанная командой AI Products Pillar организации AI Singapore при финансировании NRF Сингапура. Это дообученная на основе google/gemma-3-4b-it модель семейства Gemma 3 с архитектурой декодера, предназначенная для диалогов, генерации текста и ответов на вопросы по изображениям. Контекстное окно составляет 128 тыс. токенов.

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

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

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

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

Ограничения

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

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

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

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

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

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

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

Открыть на Hugging Face

Banner!

Gemma-SEA-LION-v4-4B-VL

[Last update: 2026-02-05]

SEA-LION is a collection of Large Language Models (LLMs) which have been pretrained and instruct-tuned for the Southeast Asia (SEA) region.

Gemma-SEA-LION-v4-4B-VL is a 4-billion parameter Vision-Language Model (VLM) built upon the gemma-3-4b-it architecture. To ensure domain adaptation for the region, the model underwent rigorous post-training on a curated dataset of approximately 6.7 million instruction-text pairs.

This extensive post-training instills multilingual and multicultural fluency, covering key SEA languages such as Indonesian, Vietnamese, Thai, Filipino, Tamil, Burmese, Malay. This curated dataset also includes a filtered open sourced set of tool-calling instruction-text pairs to impart these capabilities, in addition to linguistic fluency.

Gemma-SEA-LION-v4-4B-VL inherits the image and text capabilities from gemma-3-4b-it alongside its large context length of 128K tokens. Additionally, beyond extending the multilingual capabilities of the original gemma model for SEA languages, we experimented with:

  1. Adding function calling to the model to allow for this model to be used in tool calling applications.
  2. The visual parsing capabilities in Thai, Chinese and English.

Model Details

Model Description

SEA-LION stands for Southeast Asian Languages In One Network.

We performed Post-Training in English and SEA languages on gemma-3-4b-it, a decoder model using the gemma-3 architecture, to create Gemma-SEA-LION-v4-4B-VL.

For tokenization, the model employs the default tokenizer used in gemma-3-4b-it.

  • Developed by: AI Products Pillar, AI Singapore
  • Funded by: Singapore NRF
  • Shared by: AI Products Pillar, AI Singapore
  • Model type: Decoder
  • Context length: 128k
  • Language(s): Indonesian, Vietnamese, Thai, Filipino, Tamil, Burmese, Malay
  • License: Gemma
  • Finetuned from model: gemma-3-4b-it

Model Sources

Uses

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.

How to Get Started with the Model

Use the code below to get started with the model with 🤗 Transformers libraries.

import torch
from transformers import AutoProcessor, Gemma3ForConditionalGeneration

model_id = "aisingapore/Gemma-SEA-LION-v4-4B-VL"

model = Gemma3ForConditionalGeneration.from_pretrained(
    model_id, device_map="auto"
).eval()

processor = AutoProcessor.from_pretrained(model_id)

messages = [
    {
        "role": "system",
        "content": [{"type": "text", "text": "You are a helpful assistant."}]
    },
    {
        "role": "user",
        "content": [
            {"type": "image", "image": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/bee.jpg"},
            {"type": "text", "text": "What is in the image? Also, any flats for sale in Tampines?"}
        ]
    }
]

tools = [
    {
        "type": "function",
        "function": {
            "name": "search_hdb_listings",
            "description": "Search for HDB flats available for sale",
            "parameters": {
                "type": "object",
                "properties": {
                    "location": {"type": "string", "description": "Town or area name"},
                    "flat_type": {"type": "string", "description": "Flat type e.g. 3-room, 4-room, 5-room"},
                    "max_price": {"type": "number", "description": "Maximum price in SGD"}
                },
                "required": ["location", "flat_type"]
            }
        }
    },
    {
        "type": "function",
        "function": {
            "name": "calculate_mortgage",
            "description": "Calculate estimated monthly mortgage payment",
            "parameters": {
                "type": "object",
                "properties": {
                    "loan_amount": {"type": "number", "description": "Loan amount in SGD"},  
                    "interest_rate": {"type": "number", "description": "Annual interest rate as percentage"},
                    "loan_tenure_years": {"type": "integer", "description": "Loan period in years"}
                },
                "required": ["loan_amount"]
            }
        }
    }
]

inputs = processor.apply_chat_template(
    messages, tools=tools, add_generation_prompt=True, tokenize=True,
    return_dict=True, return_tensors="pt"
).to(model.device, dtype=torch.bfloat16)

input_len = inputs["input_ids"].shape[-1]

with torch.inference_mode():
    generation = model.generate(**inputs, max_new_tokens=512, do_sample=False)
    generation = generation[0][input_len:]

decoded = processor.decode(generation, skip_special_tokens=True)
print(decoded)

Output:

# The image shows a close-up of pink cosmos flowers with a bee visiting one of them. There are also some other flowers and greenery in the background.

# Now, let's search for HDB flats for sale in Tampines.

# <tool_call>
# {"name": "search_hdb_listings", "arguments": {"location": "Tampines", "flat_type": "4-room", "max_price": 600000}}
# </tool_call>

Vllm Model Serving

vllm serve aisingapore/Gemma-SEA-LION-v4-4B-VL --enable-auto-tool-choice --tool-call-parser hermes

Training Details

The dataset comprises of a collection of filtered OSS & synthetic data.

Training Datasets:

Training Regime:

  • Our post-training workflow consists of Instruction Fine-Tuning, Distillation (from gemma-3-27b-it), Preference Tuning, Model Merging and Reinforcement Learning.

Evaluation

Testing Data, Factors & Metrics

Testing Data

We evaluated Gemma-SEA-LION-v4-4B-VL on general language capabilities and LLM-specific capabilities using SEA-HELM.

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), Toxicity Detection (Toxicity), Translation in both directions (Eng>Lang & Lang>Eng), Abstractive Summarisation (Abssum), Causal Reasoning (Causal), Natural Language Inference (NLI), Linguistic Diagnostics (LINDSEA), Cultural Knowledge (Kalahi) and Global MMLU Lite/Thai Exam.

Instruction-following and Multi-turn Chat

We evaluated the models on Instruction-following and Multi-turn Chat capabilities with SEA-IFEval (based on IFEval) and SEA-MTBench (based on MT-Bench) respectively. The two datasets were originally in English, the linguists and native speakers in the team worked together to filter, localise and translate the datasets into the respective target languages to ensure that the examples remained reasonable, meaningful and natural.

Factors

All evaluations were run with the model specific generation parameters defined in the model config. Each evaluation comprised of 8 runs with different seeds and the final results were averaged across these runs.

For all tasks, the model was expected to provide an answer tag from which the answer was automatically extracted. For tasks where options were provided, the answer should comprise one of the pre-defined options.

The evaluation was done zero-shot with native prompts on a sample of 100-1000 instances for each dataset.

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-4.1-2025-04-14 as the judge model and compare against gpt-4.1-2025-04-14 as the baseline model. The metric used is the weighted win rate against the baseline model (i.e. average win rate across each category: Math, Reasoning, STEM, Humanities, Roleplay, Writing, Extraction).

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)
Causal ReasoningAccuracy
Natural Language InferenceAccuracy
LINDSEAAccuracy
Global MMLU LiteAccuracy
Thai ExamAccuracy
KalahiAccuracy
SEA-IFEvalAccuracy
SEA-MTBenchWin rate against a reference

Results

LeaderboardResults!

For details on Gemma-SEA-LION-v4-4B-VL performance, please refer to the SEA-HELM leaderboard, https://leaderboard.sea-lion.ai/ .

Tool calling

We evaluated the tool calling capabilities of our model using the Berkeley Function Calling Leaderboard (BFCL) V4 evaluation.

Factors

The evaluation was done using the codes from the BFCL v4 repository. Modifications were made to the agentic web search task:

  • The Brave Search API was used instead of the DuckDuckGo Search API. The Brave Search API is also a privacy focused search engine and is similar to the DuckDuckGo Search API.

Note: Gemma-3-4b-it was run in prompt mode as it does not support function calling.

Results

ToolcallingResults!

Visual parsing

We also evaluated the visual parsing capabilities using the components of the OCRBenchv2 and ThaiOCRBench that focused primarily on text extraction. These included the following tasks:

  • Table/Chart/Document parsing
  • Fine grained image-text extraction
  • Full page image-text extraction
  • Text recognition

Factors

The evaluation was done zero-shot using native prompts.

Results

VisualParsingResults!

More Information

This is the repository for the commercial instruction-tuned model. 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.

For more info, please contact us at sealion@aisingapore.org

Team

Ahmed Dabeer, Ahn Jeongmi, Antonyrex Sajeban, Chan Hok Teng Adwin, Cheng Zi Yi Nicholas, Choa Hsueh Mei Esther, Heng Jonathan, Huang Yuli, Jann Railey Estrada Montalan, Lee Chwan Ren, Leong Wai Yi, Leong Wei Qi, Liew Rachel, Limkonchotiwat Peerat, Muhammad Ridzuan Bin Mokhtar, Nagarajan Karthik, Ng Boon Cheong Raymond, Ngee Chia Tai, Ngui Jian Gang, Nguyen Thanh Ngan, Ong Tat-Wee David, Ong Zhi Hao, Pereira Mark, Poon Joseph, Rengarajan Hamsawardhini, Siow Wei Kang Bryan, Susanto Yosephine, Sutaveephamochanon Anocha, Tan Choon Meng, Tan Chor Phin Evelyn, Tan Siao Wei Jessica, Tan Yixian, Tee Jun Yun, Teng Kok Wai Walter, Teo Eng Sipp Leslie, Tjhi William, Wu Donghang, Yeo Yeow Tong, Yong Xianbin, Zhang Zhou, Elliott Chris (Google), Mohseni Mohammadreza (Google), Sharan Mayank (Google), Wei Fanny (Google), Tang Jiuqiang (Google), Xu Xiang (Google), Yu Ting (Google), Loh Michelle (Google), Mangal Saurabh (Google), Mukherjee Pratyusha (Google), Sim Stephanie (Google)

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.

Contact

sealion@aisingapore.org

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей