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 month
Alternatives and similar repositories for plainLM
Users that are interested in plainLM are comparing it to the libraries listed below
Sorting:
- Latest Weight Averaging (NeurIPS HITY 2022)☆30Updated last year
- ☆53Updated 7 months ago
- nanoGPT-like codebase for LLM training☆94Updated last month
- Replicating and dissecting the git-re-basin project in one-click-replication Colabs☆36Updated 2 years ago
- Triton Implementation of HyperAttention Algorithm☆48Updated last year
- Using FlexAttention to compute attention with different masking patterns☆43Updated 7 months ago
- Train a SmolLM-style llm on fineweb-edu in JAX/Flax with an assortment of optimizers.☆17Updated 2 months ago
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆37Updated last year
- Experiment of using Tangent to autodiff triton☆78Updated last year
- Parallel Associative Scan for Language Models☆18Updated last year
- ☆31Updated last year
- Why Do We Need Weight Decay in Modern Deep Learning? [NeurIPS 2024]☆66Updated 7 months ago
- A place to store reusable transformer components of my own creation or found on the interwebs☆55Updated this week
- Revisiting Efficient Training Algorithms For Transformer-based Language Models (NeurIPS 2023)☆80Updated last year
- ☆31Updated last year
- This repo is based on https://github.com/jiaweizzhao/GaLore☆27Updated 7 months ago
- ☆52Updated 11 months ago
- HomebrewNLP in JAX flavour for maintable TPU-Training☆50Updated last year
- supporting pytorch FSDP for optimizers☆80Updated 5 months ago
- Yet another random morning idea to be quickly tried and architecture shared if it works; to allow the transformer to pause for any amount…☆53Updated last year
- Demo of the unit_scaling library, showing how a model can be easily adapted to train in FP8.☆45Updated 10 months ago
- Unofficial but Efficient Implementation of "Mamba: Linear-Time Sequence Modeling with Selective State Spaces" in JAX☆83Updated last year
- Code for "Accelerating Training with Neuron Interaction and Nowcasting Networks" [to appear at ICLR 2025]☆19Updated 2 months ago
- FID computation in Jax/Flax.☆27Updated 10 months ago
- CUDA implementation of autoregressive linear attention, with all the latest research findings☆44Updated last year
- ☆78Updated 8 months ago
- ☆18Updated last week
- A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.☆67Updated 9 months ago
- Utilities for Training Very Large Models☆58Updated 7 months ago
- Minimum Description Length probing for neural network representations☆19Updated 3 months ago