Text Generation
Transformers
Inference Endpoints
thanhnew2001 commited on
Commit
126ccab
1 Parent(s): 1c571e2

Upload 7 files

Browse files
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ vocabulary.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,556 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: bigscience-bloom-rail-1.0
3
+ language:
4
+ - ak
5
+ - ar
6
+ - as
7
+ - bm
8
+ - bn
9
+ - ca
10
+ - code
11
+ - en
12
+ - es
13
+ - eu
14
+ - fon
15
+ - fr
16
+ - gu
17
+ - hi
18
+ - id
19
+ - ig
20
+ - ki
21
+ - kn
22
+ - lg
23
+ - ln
24
+ - ml
25
+ - mr
26
+ - ne
27
+ - nso
28
+ - ny
29
+ - or
30
+ - pa
31
+ - pt
32
+ - rn
33
+ - rw
34
+ - sn
35
+ - st
36
+ - sw
37
+ - ta
38
+ - te
39
+ - tn
40
+ - ts
41
+ - tum
42
+ - tw
43
+ - ur
44
+ - vi
45
+ - wo
46
+ - xh
47
+ - yo
48
+ - zh
49
+ - zhs
50
+ - zht
51
+ - zu
52
+ pipeline_tag: text-generation
53
+ ---
54
+
55
+ <h1 style='text-align: center '>BLOOM LM</h1>
56
+ <h2 style='text-align: center '><em>BigScience Large Open-science Open-access Multilingual Language Model</em> </h2>
57
+ <h3 style='text-align: center '>Model Card</h3>
58
+ <img src="https://s3.amazonaws.com/moonup/production/uploads/1657124309515-5f17f0a0925b9863e28ad517.png" alt="BigScience Logo" width="800" style="margin-left:'auto' margin-right:'auto' display:'block'"/>
59
+
60
+
61
+ Version 1.0 / 26.May.2022
62
+
63
+ ## Table of Contents
64
+ 1. [Model Details](#model-details)
65
+ 2. [Uses](#uses)
66
+ 3. [Training Data](#training-data)
67
+ 4. [Risks and Limitations](#risks-and-limitations)
68
+ 5. [Evaluation](#evaluation)
69
+ 6. [Recommendations](#recommendations)
70
+ 7. [Glossary and Calculations](#glossary-and-calculations)
71
+ 8. [More Information](#more-information)
72
+ 9. [Model Card Authors](#model-card-authors)
73
+
74
+ ## Model Details
75
+
76
+ ### Basics
77
+ *This section provides information for anyone who wants to know about the model.*
78
+
79
+ <details>
80
+ <summary>Click to expand</summary> <br/>
81
+
82
+ **Developed by:** BigScience ([website](https://bigscience.huggingface.co))
83
+
84
+ * All collaborators are either volunteers or have an agreement with their employer. *(Further breakdown of participants forthcoming.)*
85
+
86
+ **Model Type:** Transformer-based Language Model
87
+
88
+ **Version:** 1.0.0
89
+
90
+ **Languages:** Multiple; see [training data](#training-data)
91
+
92
+ **License:** RAIL License v1.0 ([link](https://huggingface.co/spaces/bigscience/license))
93
+
94
+ **Release Date Estimate:** Monday, 11.July.2022
95
+
96
+ **Send Questions to:** bigscience-contact@googlegroups.com
97
+
98
+ **Cite as:** BigScience, _BigScience Language Open-science Open-access Multilingual (BLOOM) Language Model_. International, May 2021-May 2022
99
+
100
+ **Funded by:**
101
+
102
+ * The French government.
103
+
104
+ * Hugging Face ([website](https://huggingface.co)).
105
+
106
+ * Organizations of contributors. *(Further breakdown of organizations forthcoming.)*
107
+
108
+ </details>
109
+
110
+ ### Technical Specifications
111
+ *This section provides information for people who work on model development.*
112
+
113
+ <details>
114
+ <summary>Click to expand</summary><br/>
115
+
116
+ Please see [the BLOOM training README](https://github.com/bigscience-workshop/bigscience/tree/master/train/tr11-176B-ml#readme) for full details on replicating training.
117
+
118
+ **Model Architecture:** Modified from Megatron-LM GPT2 (see [paper](https://arxiv.org/abs/1909.08053), [BLOOM Megatron code](https://github.com/bigscience-workshop/Megatron-DeepSpeed)):
119
+
120
+ * Decoder-only architecture
121
+
122
+ * Layer normalization applied to word embeddings layer (`StableEmbedding`; see [code](https://github.com/facebookresearch/bitsandbytes), [paper](https://arxiv.org/pdf/2110.02861.pdf))
123
+
124
+ * ALiBI positional encodings (see [paper](https://arxiv.org/pdf/2108.12409.pdf)), with GeLU activation functions
125
+
126
+ * 7,069,016,064 parameters:
127
+
128
+ * 1,027,604,480 embedding parameters
129
+
130
+ * 30 layers, 32 attention heads
131
+
132
+ * Hidden layers are 4096-dimensional
133
+
134
+ * Sequence length of 2048 tokens used (see [BLOOM tokenizer](https://huggingface.co/bigscience/tokenizer), [tokenizer description](#tokenization))
135
+
136
+ **Objective Function:** Cross Entropy with mean reduction (see [API documentation](https://pytorch.org/docs/stable/generated/torch.nn.CrossEntropyLoss.html#torch.nn.CrossEntropyLoss)).
137
+
138
+ **Compute infrastructure:** Jean Zay Public Supercomputer, provided by the French government (see [announcement](https://www.enseignementsup-recherche.gouv.fr/fr/signature-du-marche-d-acquisition-de-l-un-des-supercalculateurs-les-plus-puissants-d-europe-46733)).
139
+
140
+ * Hardware: 384 A100 80GB GPUs (48 nodes):
141
+
142
+ * Additional 32 A100 80GB GPUs (4 nodes) in reserve
143
+
144
+ * 8 GPUs per node Using NVLink 4 inter-gpu connects, 4 OmniPath links
145
+
146
+ * CPU: AMD
147
+
148
+ * CPU memory: 512GB per node
149
+
150
+ * GPU memory: 640GB per node
151
+
152
+ * Inter-node connect: Omni-Path Architecture (OPA)
153
+
154
+ * NCCL-communications network: a fully dedicated subnet
155
+
156
+ * Disc IO network: shared network with other types of nodes
157
+
158
+ * Software:
159
+
160
+ * Megatron-DeepSpeed ([Github link](https://github.com/bigscience-workshop/Megatron-DeepSpeed))
161
+
162
+ * DeepSpeed ([Github link](https://github.com/microsoft/DeepSpeed))
163
+
164
+ * PyTorch (pytorch-1.11 w/ CUDA-11.5; see [Github link](https://github.com/pytorch/pytorch))
165
+
166
+ * apex ([Github link](https://github.com/NVIDIA/apex))
167
+
168
+
169
+ #### **Training**
170
+
171
+
172
+ Training logs: [Tensorboard link](https://huggingface.co/tensorboard/bigscience/tr11c-2B5-logs)
173
+
174
+ - Number of epochs: 1 (*current target*)
175
+
176
+ - Dates:
177
+
178
+ - Started 11th March, 2022 11:42am PST
179
+
180
+ - Ended 5th July, 2022
181
+
182
+ - Estimated cost of training: Equivalent of $2-5M in cloud computing (including preliminary experiments)
183
+
184
+ - Server training location: Île-de-France, France
185
+
186
+ #### **Tokenization**
187
+
188
+ The BLOOM tokenizer ([link](https://huggingface.co/bigscience/tokenizer)) is a learned subword tokenizer trained using:
189
+
190
+ - A byte-level Byte Pair Encoding (BPE) algorithm
191
+
192
+ - A simple pre-tokenization rule, no normalization
193
+
194
+ - A vocabulary size of 250,680
195
+
196
+ It was trained on a subset of a preliminary version of the corpus using alpha-weighting per language.
197
+
198
+ </details>
199
+
200
+
201
+ ### Environmental Impact
202
+
203
+ <details>
204
+ <summary>Click to expand</summary><br/>
205
+
206
+ The training supercomputer, Jean Zay ([website](http://www.idris.fr/eng/jean-zay/jean-zay-presentation-eng.html)), uses mostly nuclear energy. The heat generated by it is reused for heating campus housing.
207
+
208
+ **Estimated carbon emissions:** *(Forthcoming upon completion of training.)*
209
+
210
+ **Estimated electricity usage:** *(Forthcoming upon completion of training.)*
211
+
212
+
213
+ </details>
214
+ <p>&nbsp;</p>
215
+
216
+ ## Uses
217
+
218
+ *This section addresses questions around how the model is intended to be used, discusses the foreseeable users of the model (including those affected by the model), and describes uses that are considered out of scope or misuse of the model.
219
+ It provides information for anyone considering using the model or who is affected by the model.*
220
+
221
+
222
+ <details>
223
+ <summary>Click to expand</summary><br/>
224
+
225
+ ### Intended Use
226
+
227
+ This model is being created in order to enable public research on large language models (LLMs). LLMs are intended to be used for language generation or as a pretrained base model that can be further fine-tuned for specific tasks. Use cases below are not exhaustive.
228
+
229
+ #### **Direct Use**
230
+
231
+ - Text generation
232
+
233
+ - Exploring characteristics of language generated by a language model
234
+
235
+ - Examples: Cloze tests, counterfactuals, generations with reframings
236
+
237
+ #### **Downstream Use**
238
+
239
+ - Tasks that leverage language models include: Information Extraction, Question Answering, Summarization
240
+
241
+ ### Misuse and Out-of-scope Use
242
+ *This section addresses what users ought not do with the model.*
243
+
244
+ See the [BLOOM License](https://huggingface.co/spaces/bigscience/license), Attachment A, for detailed usage restrictions. The below list is non-exhaustive, but lists some easily foreseeable problematic use cases.
245
+
246
+ #### **Out-of-scope Uses**
247
+
248
+ Using the model in [high-stakes](#high-stakes) settings is out of scope for this model.  The model is not designed for [critical decisions](#critical-decisions) nor uses with any material consequences on an individual's livelihood or wellbeing. The model outputs content that appears factual but is not correct.
249
+
250
+ ##### Out-of-scope Uses Include:
251
+
252
+ - Usage in biomedical domains, political and legal domains, or finance domains
253
+
254
+ - Usage for evaluating or scoring individuals, such as for employment, education, or credit
255
+
256
+ - Applying the model for critical automatic decisions, generating factual content, creating reliable summaries, or generating predictions that must be correct
257
+
258
+ #### **Misuse**
259
+
260
+ Intentionally using the model for harm, violating [human rights](#human-rights), or other kinds of malicious activities, is a misuse of this model. This includes:
261
+
262
+ - Spam generation
263
+
264
+ - Disinformation and influence operations
265
+
266
+ - Disparagement and defamation
267
+
268
+ - Harassment and abuse
269
+
270
+ - [Deception](#deception)
271
+
272
+ - Unconsented impersonation and imitation
273
+
274
+ - Unconsented surveillance
275
+
276
+ - Generating content without attribution to the model, as specified in the [RAIL License, Use Restrictions](https://huggingface.co/spaces/bigscience/license)
277
+
278
+ ### Intended Users
279
+
280
+ #### **Direct Users**
281
+
282
+ - General Public
283
+
284
+ - Researchers
285
+
286
+ - Students
287
+
288
+ - Educators
289
+
290
+ - Engineers/developers
291
+
292
+ - Non-commercial entities
293
+
294
+ - Community advocates, including human and civil rights groups
295
+
296
+ #### Indirect Users
297
+
298
+ - Users of derivatives created by Direct Users, such as those using software with an [intended use](#intended-use)
299
+
300
+ - Users of [Derivatives of the Model, as described in the License](https://huggingface.co/spaces/bigscience/license)
301
+
302
+ #### Others Affected (Parties Prenantes)
303
+
304
+ - People and groups referred to by the LLM
305
+
306
+ - People and groups exposed to outputs of, or decisions based on, the LLM
307
+
308
+ - People and groups whose original work is included in the LLM
309
+
310
+ </details>
311
+ <p>&nbsp;</p>
312
+
313
+ ## Training Data
314
+ *This section provides a high-level overview of the training data. It is relevant for anyone who wants to know the basics of what the model is learning.*
315
+
316
+
317
+ <details>
318
+ <summary>Click to expand</summary><br/>
319
+
320
+ Details for each dataset are provided in individual [Data Cards](https://huggingface.co/spaces/bigscience/BigScienceCorpus).
321
+
322
+ Training data includes:
323
+
324
+ - 45 natural languages
325
+
326
+ - 12 programming languages
327
+
328
+ - In 1.5TB of pre-processed text, converted into 350B unique tokens (see [the tokenizer section](#tokenization) for more.)
329
+
330
+
331
+ #### **Languages**
332
+
333
+ The pie chart shows the distribution of languages in training data.
334
+
335
+ ![pie chart showing the distribution of languages in training data](https://github.com/bigscience-workshop/model_card/blob/main/assets/data/pie_chart.svg?raw=true)
336
+
337
+
338
+ The following table shows the further distribution of Niger-Congo and Indic languages in the training data.
339
+ <details>
340
+ <summary>Click to expand</summary><br/>
341
+
342
+ | Niger Congo | Percentage | | Indic | Percentage |
343
+ |----------------|------------ |------ |-----------|------------|
344
+ | Chi Tumbuka | 0.00002 | | Assamese | 0.01 |
345
+ | Kikuyu | 0.00004 | | Odia | 0.04 |
346
+ | Bambara | 0.00004 | | Gujarati | 0.04 |
347
+ | Akan | 0.00007 | | Marathi | 0.05 |
348
+ | Xitsonga | 0.00007 | | Punjabi | 0.05 |
349
+ | Sesotho | 0.00007 | | Kannada | 0.06 |
350
+ | Chi Chewa | 0.0001 | | Nepali | 0.07 |
351
+ | Setswana | 0.0002 | | Telugu | 0.09 |
352
+ | Northern Sotho | 0.0002 | | Malayalam | 0.10 |
353
+ | Fon | 0.0002 | | Urdu | 0.10 |
354
+ | Kirundi | 0.0003 | | Tamil | 0.20 |
355
+ | Wolof | 0.0004 | | Bengali | 0.50 |
356
+ | Kuganda | 0.0004 | | Hindi | 0.70 |
357
+ | Chi Shona | 0.001 |
358
+ | Isi Zulu | 0.001 |
359
+ | Igbo | 0.001 |
360
+ | Xhosa | 0.001 |
361
+ | Kinyarwanda | 0.003 |
362
+ | Yoruba | 0.006 |
363
+ | Swahili | 0.02 |
364
+ </details>
365
+
366
+ The following table shows the distribution of programming languages.
367
+ <details>
368
+ <summary>Click to expand</summary><br/>
369
+
370
+ | Extension | Language | Number of files |
371
+ |----------------|------------|-----------------|
372
+ | java | Java | 5,407,724 |
373
+ | php | PHP | 4,942,186 |
374
+ | cpp | C++ | 2,503,930 |
375
+ | py | Python | 2,435,072 |
376
+ | js | JavaScript | 1,905,518 |
377
+ | cs | C# | 1,577,347 |
378
+ | rb | Ruby | 6,78,413 |
379
+ | cc | C++ | 443,054 |
380
+ | hpp | C++ | 391,048 |
381
+ | lua | Lua | 352,317 |
382
+ | go | GO | 227,763 |
383
+ | ts | TypeScript | 195,254 |
384
+ | C | C | 134,537 |
385
+ | scala | Scala | 92,052 |
386
+ | hh | C++ | 67,161 |
387
+ | H | C++ | 55,899 |
388
+ | tsx | TypeScript | 33,107 |
389
+ | rs | Rust | 29,693 |
390
+ | phpt | PHP | 9,702 |
391
+ | c++ | C++ | 1,342 |
392
+ | h++ | C++ | 791 |
393
+ | php3 | PHP | 540 |
394
+ | phps | PHP | 270 |
395
+ | php5 | PHP | 166 |
396
+ | php4 | PHP | 29 |
397
+
398
+ </details>
399
+ </details>
400
+ <p>&nbsp;</p>
401
+
402
+ ## Risks and Limitations
403
+ *This section identifies foreseeable harms and misunderstandings.*
404
+
405
+ <details>
406
+ <summary>Click to expand</summary><br/>
407
+
408
+ Model may:
409
+
410
+ - Overrepresent some viewpoints and underrepresent others
411
+
412
+ - Contain stereotypes
413
+
414
+ - Contain [personal information](#personal-data-and-information)
415
+
416
+ - Generate:
417
+
418
+ - Hateful, abusive, or violent language
419
+
420
+ - Discriminatory or prejudicial language
421
+
422
+ - Content that may not be appropriate for all settings, including sexual content
423
+
424
+ - Make errors, including producing incorrect information as if it were factual
425
+
426
+ - Generate irrelevant or repetitive outputs
427
+ </details>
428
+ <p>&nbsp;</p>
429
+
430
+ ## Evaluation
431
+ *This section describes the evaluation protocols and provides the results.*
432
+
433
+ <details>
434
+ <summary>Click to expand</summary><br/>
435
+
436
+ ### Metrics
437
+ *This section describes the different ways performance is calculated and why.*
438
+
439
+ Includes:
440
+
441
+ | Metric | Why chosen |
442
+ |--------------------|--------------------------------------------------------------------|
443
+ | [Perplexity](#perplexity) | Standard metric for quantifying model improvements during training |
444
+ | Cross Entropy [Loss](#loss) | Standard objective for language models. |
445
+
446
+ And multiple different metrics for specific tasks. _(More evaluation metrics forthcoming upon completion of evaluation protocol.)_
447
+
448
+ ### Factors
449
+ *This section lists some different aspects of BLOOM models. Its focus is on those aspects that are likely to give rise to high variance in model behavior.*
450
+
451
+ - Language, such as English or Yoruba
452
+
453
+ - Domain, such as newswire or stories
454
+
455
+ - Demographic characteristics, such as gender or nationality
456
+
457
+ ### Results
458
+ *Results are based on the [Factors](#factors) and [Metrics](#metrics).*
459
+
460
+ **Train-time Evaluation:**
461
+
462
+ As of 25.May.2022, 15:00 PST:
463
+
464
+ - Training Loss: 2.3
465
+
466
+ - Validation Loss: 2.9
467
+
468
+ - Perplexity: 16
469
+
470
+ </details>
471
+ <p>&nbsp;</p>
472
+
473
+ ## Recommendations
474
+
475
+ *This section provides information on warnings and potential mitigations.*
476
+
477
+
478
+ <details>
479
+ <summary>Click to expand</summary><br/>
480
+
481
+ - Indirect users should be made aware when the content they're working with is created by the LLM.
482
+
483
+ - Users should be aware of [Risks and Limitations](#risks-and-limitations), and include an appropriate age disclaimer or blocking interface as necessary.
484
+
485
+ - Models pretrained with the LLM should include an updated Model Card.
486
+
487
+ - Users of the model should provide mechanisms for those affected to provide feedback, such as an email address for comments.
488
+
489
+ </details>
490
+ <p>&nbsp;</p>
491
+
492
+ ## Glossary and Calculations
493
+
494
+ *This section defines common terms and how metrics are calculated.*
495
+
496
+
497
+
498
+ <details>
499
+ <summary>Click to expand</summary><br/>
500
+
501
+ - <a name="loss">**Loss:**</a> A calculation of the difference between what the model has learned and what the data shows ("groundtruth"). The lower the loss, the better. The training process aims to minimize the loss.
502
+
503
+ - <a name="perplexity">**Perplexity:**</a> This is based on what the model estimates the probability of new data is. The lower the perplexity, the better. If the model is 100% correct at predicting the next token it will see, then the perplexity is 1. Mathematically this is calculated using entropy.
504
+
505
+ - <a name="high-stakes">**High-stakes settings:**</a> Such as those identified as "high-risk AI systems" and "unacceptable risk AI systems" in the European Union's proposed [Artificial Intelligence (AI) Act](https://artificialintelligenceact.eu/annexes/).
506
+
507
+ - <a name="critical-decisions">**Critical decisions:**</a> Such as those defined in [the United States' proposed Algorithmic Accountability Act](https://www.congress.gov/117/bills/s3572/BILLS-117s3572is.pdf).
508
+
509
+ - <a name="human-rights">**Human rights:**</a> Includes those rights defined in the [Universal Declaration of Human Rights](https://www.un.org/sites/un2.un.org/files/2021/03/udhr.pdf).
510
+
511
+ - <a name="personal-data-and-information">**Personal Data and Personal Information:**</a> Personal data and information is defined in multiple data protection regulations, such as "[personal data](https://gdpr-info.eu/issues/personal-data/)" in the [European Union's General Data Protection Regulation](https://gdpr-info.eu); and "personal information" in the Republic of South Africa's [Protection of Personal Information Act](https://www.gov.za/sites/default/files/gcis_document/201409/3706726-11act4of2013popi.pdf), The People's Republic of China's [Personal information protection law](http://en.npc.gov.cn.cdurl.cn/2021-12/29/c_694559.htm).
512
+
513
+ - <a name="sensitive-characteristics">**Sensitive characteristics:**</a> This includes specifically protected categories in human rights (see [UHDR, Article 2](https://www.un.org/sites/un2.un.org/files/2021/03/udhr.pdf)) and personal information regulation (see GDPR, [Article 9; Protection of Personal Information Act, Chapter 1](https://www.gov.za/sites/default/files/gcis_document/201409/3706726-11act4of2013popi.pdf))
514
+
515
+ - <a name="deception">**Deception:**</a> Doing something to intentionally mislead individuals to believe something that is false, such as by creating deadbots or chatbots on social media posing as real people, or generating text documents without making consumers aware that the text is machine generated.
516
+
517
+ </details>
518
+ <p>&nbsp;</p>
519
+
520
+ ## More Information
521
+
522
+ <details>
523
+ <summary>Click to expand</summary><br/>
524
+
525
+ ### Dataset Creation
526
+
527
+ Blog post detailing the design choices during the dataset creation: https://bigscience.huggingface.co/blog/building-a-tb-scale-multilingual-dataset-for-language-modeling
528
+
529
+ ### Technical Specifications
530
+
531
+ Blog post summarizing how the architecture, size, shape, and pre-training duration where selected: https://bigscience.huggingface.co/blog/what-language-model-to-train-if-you-have-two-million-gpu-hours
532
+
533
+ More details on the architecture/optimizer: https://github.com/bigscience-workshop/bigscience/tree/master/train/tr11-176B-ml
534
+
535
+ Blog post on the hardware/engineering side: https://bigscience.huggingface.co/blog/which-hardware-to-train-a-176b-parameters-model
536
+
537
+ Details on the distributed setup used for the training: https://github.com/bigscience-workshop/bigscience/tree/master/train/tr11-176B-ml
538
+
539
+ Tensorboard updated during the training: https://huggingface.co/bigscience/tr11-176B-ml-logs/tensorboard#scalars&tagFilter=loss
540
+
541
+ Insights on how to approach training, negative results: https://github.com/bigscience-workshop/bigscience/blob/master/train/lessons-learned.md
542
+
543
+ Details on the obstacles overcome during the preparation on the engineering side (instabilities, optimization of training throughput, so many technical tricks and questions): https://github.com/bigscience-workshop/bigscience/blob/master/train/tr11-176B-ml/chronicles.md
544
+
545
+ ### Initial Results
546
+
547
+ Initial prompting experiments using interim checkpoints: https://huggingface.co/spaces/bigscience/bloom-book
548
+
549
+ </details>
550
+ <p>&nbsp;</p>
551
+
552
+ ## Model Card Authors
553
+ *Ordered roughly chronologically and by amount of time spent.*
554
+
555
+ Margaret Mitchell, Giada Pistilli, Yacine Jernite, Ezinwanne Ozoani, Marissa Gerchick, Nazneen Rajani, Sasha Luccioni, Irene Solaiman, Maraim Masoud, Somaieh Nikpoor, Carlos Muñoz Ferrandis, Stas Bekman, Christopher Akiki, Danish Contractor, David Lansky, Angelina McMillan-Major, Tristan Thrush, Suzana Ilić, Gérard Dupont, Shayne Longpre, Manan Dey, Stella Biderman, Douwe Kiela, Emi Baylor, Teven Le Scao, Aaron Gokaslan, Julien Launay, Niklas Muennighoff
556
+
config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "eos_token": "</s>",
4
+ "layer_norm_epsilon": null,
5
+ "unk_token": "<unk>"
6
+ }
model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed3ea0c6a3e01006aab25ce9a31d284c5e2cb8b1f5eeec47030b81376acc5275
3
+ size 7076084780
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "pad_token": "<pad>"}
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3fa39cd4b1500feb205bcce3b9703a4373414cafe4970e0657b413f7ddd2a9d3
3
+ size 14500438
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "<unk>", "eos_token": "</s>", "bos_token": "<s>", "pad_token": "<pad>", "name_or_path": "bigscience/tokenizer", "special_tokens_map_file": null, "tokenizer_class": "BloomTokenizerFast", "padding_side":"left"}
vocabulary.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5183b456ff6e511094f8b17d4ae727109c9a8c407415c2b29dc425565331155c
3
+ size 11108196