SAnocha commited on
Commit
62ce116
·
verified ·
1 Parent(s): 625a876

Update README

Browse files
Files changed (1) hide show
  1. README.md +58 -50
README.md CHANGED
@@ -21,22 +21,19 @@ license: gemma
21
  base_model_relation: finetune
22
 
23
  ---
24
- *Gemma-SEA-LION-v4-27B-IT (IT Model) Last updated: 2025-08-18*
25
 
26
  ---
27
 
28
  # Model Card for Gemma-SEA-LION-v4-27B-IT
29
 
30
  <!-- Provide a quick summary of what the model is/does. -->
31
- Last updated: 2025-08-19
 
32
 
33
  **SEA-LION** is a collection of Large Language Models (LLMs) which have been pretrained and instruct-tuned
34
  for the Southeast Asia (SEA) region.
35
 
36
- Gemma-SEA-LION-v4-27B-IT is a multilingual model which has undergone continued pre-training on
37
- approximately **500B** tokens across 11 SEA languages: Bahasa Indonesia, Burmese, Chinese, English,
38
- Khmer, Lao, Malay, Tagalog, Tamil, Thai and Vietnamese.
39
-
40
 
41
  ## Model Details
42
 
@@ -46,8 +43,13 @@ Khmer, Lao, Malay, Tagalog, Tamil, Thai and Vietnamese.
46
 
47
  SEA-LION stands for *Southeast Asian Languages In One Network*.
48
 
49
- We performed continued pre-training in English and SEA languages on Gemma 3 27B IT,
50
- a decoder model using the Gemma 3 architecture, to create Gemma-SEA-LION-v4-27B-IT.
 
 
 
 
 
51
 
52
  For tokenization, the model employs the default tokenizer used in Gemma 3 27B IT.
53
 
@@ -56,7 +58,7 @@ For tokenization, the model employs the default tokenizer used in Gemma 3 27B IT
56
  - **Funded by:** Singapore NRF
57
  - **Shared by:** Products Pillar, AI Singapore
58
  - **Model type:** Decoder
59
- - **Context length:** 128k
60
  - **Language(s) (NLP):** Bahasa Indonesia, Burmese, Chinese, English, Khmer, Lao, Malay, Tagalog, Tamil, Thai and Vietnamese
61
  - **License:** [Gemma Terms of Use](https://ai.google.dev/gemma/terms)
62
  - **Finetuned from model:** Gemma-SEA-LION-v4-27B
@@ -85,7 +87,7 @@ fine-tuning and related security measures. In no event shall the authors be held
85
 
86
  <!-- This section is meant to convey both technical and sociotechnical limitations. -->
87
 
88
- It is important for users to be aware that our model exhibits certain limitations that warrant consideration.
89
  Like many LLMs, the model can hallucinate and occasionally generates irrelevant content,
90
  introducing fictional elements that are not grounded in the provided context.
91
  Users should also exercise caution in interpreting and validating the model's responses
@@ -144,20 +146,6 @@ The dataset comprises Bahasa Indonesia, Burmese, Chinese, English, Khmer, Lao, M
144
  Thai and Vietnamese languages, collected from a mixture of sources including web data, code, open-source datasets,
145
  and synthetically generated datasets, amounting to a total of 500 billion tokens.
146
 
147
- Note:
148
-
149
- - All token counts are counted using Gemma 3 tokenizer.
150
-
151
- - Pre-training was conducted with batches of 8k token lengths.
152
-
153
- - SEA-Pile v1 is processed from Common Crawl WET, which is published [here](https://huggingface.co/datasets/aisingapore/sea-lion-pile).
154
- The main proportion is from mC4 dataset (corpus [link](https://huggingface.co/datasets/bertin-project/mc4-sampling)).
155
- The cutoff date of this version is September 2020.
156
-
157
- - SEA-Pile v2 is processed from Common Crawl WARC from October 2020 to April 2024.
158
-
159
- - Tamil news is sourced with permission from [Seithi](https://seithi.mediacorp.sg/)
160
-
161
 
162
  ### Training Procedure
163
 
@@ -174,7 +162,7 @@ Prompt sampling is guided by a gradient-based analysis process.
174
  Our post-training workflow consists of multiple stages: instruction fine-tuning,
175
  model merging, online RL for both instruction following and math using DRGPPO,
176
  and on-policy alignment via APO. For alignment, rejected-chosen pairs are generated
177
- from the target model, with the chosen responses obtained by rewriting and improving upon
178
  the *rejected* outputs.
179
  <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
180
 
@@ -189,58 +177,75 @@ the *rejected* outputs.
189
 
190
  <!-- This should link to a Dataset Card if possible. -->
191
 
192
- We evaluated Gemma-SEA-LION-v4-27B-IT on both general language capabilities and instruction-following capabilities.
193
 
194
  **Testing Data**
195
 
196
- General
197
 
198
- For the evaluation of general language capabilities, we employed the SEA-HELM evaluation benchmark
199
- across a variety of tasks. These tasks include Question Answering (QA), Sentiment Analysis (Sentiment),
200
- Toxicity Detection (Toxicity), Translation in both directions (Eng>Lang & Lang>Eng),
201
- Abstractive Summarisation (Abssum), Causal Reasoning (Causal), Natural Language Inference (NLI),
202
- and linguistic diagnostics (LINDSEA).
203
 
204
- Instruction-following
205
 
206
- We evaluated the models on instruction-following capabilities with two datasets,
207
- SEA-IFEval (based on IFEval) and SEA-MTBench (based on MT-Bench).
208
- The two datasets were originally in English, the linguists and native speakers
209
- in the team worked together to filter, localise and translate the datasets
210
- into the respective target languages to ensure that the examples remained reasonable,
211
- meaningful and natural.
212
 
213
 
214
  #### Factors
215
 
216
  <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
217
 
218
- For instruction-following tasks, our evaluations were organised based on each specific task.
 
 
 
 
219
 
220
- SEA-IFEval (more languages)
221
 
222
  SEA-IFEval evaluates a model's ability to adhere to constraints provided in the prompt,
223
- for example beginning a response with a specific word/phrase or answering with
224
- a certain number of sections. Additionally, accuracy is normalised by the proportion of responses
225
- in the correct language (if the model performs the task correctly but responds in the wrong language,
226
- it is judged to have failed the task).
227
 
228
  SEA-MTBench
229
 
230
- SEA-MTBench evaluates a model's ability to engage in multi-turn (2 turns) conversations and
231
- respond in ways that align with human needs. We use gpt-4-1106-preview as the judge model and
232
- compare against gpt-3.5-turbo-0125 as the baseline model. The metric used is the weighted win rate
233
- against the baseline model (i.e. average win rate across each category: Math, Reasoning, STEM, Humanities, Roleplay, Writing, Extraction).
234
 
235
 
236
  #### Metrics
237
 
238
  <!-- These are the evaluation metrics being used, ideally with a description of why. -->
239
 
240
- The evaluation was done **zero-shot** with native prompts on a sample of 100-1000 instances for each dataset.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
241
 
242
  ### Results
243
 
 
 
244
  For details on Gemma-SEA-LION-v4-27B-IT performance, please refer to the SEA-HELM leaderboard, [Leaderboard results on SEA-HELM](https://leaderboard.sea-lion.ai/).
245
 
246
 
@@ -268,6 +273,9 @@ The model has not been aligned for safety. Developers and users should perform t
268
  fine-tuning and related security measures. In no event shall the authors be held liable
269
  for any claims, damages, or other liabilities arising from the use of the released weights and codes.
270
 
 
 
 
271
  For more info, please contact us at sealion@aisingapore.org
272
 
273
 
 
21
  base_model_relation: finetune
22
 
23
  ---
24
+ *Gemma-SEA-LION-v4-27B-IT (IT Model) Last updated: 2025-08-20*
25
 
26
  ---
27
 
28
  # Model Card for Gemma-SEA-LION-v4-27B-IT
29
 
30
  <!-- Provide a quick summary of what the model is/does. -->
31
+
32
+ Last updated: 2025-08-20
33
 
34
  **SEA-LION** is a collection of Large Language Models (LLMs) which have been pretrained and instruct-tuned
35
  for the Southeast Asia (SEA) region.
36
 
 
 
 
 
37
 
38
  ## Model Details
39
 
 
43
 
44
  SEA-LION stands for *Southeast Asian Languages In One Network*.
45
 
46
+ Gemma-SEA-LION-v4-27B is based on Gemma 3 (which supports over 100 languages) and is a multilingual model
47
+ which has undergone continued pre-training on approximately **500B** tokens across 11 SEA languages:
48
+ Bahasa Indonesia, Burmese, Chinese, English, Khmer, Lao, Malay, Tagalog, Tamil, Thai and Vietnamese.
49
+
50
+ We continued post-training on Gemma-SEA-LION-v4-27B using a QA pairs dataset in
51
+ Bahasa Indonesia, Burmese, Chinese, English, Khmer, Lao, Malay, Tagalog, Tamil, Thai, and Vietnamese
52
+ to create *Gemma-SEA-LION-v4-27B-IT*.
53
 
54
  For tokenization, the model employs the default tokenizer used in Gemma 3 27B IT.
55
 
 
58
  - **Funded by:** Singapore NRF
59
  - **Shared by:** Products Pillar, AI Singapore
60
  - **Model type:** Decoder
61
+ - **Context length:** 128k tokens
62
  - **Language(s) (NLP):** Bahasa Indonesia, Burmese, Chinese, English, Khmer, Lao, Malay, Tagalog, Tamil, Thai and Vietnamese
63
  - **License:** [Gemma Terms of Use](https://ai.google.dev/gemma/terms)
64
  - **Finetuned from model:** Gemma-SEA-LION-v4-27B
 
87
 
88
  <!-- This section is meant to convey both technical and sociotechnical limitations. -->
89
 
90
+ *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.
91
  Like many LLMs, the model can hallucinate and occasionally generates irrelevant content,
92
  introducing fictional elements that are not grounded in the provided context.
93
  Users should also exercise caution in interpreting and validating the model's responses
 
146
  Thai and Vietnamese languages, collected from a mixture of sources including web data, code, open-source datasets,
147
  and synthetically generated datasets, amounting to a total of 500 billion tokens.
148
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
149
 
150
  ### Training Procedure
151
 
 
162
  Our post-training workflow consists of multiple stages: instruction fine-tuning,
163
  model merging, online RL for both instruction following and math using DRGPPO,
164
  and on-policy alignment via APO. For alignment, rejected-chosen pairs are generated
165
+ from the target model, with the *chosen* responses obtained by rewriting and improving upon
166
  the *rejected* outputs.
167
  <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
168
 
 
177
 
178
  <!-- This should link to a Dataset Card if possible. -->
179
 
180
+ We evaluated Gemma-SEA-LION-v4-27B-IT on general language, multi-turn chat and instruction-following capabilities.
181
 
182
  **Testing Data**
183
 
184
+ General language capabilities
185
 
186
+ For the evaluation of general language capabilities, we employed the [SEA-HELM evaluation benchmark](https://arxiv.org/abs/2502.14301) across a variety of tasks.
187
+ These tasks include Question Answering (QA), Sentiment Analysis (Sentiment), Toxicity Detection (Toxicity), Translation in both directions (Eng>Lang & Lang>Eng),
188
+ Abstractive Summarisation (Abssum), Causal Reasoning (Causal), Natural Language Inference (NLI), Linguistic Diagnostics (LINDSEA), Cultural Knowledge (Kalahi)
189
+ and Global MMLU Lite.
 
190
 
191
+ Instruction-following and Multi-turn Chat
192
 
193
+ We evaluated the models on instruction-following and multi-turn chat capabilities with SEA-IFEval (based on [IFEval](https://arxiv.org/abs/2311.07911)) and SEA-MTBench (based on [MT-Bench](https://arxiv.org/abs/2306.05685)) respectively.
194
+ 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.
 
 
 
 
195
 
196
 
197
  #### Factors
198
 
199
  <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
200
 
201
+ 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.
202
+
203
+ 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.
204
+
205
+ The evaluation was done zero-shot with native prompts on a sample of 100-1000 instances for each dataset.
206
 
207
+ SEA-IFEval
208
 
209
  SEA-IFEval evaluates a model's ability to adhere to constraints provided in the prompt,
210
+ for example beginning a response with a specific word/phrase or answering with a certain number of sections.
211
+ Additionally, accuracy is normalised by the proportion of responses in the correct language
212
+ (if the model performs the task correctly but responds in the wrong language, it is judged to have failed the task).
 
213
 
214
  SEA-MTBench
215
 
216
+ SEA-MTBench evaluates a model's ability to engage in multi-turn (2 turns) conversations and respond in ways that align with human needs.
217
+ 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.
218
+ The metric used is the weighted win rate against the baseline model (i.e. average win rate across each category:
219
+ Math, Reasoning, STEM, Humanities, Roleplay, Writing, Extraction).
220
 
221
 
222
  #### Metrics
223
 
224
  <!-- These are the evaluation metrics being used, ideally with a description of why. -->
225
 
226
+ The following metrics were used:
227
+ | Task | Metric |
228
+ |--------------------------------------|----------------------------------------|
229
+ | Sentiment Analysis | Accuracy |
230
+ | Extractive QA (ID, VI, TH, TA) | ChrF++ |
231
+ | MCQ-QA (TL, MY, MS) | Accuracy |
232
+ | Metaphor | Accuracy |
233
+ | Abstractive Summarisation | Rouge-L |
234
+ | Translations | MetricX-24 score (with reference) |
235
+ | Causal Reasoning | Accuracy |
236
+ | Natural Language Inference | Accuracy |
237
+ | LINDSEA | Accuracy |
238
+ | Global MMLU Lite | Accuracy |
239
+ | Kalahi | Accuracy |
240
+ | SEA-IFEval | Accuracy |
241
+ | SEA-MTBench | Win rate against a reference |
242
+ | Toxicity Detection | Accuracy |
243
+
244
 
245
  ### Results
246
 
247
+ Coming soon!
248
+
249
  For details on Gemma-SEA-LION-v4-27B-IT performance, please refer to the SEA-HELM leaderboard, [Leaderboard results on SEA-HELM](https://leaderboard.sea-lion.ai/).
250
 
251
 
 
273
  fine-tuning and related security measures. In no event shall the authors be held liable
274
  for any claims, damages, or other liabilities arising from the use of the released weights and codes.
275
 
276
+ AI Singapore is a national programme supported by the National Research Foundation, Singapore and hosted by the National University of Singapore.
277
+ Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not reflect the views of the National Research Foundation or the National University of Singapore.
278
+
279
  For more info, please contact us at sealion@aisingapore.org
280
 
281