Model Details
Model Description
The SEA-LION model is a significant leap forward in the field of Natural Language Processing,
specifically trained to understand the SEA regional context.
SEA-LION-v1-3B is built on the robust MPT architecture and has a vocabulary size of 256K.
For tokenization, the model employs our custom SEABPETokenizer, which is specially tailored for SEA languages, ensuring optimal model performance.
The training data for SEA-LION-v1-3B encompasses 980B tokens.
- Developed by: Products Pillar, AI Singapore
- Funded by: Singapore NRF
- Model type: Decoder
- Languages: English, Chinese, Indonesian, Malay, Thai, Vietnamese, Filipino, Tamil, Burmese, Khmer, Lao
- License: MIT License
SEA-LION-v1-3B has an average performance on general tasks in English (as measured by Hugging Face's LLM Leaderboard):
Table with columns: Model, ARC, HellaSwag, MMLU, TruthfulQA, Average| Model | ARC | HellaSwag | MMLU | TruthfulQA | Average |
|---|
| SEA-LION 3B | 36.26 | 64.59 | 24.07 | 36.46 | 40.35 |
Training Details
Data
SEA-LION-v1-3B was trained on 980B tokens of the following data:
Table with columns: Data Source, Unique Tokens, Multiplier, Total Tokens, Percentage| Data Source | Unique Tokens | Multiplier | Total Tokens | Percentage |
|---|
| RefinedWeb - English | 571.3B | 1 | 571.3B | 58.20% |
| mC4 - Chinese | 91.2B | 1 | 91.2B | 9.29% |
| mC4 - Indonesian | 3.68B | 4 | 14.7B | 1.50% |
Infrastructure
SEA-LION-v1-3B was trained using MosaicML Composer
on the following hardware:
Table with columns: Training Details, SEA-LION-v1-3B| Training Details | SEA-LION-v1-3B |
|---|
| AWS EC2 p4d.24xlarge | 30 instances |
| Nvidia A100 40GB GPU | 240 |
| Training Duration | 14 days |
Configuration
Table with columns: HyperParameter, SEA-LION-v1-3B| HyperParameter | SEA-LION-v1-3B |
|---|
| Precision | bfloat16 |
| Optimizer | decoupled_adamw |
| Scheduler | cosine_with_warmup |
| Learning Rate | 1.6e-4 |
| Global Batch Size | 1200 |
| Micro Batch Size | 5 |
Technical Specifications
Model Architecture and Objective
SEA-LION-v1-3B is a decoder model using the MPT architecture.
Table with columns: Parameter, SEA-LION-v1-3B| Parameter | SEA-LION-v1-3B |
|---|
| Layers | 32 |
| d_model | 2560 |
| head_dim | 20 |
| Vocabulary | 256000 |
| Sequence Length | 2048 |
Tokenizer Details
We sample 20M lines from the training data to train the tokenizer.
The framework for training is SentencePiece.
The tokenizer type is Byte-Pair Encoding (BPE).
The Team
Lam Wen Zhi Clarence
Leong Wei Qi
Li Yier
Liu Bing Jie Darius
Lovenia Holy
Montalan Jann Railey
Ng Boon Cheong Raymond
Ngui Jian Gang
Nguyen Thanh Ngan
Ong Tat-Wee David
Rengarajan Hamsawardhini
Susanto Yosephine
Tai Ngee Chia
Tan Choon Meng
Teo Jin Howe
Teo Eng Sipp Leslie
Teo Wei Yi
Tjhi William
Yeo Yeow Tong
Yong Xianbin
Acknowledgements
AI Singapore is a national programme supported by the National Research Foundation, Singapore and hosted by the National University of Singapore.
Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not reflect the views of National Research Foundation, Singapore.
For more info, please contact us using this SEA-LION Inquiry Form
Link to SEA-LION's GitHub repository
Disclaimer
This the repository for the base 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 claim, damages, or other liability
arising from the use of the released weights and codes.
References
Thai Pre-Training Data Reference
@misc{lowphansirikul2021wangchanberta, title={WangchanBERTa: Pretraining transformer-based Thai Language Models}, author={Lalita Lowphansirikul and Charin Polpanumas and Nawat Jantrakulchai and Sarana Nutanong}, year={2021}, eprint={2101.09635}, archivePrefix={arXiv}, primaryClass={cs.CL}}