Spaces:
Running
Running
metadata
title: README
emoji: 🐢
colorFrom: green
colorTo: yellow
sdk: static
pinned: false
BigScience Large Language Model Training
Training a multilingual 176 billion parameters model in the open
BigScience is a open and collaborative workshop around the study and creation of very large language models gathering more than 1000 researchers around the worlds. You can find more information on the main website at https://bigscience.huggingface.co.
The training of BigScience’s main model started on March 11, 2022 11:42am PST and will last 3-4 months on the 416 A100 GPUs of the Jean Zay public supercomputer
You can follow the training at https://twitter.com/BigScienceLLM
Summary of the model, dataset, hardware, training and environmental considerations:
The model
- 176B parameters decoder-only architecture (GPT-like)
- 70 layers - 112 attention heads per layers - hidden dimensionality of 14336 - 2048 tokens sequence length
- ALiBi positional embeddings - GeLU activation function
- More information:
The dataset
- Multilingual: 46 languages: Full list is here
- 341.6 billion tokens (1.5 TB of text data)
- Tokenizer vocabulary: 250 680 tokens
- More information:
The engineering side
- number of GPU used for the training: 384 A100 GPU with 80 Gb of memory each
- one copy of the model takes 48 GPUs (using 60 GB of memory on each GPU)
- checkpoint size: only the bf16 weights are 329GB, the full checkpoint with optimizer states is 2.3TB
- training throughput: about 150 TFLOPs
- estimated training time: 3-4 months depending on throughput and unexpected events
- More information:
- Blog post on the hardware/engineering side
- Details on the distributed setup used for the training
- Tensorboard updated during the training
- Details on the obstacles overcome during the preparation on the engineering side (instabilities, optimization of training throughput, so many technical tricks and questions)
Environmental considerations
- Jean Zay, the supercomputer we are using for model training, is mostly powered by nuclear energy, which is a low carbon energy source.
- Significant efforts were made to make sure that the computing infrastructure is as efficient as possible — the heat generated by the hardware even gets used for heating buildings on campus!
- More information:
- We are currently working on making a precise estimate of the carbon emitted during all of the steps of model training, including intermediate experiments as well as inference. More soon!