Niccolo-Ajroldi / plainLM
Minimal pretraining script for language modeling in PyTorch. Supporting torch compilation and DDP. It includes a model implementation and a data preprocessing.
☆12Updated last week
Alternatives and similar repositories for plainLM:
Users that are interested in plainLM are comparing it to the libraries listed below
- Latest Weight Averaging (NeurIPS HITY 2022)☆30Updated last year
- ☆52Updated 6 months ago
- Triton Implementation of HyperAttention Algorithm☆47Updated last year
- ☆33Updated 7 months ago
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆37Updated last year
- Using FlexAttention to compute attention with different masking patterns☆43Updated 7 months ago
- The official code of "Building on Efficient Foundations: Effectively Training LLMs with Structured Feedforward Layers"☆19Updated 9 months ago
- Official code for the paper "Attention as a Hypernetwork"☆28Updated 10 months ago
- ☆46Updated last year
- Experiment of using Tangent to autodiff triton☆78Updated last year
- ☆29Updated 11 months ago
- nanoGPT-like codebase for LLM training☆94Updated 3 weeks ago
- Revisiting Efficient Training Algorithms For Transformer-based Language Models (NeurIPS 2023)☆80Updated last year
- [Oral; Neurips OPT2024 ] μLO: Compute-Efficient Meta-Generalization of Learned Optimizers☆12Updated last month
- Demo of the unit_scaling library, showing how a model can be easily adapted to train in FP8.☆45Updated 9 months ago
- Code for "Accelerating Training with Neuron Interaction and Nowcasting Networks" [to appear at ICLR 2025]☆18Updated last month
- Parallel Associative Scan for Language Models☆18Updated last year
- JORA: JAX Tensor-Parallel LoRA Library (ACL 2024)☆33Updated last year
- ☆29Updated 2 years ago
- ☆31Updated last year
- Why Do We Need Weight Decay in Modern Deep Learning? [NeurIPS 2024]☆65Updated 7 months ago
- Unofficial but Efficient Implementation of "Mamba: Linear-Time Sequence Modeling with Selective State Spaces" in JAX☆83Updated last year
- Efficient PScan implementation in PyTorch☆16Updated last year
- This repo is based on https://github.com/jiaweizzhao/GaLore☆26Updated 7 months ago
- ☆31Updated last year
- ☆78Updated 9 months ago
- Engineering the state of RNN language models (Mamba, RWKV, etc.)☆32Updated 11 months ago
- Replicating and dissecting the git-re-basin project in one-click-replication Colabs☆36Updated 2 years ago
- Minimum Description Length probing for neural network representations☆19Updated 2 months ago
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆71Updated 5 months ago