lumaticai commited on
Commit
2609e24
1 Parent(s): 547d61c

Upload lumaticai_BongLlama-1.1B-Chat-alpha-v0_model_card.md

Browse files
lumaticai_BongLlama-1.1B-Chat-alpha-v0_model_card.md ADDED
@@ -0,0 +1,322 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+
3
+ ---
4
+
5
+
6
+
7
+
8
+
9
+
10
+ # Model Card for lumaticai/BongLlama-1.1B-Chat-alpha-v0
11
+
12
+ <!-- Provide a quick summary of what the model is/does. [Optional] -->
13
+ Bongllama is a sub-part of our company&#39;s initiative for developing Indic and Regional Large Language Models. We are LumaticAI continuously working on helping our clients build Custom AI Solutions for their organization.
14
+ We have taken an initiative to launch open source models specific to regions and languages.
15
+
16
+ Bongllama is a LLM built for West Bengal on Bengali dataset. It&#39;s a 1.1B parameters model. We have used a Bengali dataset of 10k data i.e lumatic-ai/BongChat-10k-v0 and finetuned on TinyLlama/TinyLlama-1.1B-Chat-v1.0 model to get our BongLlama 1.1B Chat Alpha v0 model.
17
+
18
+ We are continuously working on training and developing this model and improve it. We are also going to launch this model with various sizes of different LLM&#39;s and Datasets.
19
+
20
+
21
+
22
+
23
+ # Table of Contents
24
+
25
+ - [Model Card for lumaticai/BongLlama-1.1B-Chat-alpha-v0](#model-card-for--model_id-)
26
+ - [Table of Contents](#table-of-contents)
27
+ - [Table of Contents](#table-of-contents-1)
28
+ - [Model Details](#model-details)
29
+ - [Model Description](#model-description)
30
+ - [Uses](#uses)
31
+ - [Direct Use](#direct-use)
32
+ - [Downstream Use [Optional]](#downstream-use-optional)
33
+ - [Out-of-Scope Use](#out-of-scope-use)
34
+ - [Bias, Risks, and Limitations](#bias-risks-and-limitations)
35
+ - [Recommendations](#recommendations)
36
+ - [Training Details](#training-details)
37
+ - [Training Data](#training-data)
38
+ - [Training Procedure](#training-procedure)
39
+ - [Preprocessing](#preprocessing)
40
+ - [Speeds, Sizes, Times](#speeds-sizes-times)
41
+ - [Evaluation](#evaluation)
42
+ - [Testing Data, Factors & Metrics](#testing-data-factors--metrics)
43
+ - [Testing Data](#testing-data)
44
+ - [Factors](#factors)
45
+ - [Metrics](#metrics)
46
+ - [Results](#results)
47
+ - [Model Examination](#model-examination)
48
+ - [Environmental Impact](#environmental-impact)
49
+ - [Technical Specifications [optional]](#technical-specifications-optional)
50
+ - [Model Architecture and Objective](#model-architecture-and-objective)
51
+ - [Compute Infrastructure](#compute-infrastructure)
52
+ - [Hardware](#hardware)
53
+ - [Software](#software)
54
+ - [Citation](#citation)
55
+ - [Glossary [optional]](#glossary-optional)
56
+ - [More Information [optional]](#more-information-optional)
57
+ - [Model Card Authors [optional]](#model-card-authors-optional)
58
+ - [Model Card Contact](#model-card-contact)
59
+ - [How to Get Started with the Model](#how-to-get-started-with-the-model)
60
+
61
+
62
+ # Model Details
63
+
64
+ ## Model Description
65
+
66
+ <!-- Provide a longer summary of what this model is/does. -->
67
+ Bongllama is a sub-part of our company&#39;s initiative for developing Indic and Regional Large Language Models. We are LumaticAI continuously working on helping our clients build Custom AI Solutions for their organization.
68
+ We have taken an initiative to launch open source models specific to regions and languages.
69
+
70
+ Bongllama is a LLM built for West Bengal on Bengali dataset. It&#39;s a 1.1B parameters model. We have used a Bengali dataset of 10k data i.e lumatic-ai/BongChat-10k-v0 and finetuned on TinyLlama/TinyLlama-1.1B-Chat-v1.0 model to get our BongLlama 1.1B Chat Alpha v0 model.
71
+
72
+ We are continuously working on training and developing this model and improve it. We are also going to launch this model with various sizes of different LLM&#39;s and Datasets.
73
+
74
+ - **Developed by:** L, u, m, a, t, i, c, A, I
75
+ - **Shared by [Optional]:** L, u, m, a, t, i, c, A, I
76
+ - **Model type:** Language model
77
+ - **Language(s) (NLP):** en, bn
78
+ - **License:** apache-2.0
79
+ - **Parent Model:** More information needed
80
+ - **Resources for more information:** More information needed
81
+
82
+
83
+
84
+ # Uses
85
+
86
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
87
+
88
+ ## Direct Use
89
+
90
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
91
+ <!-- If the user enters content, print that. If not, but they enter a task in the list, use that. If neither, say "more info needed." -->
92
+
93
+ - base model for further finetuning
94
+ - get an overview of how indic LLM work on specific language
95
+ - for fun
96
+
97
+
98
+ ## Downstream Use [Optional]
99
+
100
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
101
+ <!-- If the user enters content, print that. If not, but they enter a task in the list, use that. If neither, say "more info needed." -->
102
+
103
+ - can be deployed with api
104
+ - used to create webapp or app to show demo
105
+
106
+
107
+ ## Out-of-Scope Use
108
+
109
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
110
+ <!-- If the user enters content, print that. If not, but they enter a task in the list, use that. If neither, say "more info needed." -->
111
+
112
+ - cannot be used for production purpose
113
+ - cannot be used to generate text for research or academic purposes
114
+
115
+
116
+ # Bias, Risks, and Limitations
117
+
118
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
119
+
120
+ Significant research has explored bias and fairness issues with language models (see, e.g., [Sheng et al. (2021)](https://aclanthology.org/2021.acl-long.330.pdf) and [Bender et al. (2021)](https://dl.acm.org/doi/pdf/10.1145/3442188.3445922)). Predictions generated by the model may include disturbing and harmful stereotypes across protected classes; identity characteristics; and sensitive, social, and occupational groups.
121
+
122
+
123
+ ## Recommendations
124
+
125
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
126
+
127
+
128
+
129
+
130
+
131
+ # Training Details
132
+
133
+ ## Training Data
134
+
135
+ <!-- This should link to a Data Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
136
+
137
+ &lt;|im_start|&gt;user এটি কি ইতিবাচক পর্যালোচনা? এই ফ্র্যাঞ্চাইজি কখনও হার্ট স্টপ স্টান্টস, ফাইট সিকোয়েন্স এবং তারকা শক্তি বন্ধ করে হতাশ করে না।এবার মূল চারটি ছাড়াও নতুন মুখগুলি হলেন আবুয়েলিতা চরিত্রে রিতা মোরেনো এবং দান্তে জেসন মোমোয়া যিনি শোটি চুরি করেছেন।&lt;|im_end|&gt; &lt;|im_start|&gt;assistant এটি একটি খুব ইতিবাচক পর্যালোচনা, এটি ইঙ্গিত করে যে ফ্র্যাঞ্চাইজি শ্রোতাদের জন্য আরও পছন্দসই চরিত্রগুলি যুক্ত করার পাশাপাশি অতীতের প্রত্যাশার ভিত্তিতে বিতরণ করেছে।&lt;|im_end|&gt;
138
+
139
+
140
+ ## Training Procedure
141
+
142
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
143
+
144
+ ### Preprocessing
145
+
146
+ - Dataset Format
147
+ &lt;|im_start|&gt;user &lt;question&gt;&lt;|im_end|&gt; &lt;|im_start|&gt;assistant &lt;response&gt;&lt;|im_end|&gt;
148
+
149
+ ### Speeds, Sizes, Times
150
+
151
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
152
+
153
+ ## Training hyperparameters
154
+
155
+ The following hyperparameters were used during training:
156
+ - learning_rate: 0.0002
157
+ - train_batch_size: 4
158
+ - eval_batch_size: 8
159
+ - seed: 42
160
+ - gradient_accumulation_steps: 2
161
+ - total_train_batch_size: 8
162
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
163
+ - lr_scheduler_type: cosine
164
+ - lr_scheduler_warmup_ratio: 0.03
165
+ - num_epochs: 3
166
+ - mixed_precision_training: Native AMP
167
+
168
+ ## Framework versions
169
+
170
+ - Transformers 4.35.2
171
+ - Pytorch 2.1.0+cu121
172
+ - Datasets 2.16.1
173
+ - Tokenizers 0.15.0
174
+
175
+ # Evaluation
176
+
177
+ <!-- This section describes the evaluation protocols and provides the results. -->
178
+
179
+ ## Testing Data, Factors & Metrics
180
+
181
+ ### Testing Data
182
+
183
+ <!-- This should link to a Data Card if possible. -->
184
+
185
+ More information needed
186
+
187
+
188
+ ### Factors
189
+
190
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
191
+
192
+ More information needed
193
+
194
+ ### Metrics
195
+
196
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
197
+
198
+ - train/loss
199
+ - steps
200
+
201
+ ## Results
202
+
203
+ ||\_runtime|\_timestamp|train/epoch|train/total\_flos|train/train\_loss|train/global\_step|train/train\_steps\_per\_second|train/loss|train/train\_samples\_per\_second|train/train\_runtime|\_step|train/learning\_rate|
204
+ |---|---|---|---|---|---|---|---|---|---|---|---|---|
205
+ |0|205\.76071906089783|1705483341\.4811552|0\.08|||100||1\.2865|||0|0\.0001869158878504673|
206
+ |1|406\.9242510795593|1705483542\.6446872|0\.17|||200||1\.0698|||1|0\.00019964245392895794|
207
+ |2|607\.5763952732086|1705483743\.2968314|0\.25|||300||1\.0457|||2|0\.00019846317589644678|
208
+ |3|808\.9941129684448|1705483944\.714549|0\.34|||400||1\.0131|||3|0\.00019646988832610704|
209
+ |4|1012\.7936038970947|1705484148\.51404|0\.42|||500||1\.0|||4|0\.00019367907001906532|
210
+ |5|1217\.8231673240662|1705484353\.5436034|0\.51|||600||0\.9913|||5|0\.0001901137930801933|
211
+ |6|1422\.651272058487|1705484558\.3717082|0\.59|||700||0\.9904|||6|0\.00018580353217762766|
212
+ |7|1624\.9901471138|1705484760\.7105832|0\.67|||800||0\.9705|||7|0\.0001807839208713596|
213
+ |8|1827\.1909170150757|1705484962\.911353|0\.76|||900||0\.9661|||8|0\.00017509645702535999|
214
+ |9|2033\.6470217704773|1705485169\.3674579|0\.84|||1000||0\.9588|||9|0\.00016878815973864268|
215
+ |10|2241\.5517098903656|1705485377\.272146|0\.93|||1100||0\.9469|||10|0\.00016191118063146672|
216
+ |11|2446\.751221895218|1705485582\.471658|1\.01|||1200||0\.9453|||11|0\.0001545223727002313|
217
+ |12|2648\.367230653763|1705485784\.0876667|1\.09|||1300||0\.9329|||12|0\.0001466828203054036|
218
+ |13|2849\.9791855812073|1705485985\.6996217|1\.18|||1400||0\.9299|||13|0\.0001384573341781387|
219
+ |14|3050\.282051086426|1705486186\.0024872|1\.26|||1500||0\.9181|||14|0\.00012991391562044527|
220
+ |15|3252\.6823406219482|1705486388\.4027767|1\.35|||1600||0\.917|||15|0\.00012112319432843371|
221
+ |16|3456\.3907039165497|1705486592\.11114|1\.43|||1700||0\.919|||16|0\.00011215784448624378|
222
+ |17|3658\.387463569641|1705486794\.1078997|1\.52|||1800||0\.9156|||17|0\.00010309198395788984|
223
+ |18|3860\.850716114044|1705486996\.5711522|1\.6|||1900||0\.9074|||18|9\.400056154399221e-05|
224
+ |19|4063\.906144142151|1705487199\.6265802|1\.68|||2000||0\.9072|||19|8\.49587373690336e-05|
225
+ |20|4266\.29203081131|1705487402\.012467|1\.77|||2100||0\.9061|||20|7\.604126152157019e-05|
226
+ |21|4468\.759161949158|1705487604\.479598|1\.85|||2200||0\.9104|||21|6\.732185608427e-05|
227
+ |22|4671\.109050750732|1705487806\.8294868|1\.94|||2300||0\.9016|||22|5\.8872605662626776e-05|
228
+ |23|4875\.181975841522|1705488010\.902412|2\.02|||2400||0\.8957|||23|5\.076336145093832e-05|
229
+ |24|5077\.5954213142395|1705488213\.3158574|2\.11|||2500||0\.8948|||24|4\.3061163762223156e-05|
230
+ |25|5280\.958572149277|1705488416\.6790082|2\.19|||2600||0\.8833|||25|3\.582968779610564e-05|
231
+ |26|5483\.901570320129|1705488619\.6220064|2\.27|||2700||0\.9019|||26|2\.912871722658781e-05|
232
+ |27|5684\.498034954071|1705488820\.218471|2\.36|||2800||0\.8921|||27|2\.30136499616351e-05|
233
+ |28|5885\.339627027512|1705489021\.0600631|2\.44|||2900||0\.8897|||28|1\.753504016053409e-05|
234
+ |29|6089\.49475812912|1705489225\.2151942|2\.53|||3000||0\.8765|||29|1\.2738180295232205e-05|
235
+ |30|6291\.281028032303|1705489427\.0014641|2\.61|||3100||0\.889|||30|8\.662726710819169e-06|
236
+ |31|6494\.627055644989|1705489630\.3474917|2\.69|||3200||0\.8846|||31|5\.342371780697386e-06|
237
+ |32|6695\.168158054352|1705489830\.8885942|2\.78|||3300||0\.8908|||32|2\.804565366782108e-06|
238
+ |33|6898\.186992406845|1705490033\.9074285|2\.86|||3400||0\.885|||33|1\.0702878874610523e-06|
239
+ |34|7099\.970013856888|1705490235\.69045|2\.95|||3500||0\.8871|||34|1\.5387686939386526e-07|
240
+ |35|7221\.330135822296|1705490357\.050572|3\.0|8\.3571998449877e+16|0\.9397975607756582|3561|0\.491||3\.926|7259\.0631|35||
241
+
242
+ # Model Examination
243
+
244
+ We will be further finetuning this model on large dataset to see how it performs
245
+
246
+ # Environmental Impact
247
+
248
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
249
+
250
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
251
+
252
+ - **Hardware Type:** 1 X Tesla T4
253
+ - **Hours used:** 2.21
254
+ - **Cloud Provider:** Google Colab
255
+ - **Compute Region:** India
256
+ - **Carbon Emitted:** 0.14
257
+
258
+ # Technical Specifications [optional]
259
+
260
+ ## Model Architecture and Objective
261
+
262
+ Finetuned on Tiny-Llama 1.1B Chat model
263
+
264
+ ## Compute Infrastructure
265
+
266
+ More information needed
267
+
268
+ ### Hardware
269
+
270
+ 1 X Tesla T4
271
+
272
+ ### Software
273
+
274
+ More information needed
275
+
276
+ # Citation
277
+
278
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
279
+
280
+ **BibTeX:**
281
+
282
+ More information needed
283
+
284
+ **APA:**
285
+
286
+ @misc{BongLlama-1.1B-Chat-alpha-v0,
287
+ url={[https://huggingface.co/lumatic-ai/BongLlama-1.1B-Chat-alpha-v0](https://huggingface.co/lumatic-ai/BongLlama-1.1B-Chat-alpha-v0)},
288
+ title={BongLlama 1.1B Chat Aplha V0},
289
+ author={LumaticAI, Rohan Shaw, Vivek Kushal, Jeet Ghosh},
290
+ year={2024}, month={Jan}
291
+ }
292
+
293
+ # Glossary [optional]
294
+
295
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
296
+
297
+ More information needed
298
+
299
+ # More Information [optional]
300
+
301
+ More information needed
302
+
303
+ # Model Card Authors [optional]
304
+
305
+ <!-- This section provides another layer of transparency and accountability. Whose views is this model card representing? How many voices were included in its construction? Etc. -->
306
+
307
+ lumatic-ai
308
+
309
+ # Model Card Contact
310
+
311
+ email : contact@lumaticai.com
312
+
313
+ # How to Get Started with the Model
314
+
315
+ Use the code below to get started with the model.
316
+
317
+ <details>
318
+ <summary> Click to expand </summary>
319
+
320
+ # ⚠️ Type of model unknown
321
+
322
+ </details>