/ Модель

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

Лицензия
Своя лицензия
Архитектура
gemma4 · dense
Базовая модель
Gemma-SEA-LION-v4.5-E2B-IT
Библиотека
transformers
Опубликована
25 окт 2026

MERaLiON-S4.5-E2B

Мультимодальная модель9 профессий
82скачиваний за 30 дней9лайковвеса обновлены24 ноя 2026

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

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

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

MERaLiON-S4.5-E2B — мультимодальная модель, дообученная на базе aisingapore/Gemma-SEA-LION-v4.5-E2B-IT. Она предназначена прежде всего для распознавания речи и понимания изображений с учётом языков и контекста Юго-Восточной Азии. В тестах версия улучшила распознавание английской, китайской и тамильской речи, а также качество описаний изображений и OCR относительно базовой модели. Модель также показывает улучшения на отдельных тестах понимания документов и перевода.

Модель принимает аудио и изображения, а также текстовые запросы; генерирует текстовые ответы и транскрипции. В карточке среди языков указаны английский, китайский, индонезийский, малайский, тайский и тамильский. Видеопонимание не является целью этой версии: видеоданные не использовались в данном этапе дообучения, а результаты по видео смешанные. На открытых визуальных вопросах некоторые показатели снизились, а результаты отдельных тестов получены с отличающимися настройками декодирования, поэтому прямые сравнения требуют осторожности. Лицензия указана как other; README не уточняет её условия.

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

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

Ограничения

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

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

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

MERaLiON-S4.5-E2B

MERaLiON-S4.5-E2B is a Southeast-Asia-oriented image + audio + video → text model obtained by post-training aisingapore/Gemma-SEA-LION-v4.5-E2B-IT (Gemma-SEA-LION-v4.5-E2B-IT, E2B) with supervised fine-tuning followed by GRPO-based cultural alignment, following the method of the papers cited below. The released weights are full weights (no adapter loading needed).

Non-commercial research use only. Commercial use is not permitted; see LICENSE and NOTICE.

It accepts text with an optional image, audio clip (≤ 30 s) or video (1 FPS, ≤ 30 frames, with its own audio track) and generates text. MERaLiON-G4-E4B and MERaLiON-S4.5-E2B are sibling models built the same way on different base models (zzlynxSG/MERaLiON-G4-E4B, zzlynxSG/MERaLiON-S4.5-E2B).

Naming. MERaLiON-<base>-<size>: G4 = base generation Gemma 4, E4B = its size (4.5B effective parameters, 8B including embeddings); S4.5 = base generation SEA-LION v4.5 (itself built on Gemma 4 E2B), E2B = size (2.3B effective parameters, 5.1B including embeddings). These are general-purpose release names; the exact upstream checkpoint is given in the base_model field above.

Relation to the papers. This model follows the method of the two papers cited below, trained on an expanded version of the data used there. The numbers here are from our own evaluation of this release and are not results reported in those papers.

Important notice

  • Research use only. Commercial use is not permitted — see LICENSE and NOTICE. The upstream model remains available under its own license (Apache-2.0 for MERaLiON-G4-E4B, MIT for MERaLiON-S4.5-E2B); the restriction applies to our post-trained weights.
  • Alpha / not production-ready. This is an alpha release, not the final or a commercial version of the model. No additional safety alignment or red-teaming was done beyond what the upstream model received. The model can hallucinate (including wrong or invented cultural, visual and named-entity details), refuse valid requests, produce biased or harmful text, and mis-transcribe speech. It is not suitable for real-world deployment or for decisions that affect people.
  • Do not rely on its outputs for medical, legal, financial or safety-critical purposes.

Quick start

Requirements (tested): Python 3.11, torch 2.6.0, transformers 5.5.4 (Gemma 4 support, AutoModelForMultimodalLM), librosa, decord, pillow, accelerate, and ffmpeg/ffprobe on the PATH (for the audio track of videos).

pip install "transformers>=5.5" "torch==2.6.0" accelerate librosa decord pillow

inference.py in this repository wraps the preprocessing used for training and evaluation:

python inference.py --model . --image assets/image.jpg --prompt "Describe this image in detail."
python inference.py --model . --audio assets/audio.mp3 --prompt "Transcribe this audio."
python inference.py --model . --audio assets/audio.mp3                      # no instruction: audio-only turn
python inference.py --model . --video assets/video.mp4 --prompt "Summarize this video."
python inference.py --model . --image assets/image.jpg --prompt "..." --greedy   # greedy decoding (evaluation protocol)

Use --model zzlynxSG/MERaLiON-S4.5-E2B to load directly from the Hub. The same code in Python:

import torch, librosa
from PIL import Image
from transformers import AutoModelForMultimodalLM, AutoProcessor

path = "zzlynxSG/MERaLiON-S4.5-E2B"
processor = AutoProcessor.from_pretrained(path, trust_remote_code=True)
model = AutoModelForMultimodalLM.from_pretrained(path, dtype="auto", device_map="auto", trust_remote_code=True).eval()

image = Image.open("assets/image.jpg").convert("RGB")           # post-training used <= 512*512 pixels per image
messages = [{"role": "user", "content": [{"type": "image"}, {"type": "text", "text": "Describe this image in detail."}]}]
text = processor.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = processor(text=[text], images=[image], return_tensors="pt").to(model.device)

# stop ids: use the model's own eos list [1, 106, 50] (<eos>, <turn|>, <|tool_response>); do NOT add token 107 ("\n" in the Gemma 4 vocabulary)
stop = model.generation_config.eos_token_id
with torch.inference_mode():
    out = model.generate(**inputs, max_new_tokens=512, eos_token_id=stop, do_sample=True, temperature=1.0, top_k=64, top_p=0.95,
                         repetition_penalty=1.1, no_repeat_ngram_size=3)
print(processor.tokenizer.decode(out[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))

Audio: pass a 16 kHz mono waveform (librosa.load(path, sr=16000, mono=True)[0]) with {"type": "audio"} in the message and audio=[wav], sampling_rate=16000 to the processor. Video: pass the sampled PIL frames as videos=[frames], video_metadata=[{"fps": ..., "total_num_frames": ...}], num_frames=len(frames), with {"type": "video"} in the message; inference.py shows the exact frame sampling and audio extraction.

Recommended decoding. The defaults above (sampling at the upstream recommendation, repetition penalty 1.1, 3-gram blocking) are what the demo uses. Our benchmark numbers below use greedy decoding.

Evaluation

All numbers are from our own pipeline on held-out data, with greedy decoding and the same prompts for each base model and its release model. They describe these releases only — they are not results reported in the papers. Both models are shown below; bold marks the better of each base / release pair.

Overview

Capability (metric)Gemma4-E4B-IT (base)MERaLiON-G4-E4BSEA-LION-v4.5-E2B-IT (base)MERaLiON-S4.5-E2B
Chinese speech recognition (AIShell CER ↓) ‡0.4140.1250.3880.198
Tamil speech recognition (MS Tamil CER ↓) ‡0.2320.0960.5990.129
Singapore English speech (NSC, mean WER over 6 subsets ↓)0.4090.3270.4280.373
Image captioning (SEA-Omni-Image, BERTScore F1)0.7580.8510.7610.846
Image OCR (SEA-Omni-Image, CER ↓)0.3770.0970.3100.124
General image understanding (MME total)1837204715601728
General image understanding (MMBench-dev acc, %)71.977.866.971.1
Cultural localisation (C-Score* on image QA)0.2400.3720.2340.320

‡ Base-model results on these sets were generated with a different decoding setup and are for reference only (see the footnote of the detailed tables).

Highlights

  • Speech recognition. Error rates drop on every listed test set for both models, with the largest gains on Chinese and Tamil (MERaLiON-G4-E4B: AIShell CER 0.414 → 0.125, MS Tamil CER 0.232 → 0.096; MERaLiON-S4.5-E2B: AIShell CER 0.388 → 0.198, MS Tamil CER 0.599 → 0.129).
  • Singapore English speech. On the six IMDA National Speech Corpus subsets, WER falls on every subset for both models (mean WER 0.409 → 0.327 for G4, 0.428 → 0.373 for S4.5), with the largest gain on Topic-Read (0.599 → 0.409 and 0.607 → 0.478).
  • Image understanding. Captioning BERTScore rises from 0.758 to 0.851 (G4) and from 0.761 to 0.846 (S4.5), and OCR CER falls from 0.377 to 0.097 and from 0.310 to 0.124. MME total (1837 → 2047; 1560 → 1728) and MMBench-dev (71.9 → 77.8; 66.9 → 71.1) improve. Free-form QA BERTScore is about on par, image MCQA is mixed (G4 0.812 → 0.825; S4.5 0.823 → 0.800), and token-level QA F1 is slightly lower because answers are more concise.
  • Other general benchmarks. MATH-Vision (0.126 → 0.191; 0.065 → 0.128), OmniDocBench edit distance (0.682 → 0.464; 0.796 → 0.573) and MCIF COMET (0.730 → 0.771; 0.642 → 0.735) improve. MMMU-Pro is about level for G4 (0.332 → 0.323) and improves for S4.5 (0.197 → 0.242). MM-Vet drops (60.3 → 52.8; 51.7 → 46.6), so open-ended general visual QA is weaker after localisation post-training.
  • Denser local knowledge. Answers carry more Southeast-Asian localised terms per 100 words: C-Score* on image QA rises from 0.240 to 0.372 (G4) and from 0.234 to 0.320 (S4.5); on summaries it rises for G4 (0.023 → 0.030) and is about level for S4.5 (0.020 → 0.021).
  • Video is not a target of this release. No video data was replayed in this round of post-training, which is why video gains are limited and results are mixed: the Video-ChatGPT judge score improves (1.59 → 1.97; 1.28 → 1.67), while MVBench and Video-MME fall for G4 and are about level for S4.5. Audio-visual temporal reasoning and video understanding, including for Southeast Asia, are the focus of our ongoing work (a diagnostic benchmark is described in AVTrace) and are planned for a future version.

The tables below give the details.

Modelcaption BS-F1QA BS-F1QA F1summary BS-F1MCQA accOCR CER ↓OCR WER ↓
Gemma4-E4B-IT (base)0.7580.8450.1400.8240.8120.3770.399
MERaLiON-G4-E4B0.8510.8440.1300.8280.8250.0970.111
SEA-LION-v4.5-E2B-IT (base)0.7610.8480.1420.8240.8230.3100.305
MERaLiON-S4.5-E2B0.8460.8460.1360.8270.8000.1240.154

BS-F1 = BERTScore F1. OCR CER/WER are raw macro means over 1,885 rows (no capping).

Both models are strengthened on speech recognition in multiple languages (English, Chinese, Tamil and others); the test sets below are a subset for reference. WER for English, CER for Chinese and Tamil; lower is better.

ModelLibriSpeech clean ↓LibriSpeech other ↓Common Voice EN ↓AIShell ↓WenetSpeech net ↓WenetSpeech meeting ↓MS Tamil ↓Shrutilipi ↓
Gemma4-E4B-IT (base) ‡0.04720.10760.18840.41350.58820.67730.23150.3766
MERaLiON-G4-E4B0.03910.09010.17010.12480.30970.43510.09590.1848
SEA-LION-v4.5-E2B-IT (base) ‡0.05390.11750.20110.38810.62410.64340.59870.7341
MERaLiON-S4.5-E2B0.04630.10730.19180.19760.36780.48010.12870.2127

IMDA National Speech Corpus (Singapore English), WER with transcripts cleaned by Qwen3.8-27B; lower is better. Base and release were generated with the same decoding setup.

ModelCode-SwitchDaily Conv.PB-ReadService CallThemed Conv.Topic-ReadMean
Gemma4-E4B-IT (base)0.5690.4770.1870.2920.3270.5990.409
MERaLiON-G4-E4B0.4830.4260.1360.2290.2790.4090.327
SEA-LION-v4.5-E2B-IT (base)0.6030.4920.2130.3150.3360.6070.428
MERaLiON-S4.5-E2B0.5480.4770.1630.2640.3090.4780.373
ModelMMMU-Pro acc ‡MATH-Vision acc ‡OmniDocBench edit ↓ ‡MME totalMMBench-dev acc (%)MM-VetMCIF QA-BSMCIF WER ↓MCIF COMET
Gemma4-E4B-IT (base)0.3320.1260.682183771.960.30.2860.1590.730
MERaLiON-G4-E4B0.3230.1910.464204777.852.80.3760.1200.771
SEA-LION-v4.5-E2B-IT (base)0.1970.0650.796156066.951.70.2490.1540.642
MERaLiON-S4.5-E2B0.2420.1280.573172871.146.60.2690.1500.735

MMBench-dev is the English dev split, single pass, with answers mapped to option letters by Qwen3.8-27B; it is not the official MMBench CircularEval and is not comparable with the MMBench leaderboard. MM-Vet is scored by its official online GPT-based grader. ‡ Base-model results on these sets were generated with a different decoding setup and are for reference only.

No video data was replayed in this round of post-training, so video understanding is not a target of this release and gains here are limited. Video and audio-visual temporal reasoning are planned for a future version; related work: AVTrace.

ModelVideo-ChatGPT judge ‡MVBench acc (%)Video-MME acc (%)Video-MME with subtitles acc (%)
Gemma4-E4B-IT (base)1.5946.059.863.3
MERaLiON-G4-E4B1.9744.155.359.5
SEA-LION-v4.5-E2B-IT (base)1.2841.049.954.4
MERaLiON-S4.5-E2B1.6740.251.255.8

Video-ChatGPT scores come from a Qwen3.8-27B judge. ‡ Base-model result generated with a different decoding setup; for reference only. MVBench and Video-MME use 1 FPS frames with the video's audio track.

C-Score* measures how much Southeast-Asian localised knowledge (e.g. dish, place and garment names) an answer contains per 100 words, with wrong local terms penalised per keyword, on SEA-Omni-Image free-form QA and summaries. It is judged by Qwen3.8-27B with the keyword-extraction and judging prompts of our EMNLP'26 paper, so absolute values are not comparable with the paper.

ModelQA ↑Summary ↑
Gemma4-E4B-IT (base)0.2400.023
MERaLiON-G4-E4B0.3720.030
SEA-LION-v4.5-E2B-IT (base)0.2340.020
MERaLiON-S4.5-E2B0.3200.021

Answers to free-form image questions are about one third as long as the base models' (56 vs 176 words for G4, 58 vs 171 for S4.5), so they are dense in local terms. If long, entity-rich answers are needed, ask for them explicitly.

Intended use and limitations

  • Intended for research on multilingual, culturally grounded multimodal understanding in Southeast Asia, and for ASR/ST/QA/captioning experiments in en, zh, id, ms, th, ta.
  • Concise answers. The model answers free-form image questions concisely. If long, entity-rich answers are needed, ask for them explicitly.
  • Audio inputs were trained on clips of at most 30 s; video on 1 FPS frames of the first 30 s. Longer inputs are out of distribution.
  • Image QA uses images downscaled to about 512×512 pixels; fine print and small details may be lost.
  • Mathematical and multi-step reasoning is limited by the upstream model and a 512-token default budget; long reasoning is often cut before the final answer.
  • Video. No video data was replayed in this round of post-training, so video understanding was not optimised and can fall below the base model on some video benchmarks (see Evaluation). Training for video and audio-visual temporal reasoning, including Southeast Asian video, is ongoing and planned for a future version (see AVTrace for the related diagnostic benchmark).
  • General visual QA. Open-ended general visual question answering (MM-Vet) is weaker than the base model after localisation post-training.
  • Spoken-language identification, translation and summarisation tasks were added in SFT; GRPO data did not include these newer tasks, so they were not directly optimised in the RL stage.
  • English, Chinese, Indonesian, Malay, Thai and Tamil are covered unevenly; low-resource and code-switched speech is the weakest area.

Training data

The model is post-trained on an extended version of the data described in the papers cited below. The datasets are not redistributed here and keep their own licenses.

License

Weights: Research-Only License (non-commercial research only). Upstream: google/gemma-4-E4B-it (MERaLiON-G4-E4B) under Apache-2.0 and aisingapore/Gemma-SEA-LION-v4.5-E2B-IT (MERaLiON-S4.5-E2B) under MIT; see NOTICE for the retained upstream notices and a statement of changes.

Citation

If you use this model, please cite the following papers:

@inproceedings{zhang2026culturally,
      title={Culturally-Aware Alignment for Multimodal Models via Group Reward Optimization for Southeast Asia},
      author={Longyin Zhang and Shuo Sun and Yingxu He and Cheng Yi Lewis Won and Bowei Zou and Ai Ti Aw},
      booktitle={Proceedings of EMNLP 2026},
      year={2026},
}

@misc{zhang2026unlockingcognitivecapabilitiesanalyzing,
      title={Unlocking Cognitive Capabilities and Analyzing the Perception-Logic Trade-off},
      author={Longyin Zhang and Shuo Sun and Yingxu He and Won Cheng Yi Lewis and Muhammad Huzaifah Bin Md Shahrin and Hardik Bhupendra Sailor and Heng Meng Jeremy Wong and Tarun Kumar Vangani and Yi Ma and Qiongqiong Wang and Minh Duc Pham and Ridong Jiang and Jingtao Li and Jingyi Liao and Zhuohan Liu and Yanfeng Lu and Manas Gupta and Ai Ti Aw},
      year={2026},
      eprint={2602.23730},
      archivePrefix={arXiv},
      primaryClass={cs.AI},
      url={https://arxiv.org/abs/2602.23730},
}

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

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

GPU в ailist

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

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

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

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

0 моделей