Instructions to use anocha-mcomp/lora_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use anocha-mcomp/lora_model with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("anocha-mcomp/lora_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
Download blog_post.md from anocha-mcomp/lora_model: direct link, hf CLI and curl.
- Browser
- Download file 4.96 kB
-
https://huggingface.co/anocha-mcomp/lora_model/resolve/main/blog_post.md
- Command line
-
hf download hf://anocha-mcomp/lora_model/blog_post.md
-
curl -L -o blog_post.md https://huggingface.co/anocha-mcomp/lora_model/resolve/main/blog_post.md
Bridging the Semantic Gap: Announcing the SEA-LION Embedding Suite
Today, we are announcing the SEA-LION Embedding Suite. It’s the BEST embedding for Southeast Asian use.
Proven on SEA-BED
To ensure these models actually perform where it matters, we evaluated them on SEA-BED (Southeast Asia Embedding Benchmark). Unlike global benchmarks that rely on machine translation, SEA-BED uses human-curated data across 10 regional languages. Our models consistently show top-tier performance across: At the same time, we managed to keep English and Chinese performance close to SOTA as possible.
- Retrieval & Reranking
- Semantic Textual Similarity (STS)
- Bitext Mining
- Instructional Retrieval
add spider chart here
[Attachment: final spider chart.png]add Zhihao’s app and documentation here
add table showing memory footprint, context length, latency, flash attention enabled or not, matryoshka enabled or not here
- let’s compare our 3 models against Qwen 8B and bge-m3, any others as well?
Technical Comparison
| Model | Size | Context | Latency | Flash Attn | Matryoshka |
|---|---|---|---|---|---|
| SEA-LION-E5-Embedding-600M | 560M | 512 | Low | No | No |
| SEA-LION- ModernBERT-Embedding-300M | 300M | 8192 | Very Low | Yes | Yes |
| SEA-LION- ModernBERT-Embedding-600M | 600M | 8192 | Low | Yes | Yes |
| Qwen-8B-Embedding | 8B | 32k | High | Yes | No |
| BGE-M3 | 560M | 8192 | Med | Yes | Yes |
Why Embeddings Matter for the Region
While Large Language Models (LLMs) grab the headlines, Embeddings are the silent engine behind modern AI. It’s even more important for modern LLMs systems - memory, search & retrieval, etc. Whether you are building a chatbot for a government portal in Bangkok, a customer support bot for an e-commerce platform in Jakarta, or a legal document analyser in Hanoi, high-quality embeddings are the difference between "getting the gist" and "truly understanding."
[IF we have data from the app that zhihao built show why it matters]
This release includes five specialised models and four foundational checkpoints across three distinct architectures, all unified by one goal: providing the best vector representations for Southeast Asia’s unique linguistic landscape.
We are happy to release these models under an open and permissive license (MIT License) to support developers, researchers, and startups across the ASEAN region.
The Lineup: Precision for Every Use Case
Our suite of embedding models are designed to balance state-of-the-art accuracy, speed, and memory efficiency.
1. The Powerhouse: SEA-LION-E5-Embedding-600M
For those who require the highest possible semantic precision, we have fine-tuned the E5-Large on our curated SEA data. This model is a drop-in replacement for existing E5 workflows, specifically optimised to understand the nuances in languages like Thai, Vietnamese, and Indonesian. One of E5 and other embedding is the small context size. (Why did we choose E5 and not other more popular embeddings?)
2.Efficient Embedding: SEA-LION-ModernBERT-Embedding (300M & 600M)
We trained a ModernBERT flagship encoders designed for maximum performance in a small footprint, providing dense, high-quality embeddings while remaining the fastest and most capable options for long-document RAG in the region.
Further fine-tuned specifically for retrieval and similarity, the SEA-LION-Embedding-300M and 600M models feature native 8,192 token context windows and alternating attention mechanisms to handle complex semantic tasks with ease.
3. More Checkpoints for SEA Developers: SEA-LION-ModernBERT (300M & 600M)
We are releasing the raw pre-trained checkpoints (300M and 600M), built from scratch, for the community to build upon. These checkpoints represent the culmination of our multi-stage training pipeline, including 2T tokens of pre-training and 1T tokens of mid-training across 13 regional languages.
What’s Under the Hood?
Better Tokenization with Gemma 3
All our new models utilise the Gemma 3 tokenizer. With a vocabulary specifically balanced for non-English languages, we have achieved significantly lower "fertility" rates. This means the models can process more information per token for scripts like Khmer, Lao, and Burmese compared to global standard tokenizers.
Get Started Today
The models and checkpoints are now available on our Hugging Face hub.
- Explore the Models: 🤗Hugging Face / AI Singapore
- Review the Benchmark: SEA-BED Paper & Dataset
If you are building with SEA-LION, we want to hear from you! Join our community and let’s shape the future of Southeast Asian AI together. sealion@aisingapore.org