Downloads · 30 days
4
6% of all-time downloads
minhnguyent546/SEA-LION-ModernBERT-Embedding-600M
SEA-LION-ModernBERT-Embedding-600M is a machine learning model from minhnguyent546. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Downloads · 30 days
4
6% of all-time downloads
All-time downloads
71
Public
Parameters
612M
2.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.4 GB · 99%
From the Hugging Face model README

Last update: 2026-03-16
SEA-LION is a collection of Large Language Models (LLMs) which have been pretrained and fine-tuned for the Southeast Asia (SEA) region.
Leveraging the advanced encoder-only ModernBERT architecture combined with the Gemma 3 SentencePiece tokenizer, this specific model achieves highly efficient and culturally nuanced text processing with improved tokenization fertility and compression rates for complex regional scripts, enabling it to handle longer context windows and cross-lingual tasks with greater computational efficiency. Using the SEA-LION-ModernBERT-600M-checkpoints as the base model, this model is contrastively pre-trained on 245 million text pairs (EN-EN and EN-SEA) and finally instruction-tuned using a diverse dataset of 13 million text pairs (spanning EN-EN, CN-CN, EN-SEA, and SEA-SEA) to create the final instruction-tuned model.
The SEA-LION-ModernBERT-Embedding-600M model is built on the ModernBERT-large architecture and has a vocabulary size of 262K.
For tokenization, the model employs our custom Gemma 3 tokenizer, which is specially tailored for SEA languages, ensuring optimal model performance.
This model card details one of the variants available within this collection.
| Model Variant | Model Repository | Suggesting Applications & Use Cases |
|---|---|---|
| Fine-tuned Embedding Models | - aisingapore/SEA-LION-E5-Embedding-600M <br> - aisingapore/SEA-LION-ModernBERT-Embedding-300M <br> - aisingapore/SEA-LION-ModernBERT-Embedding-600M | - Retrieval-Augmented Generation (RAG) <br> - Information retrieval, and search <br> - Similarity comparisons |
| Pre-trained Encoder Models | - aisingapore/SEA-LION-ModernBERT-300M <br> - aisingapore/SEA-LION-ModernBERT-600M <br> | - Fill mask <br>- Text classification <br> - Fine-tuning for downstream tasks (e.g., sentiment analysis, classification). |
| Pre-trained Model Checkpoints | - aisingapore/SEA-LION-ModernBERT-300M-checkpoints <br> - aisingapore/SEA-LION-ModernBERT-600M-checkpoints <br> | - Continued Pre-Training (CPT) <br> - Fine-tuning for downstream tasks (e.g., sentiment analysis, classification). |
The model was not tested for robustness against adversarial usage. It is important for users to be aware that our model exhibits certain limitations that warrant consideration. Users should also exercise caution in continue-implementing and validating the model's responses due to the potential inconsistencies.
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model.
Use the code below to get started with the model.
pip install -U transformers>=4.48.0
from sentence_transformers import SentenceTransformer
model = SentenceTransformer(
"aisingapore/SEA-LION-ModernBERT-Embedding-600M",
prompts={
"STS": "Instruct: Retrieve semantically similar text.\nQuery: ",
"Clustering": "Instruct: Classify text into its appropriate category\nQuery: ",
"Classification": "Instruct: Classify text into its appropriate category\nQuery: ",
"Retrieval": "Instruct: Given a passage that is guaranteed to contain the answer, retrieve relevant passages that answer the query.\nQuery: ",
"BitextMining": "Instruct: Retrieve parallel sentences.\nQuery: ",
"PairClassification": "Instruct: Retrieve semantically similar text.\nQuery: ",
"Reranking": "Instruct: Retrieve semantically similar text.\nQuery: ",
"InstructionRetrieval": "Instruct: Given a instruction and a output, retrieve the most relevant output that answer the instruction.\nQuery: ",
"MultiLabelTextClassification": "Instruct: Classify the given text into its appropriate classes\nQuery: ",
"QARetrieval": "Instruct: Given a passage that is guaranteed to contain the answer, retrieve relevant passages that answer the query.\nQuery: ",
"Summarization": "Instruct: Summarize the given text.\nQuery: "
},
)
sentences = [
"The weather is lovely today.",
"อากาศวันนี้ดีมาก",
"Dia berkendara ke stadion.",
]
embeddings = model.encode(sentences, prompt_name="STS")
print(embeddings.shape)
# [3, 1024]
similarities = model.similarity(embeddings, embeddings)
print(similarities)
# tensor([[1.0000, 0.8754, 0.5681],
# [0.8754, 1.0000, 0.6168],
# [0.5681, 0.6168, 1.0000]])
This model was tuned using a multi-stage training pipeline with the following datasets:
| Language | Percentage |
|---|---|
| EN-EN | 20% |
| CN-CN | 20% |
| EN-SEA | 10% |
| SEA-SEA | 50% |
Following the foundational training, the model's cross-lingual alignment was substantially enhanced by undergoing contrastive pre-training utilising 245 million text pairs, specifically focusing on English-to-English and English-to-Southeast Asian language mappings (EN-EN and EN-SEA). Finally, to ensure the model could effectively follow user instructions and handle complex interactions, it was instruct-tuned using a diverse dataset of 8 million text pairs spanning EN-EN, CN-CN, EN-SEA, and SEA-SEA, culminating in the final highly capable instruction-tuned model.
The model is evaluated across three primary benchmark suites to provide a comprehensive assessment of embedding quality across Southeast Asian, Chinese, and English contexts:
Evaluation factors are categorised by task type and linguistic diversity to ensure the model's "fertility" and "nuance" are captured accurately:
Linguistic Coverage: Evaluation spans across 12 languages, including complex Brahmic scripts (Burmese, Khmer, Lao, Tamil, Thai) and Latin-based SEA scripts (Indonesian, Filipino, Malay, Tetum, Vietnamese).
Task Modality:
Architecture Efficiency: Performance is measured in the context of the ModernBERT architecture and Gemma 3 tokenizer to assess computational efficiency versus embedding quality.
To provide a standardised view of performance, we report the following metrics across the benchmark suites:
Performance comparison of embedding models on SEA-BED (https://leaderboard.sea-lion.ai/embedding/SEA). Captured on 13/03/2026 02:50pm.
Carbon emission was estimated using the fact sheet from TRG Datacenters.
SEA-LION-ModernBERT-Embedding is an embedding model using the ModernBERT architecture.
| Parameter | SEA-LION-ModernBERT-Embedding |
|---|---|
| Layers | 22 in 300M / 28 in 600M |
| d_model | 768 in 300M / 1024 in 600M |
| head_dim | 12 in 300M / 16 in 600M |
| Vocabulary | 262144 |
| Sequence Length | 128/ 8k |
SEA-LION-Embedding was trained using Sentence-Transformers.
While this model supports masked language modeling, it is primarily optimised via contrastive fine-tuning for downstream tasks such as sequence classification, token classification, or question answering. Please note that these weights have not been specifically aligned for safety; therefore, developers should implement their own safety evaluations and security measures. The authors disclaim all liability for any claims, damages, or other liabilities arising from the use of the released code or weights.
For more info, please contact us at [email protected]
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 Haoyang, Zhang Zhou
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.