Ask any question about EPFL courses, lectures, exercises, research, news, etc. or try the example questions below.
DISCLAIMER: The Graph Chatbot is not programmed to provide explicit or categorical answers to your questions. Rather, it transforms your questions into API requests that are distributed across the various IT services officially administered by EPFL. Its purpose is solely to collect and recommend relevant references to content that you can explore to help you answer your questions.
This library enables pre-training and fine-tuning of large language models (LLMs) at scale. Our repository is a modification of the original Megatron-LM codebase by Nvidia.
Added key features include:
architectures supported: Llama, Llama 2, Code Llama, Falcon and Mistral support training of large models (70B Llama 2, 65B Llama 1, 34B Code Llama, 40B Falcon and Mistral) on commodity hardware on multiple nodes 3-way parallelism: tensor parallel, pipeline parallel and data parallel training (inherited from Megatron) full pretraining, finetuning and instruct tuning support Support for special tokens & tokenizers grouped-query attention (GQA) and multi-query attention (MQA) Rotary Position Embeddings (RoPE), RMS layer norm, Lima dropout RoPE scaling for longer attention context support FlashAttention 2 BF16 / FP16 training WandB integration Metrics support: Ease to add custom metrics to evaluate on the validation set while training Conversion to and from Hugging Face hub