Safetensors
llama
orchid13 commited on
Commit
d383150
·
verified ·
1 Parent(s): aa1b130

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +178 -0
README.md ADDED
@@ -0,0 +1,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ - id
5
+ - jv
6
+ - su
7
+ license: llama3
8
+ base_model:
9
+ - aisingapore/llama3-8b-cpt-sea-lionv2.1-instruct
10
+ ---
11
+ # Llama3 8B CPT Sahabat AI v1
12
+
13
+ Sahabat AI v1 is a collection of Large Language Models (LLMs) which has been pretrained and instruct-tuned for Indonesian languages.
14
+ This is the card for the Llama3 8B CPT Sahabat AI v1 base model which has undergone continued pre-training from the base [AI Singapore-Llama-3-8B-Sea-Lion v2.1-Instruct](https://huggingface.co/aisingapore/llama3-8b-cpt-sea-lionv2.1-instruct) model.
15
+
16
+ Sahabat is Indonesian for "Close Friends"
17
+
18
+
19
+ ## Model Details
20
+
21
+ ### Model Description
22
+
23
+ The continued pre-training data for Llama3 8B CPT Sahabat AI v1 base model encompasses approximately 80B tokens.
24
+
25
+ - **Developed by:** PT GoTo Gojek Tokopedia Tbk, AI Singapore
26
+ - **Funded by:** PT GoTo Gojek Tokopedia Tbk, AI Singapore
27
+ - **Model type:** Decoder
28
+ - **Languages:** English, Indonesian, Javanese, Sundanese
29
+ - **License:** [Llama3 Community License](https://huggingface.co/meta-llama/Meta-Llama-3-8B/blob/main/LICENSE)
30
+
31
+ For tokenisation, the model employs the default tokenizer used in Llama-3-8B. The model has a context length of 8192.
32
+
33
+ ### Benchmark Performance
34
+ We evaluated Llama 8B CPT Sahabat AI v1 base model on general language capabilities.
35
+
36
+ #### General Language Capabilities
37
+ For the evaluation of general language capabilities, we employed the
38
+ - [SEA HELM (also known as BHASA) evaluation benchmark](https://arxiv.org/abs/2309.06085v2) across a variety of tasks.
39
+ - These tasks include Question Answering (QA), Sentiment Analysis (Sentiment), Toxicity Detection (Toxicity), Translation in both directions (Eng>Lang & Lang>Eng), Abstractive Summarization (Summ), Causal Reasoning (Causal) and Natural Language Inference (NLI).
40
+ - We also added support for Javanese and Sundanese for the BHASA tasks whenever applicable
41
+ - [IndoMMLU](https://arxiv.org/pdf/2310.04928)
42
+ - These tasks include examination questions on Humanities, Indonesian language, Local languages and cultures, Social science and STEM across primary, middle, and high school levels.
43
+ - and the well known [English MMLU](https://arxiv.org/pdf/2009.03300)
44
+
45
+ Note: SEA HELM is implemented using prompts to elicit answers in a strict format. For all tasks, the model is expected to provide an answer tag from which the answer is automatically extracted. For tasks where options are provided, the answer should comprise one of the pre-defined options. The scores for each task is normalised to account for baseline performance due to random chance.
46
+
47
+ The evaluation was done **five-shot** with native prompts on a sample of 100-1000 instances for each dataset.
48
+
49
+
50
+ ## Training Details
51
+
52
+ ### Data
53
+
54
+ Llama3 8B CPT Sahabat AI v1 base model was continued pre-trained on 50B tokens of the following data:
55
+
56
+
57
+ | Data Source | Unique Tokens (B) | Multiplier | Total Tokens (B) | Percentage (%)|
58
+ |---------------------------------------|:-----------------:|:----------:|:----------------:|:-------------:|
59
+ | Dolma Refined Web | 9.5 | 1 | 9.5 | 19.18 |
60
+ | Dolma arXiv | 0.6 | 1 | 0.6 | 1.20 |
61
+ | Dolma Star Coder | 5.5 | 1 | 5.5 | 11.1 |
62
+ | Dolma Semantic Scholar | 1.2 | 1 | 1.2 | 2.42 |
63
+ | Dolma Reddit | 1.7 | 1 | 1.7 | 3.43 |
64
+ | Dolma C4 | 1.5 | 1 | 1.4 | 2.82 |
65
+ | Wiki* + News* - Indonesian | 1.0 | 1 | 1.0 | 2.02 |
66
+ | SEA-LION Pile - Indonesian | 26.0 | 1 | 26.0 | 52.5 |
67
+ | SEA-LION Pile - Javanese | 0.5 | 1.5 | 0.75 | 1.51 |
68
+ | CC 100 - Javanese | 0.05 | 1.5 | 0.075 | 0.14 |
69
+ | HPLT - Javanese | 0.3 | 1.5 | 0.45 | 0.91 |
70
+ | SEA-LION Pile - Sundanese | 0.2 | 3.6 | 0.75 | 1.51 |
71
+ | CC 100 - Sundanese | 0.02 | 3.6 | 0.075 | 0.15 |
72
+ | HPLT - Sundanese | 0.16 | 3.6 | 0.45 | 0.91 |
73
+ | Others (Javanese, Sundanese) | 0.034 | 2.2 | 0.076 | 0.15 |
74
+
75
+
76
+ Note:
77
+ - All token counts are counted using Llama3 tokenizer
78
+ - Wiki* sources includes Wikipedia, Wiki Books, Wiki Source, Wiki Voyage and Fandom Wiki
79
+ - News* sources includes VOA, Global Voices
80
+
81
+ ### Infrastructure
82
+
83
+ Llama 8B CPT Sahabat AI v1 was trained using [MosaicML Composer](https://github.com/mosaicml/composer)
84
+ on the following hardware:
85
+
86
+ | Training Details | Llama3 8B CPT Sahabat AI v1 |
87
+ |----------------------|:----------------------------:|
88
+ | Nvidia H100 80GB GPU | 32 |
89
+ | Training Duration | 5 days |
90
+
91
+
92
+ ### Configuration
93
+
94
+ | HyperParameter | Llama3 8B CPT Sahabat AI v1 |
95
+ |-------------------|:----------------------------:|
96
+ | Precision | bfloat16 |
97
+ | Optimizer | decoupled_adamw |
98
+ | Scheduler | weight_stable_decay |
99
+ | Learning Rate | 1.0e-5 |
100
+ | Global Batch Size | 256 |
101
+ | Micro Batch Size | 1 |
102
+
103
+
104
+ ## The Team
105
+
106
+ Anissa Dininta<br>
107
+ Chan Adwin<br>
108
+ Chau Shiau Ching<br>
109
+ Cheng Nicholas<br>
110
+ Choa Esther<br>
111
+ Choiri Hendra Hadhil<br>
112
+ Goel Priyank<br>
113
+ Huang Yuli<br>
114
+ Lau Wayne<br>
115
+ Lee Chwan Ren<br>
116
+ Leong Wai Yi<br>
117
+ Leong Wei Qi<br>
118
+ Limkonchotiwat Peerat<br>
119
+ Liu Bing Jie Darius<br>
120
+ Montalan Jann Railey<br>
121
+ Ng Boon Cheong Raymond<br>
122
+ Ngui Jian Gang<br>
123
+ Nguyen Thanh Ngan<br>
124
+ Ong Brandon<br>
125
+ Ong Tat-Wee David<br>
126
+ Ong Zhi Hao<br>
127
+ Rengarajan Hamsawardhini<br>
128
+ Saini Ajay Kumar<br>
129
+ Shalev Ofir<br>
130
+ Siow Bryan<br>
131
+ Susanto Yosephine<br>
132
+ Tai Ngee Chia<br>
133
+ Tan Choon Meng<br>
134
+ Tan Daryl<br>
135
+ Teng Walter<br>
136
+ Teo Eng Sipp Leslie<br>
137
+ Teo Wei Yi<br>
138
+ Tep Kilian Rithi<br>
139
+ Tiwari Anupam<br>
140
+ Tjhi William<br>
141
+ Widjojo Daniel<br>
142
+ Yeo Yeow Tong<br>
143
+ Yong Xianbin<br>
144
+
145
+ <!--## Acknowledgements
146
+
147
+ AI Singapore is a national programme supported by the National Research Foundation, Singapore and hosted by the National University of Singapore.
148
+ 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. -->
149
+
150
+
151
+ ## Contact
152
+
153
+ For more info, please contact us using this [Sahabat Inquiry Form](https://docs.google.com/forms/d/1_us969eQtEooYOn4XkvGkdP5VHOyCbO6L_sd9kTMnaA/edit)
154
+
155
+
156
+ ## Disclaimer
157
+
158
+ This is the repository for the base model.
159
+ The model has _not_ been aligned for safety.
160
+ Developers and users should perform their own safety fine-tuning and related security measures.
161
+ 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.
162
+
163
+
164
+ ## References
165
+ ### IndoMMLU Reference
166
+
167
+ ```bibtex
168
+ @inproceedings{koto-etal-2023-indommlu,
169
+ title = "Large Language Models Only Pass Primary School Exams in {I}ndonesia: A Comprehensive Test on {I}ndo{MMLU}",
170
+ author = "Fajri Koto and Nurul Aisyah and Haonan Li and Timothy Baldwin",
171
+ booktitle = "Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing (EMNLP)",
172
+ month = December,
173
+ year = "2023",
174
+ address = "Singapore",
175
+ publisher = "Association for Computational Linguistics",
176
+ }
177
+ }
178
+ ```