jsbaan / transformer-from-scratchLinks
Well documented, unit tested, type checked and formatted implementation of a vanilla transformer - for educational purposes.
☆262Updated last year
Alternatives and similar repositories for transformer-from-scratch
Users that are interested in transformer-from-scratch are comparing it to the libraries listed below
Sorting:
- Tutorial for how to build BERT from scratch☆99Updated last year
- LORA: Low-Rank Adaptation of Large Language Models implemented using PyTorch☆116Updated 2 years ago
- LLaMA 2 implemented from scratch in PyTorch☆353Updated 2 years ago
- Llama from scratch, or How to implement a paper without crying☆580Updated last year
- Annotated version of the Mamba paper☆490Updated last year
- Notes about "Attention is all you need" video (https://www.youtube.com/watch?v=bCz4OMemCcA)☆315Updated 2 years ago
- A Simplified PyTorch Implementation of Vision Transformer (ViT)☆211Updated last year
- A set of scripts and notebooks on LLM finetunning and dataset creation☆110Updated last year
- LoRA and DoRA from Scratch Implementations☆211Updated last year
- NeurIPS Large Language Model Efficiency Challenge: 1 LLM + 1GPU + 1Day☆256Updated last year
- I will build Transformer from scratch☆82Updated 2 months ago
- MinT: Minimal Transformer Library and Tutorials☆258Updated 3 years ago
- Annotations of the interesting ML papers I read☆258Updated last week
- An extension of the nanoGPT repository for training small MOE models.☆196Updated 6 months ago
- Code implementation from my blog post: https://fkodom.substack.com/p/transformers-from-scratch-in-pytorch☆95Updated 2 years ago
- LLM Workshop by Sourab Mangrulkar☆395Updated last year
- Documented and Unit Tested educational Deep Learning framework with Autograd from scratch.☆121Updated last year
- ☆186Updated last year
- Starter pack for NeurIPS LLM Efficiency Challenge 2023.☆127Updated 2 years ago
- A walkthrough of transformer architecture code☆359Updated last year
- Code Transformer neural network components piece by piece☆364Updated 2 years ago
- ☆373Updated 9 months ago
- Advanced NLP, Spring 2025 https://cmu-l3.github.io/anlp-spring2025/☆66Updated 6 months ago
- Recreating PyTorch from scratch (C/C++, CUDA, NCCL and Python, with multi-GPU support and automatic differentiation!)☆159Updated last year
- An open collection of implementation tips, tricks and resources for training large language models☆481Updated 2 years ago
- ☆96Updated last year
- Distributed training (multi-node) of a Transformer model☆83Updated last year
- This repository contains an implementation of the LLaMA 2 (Large Language Model Meta AI) model, a Generative Pretrained Transformer (GPT)…☆72Updated 2 years ago
- Puzzles for exploring transformers☆370Updated 2 years ago
- ☆1,292Updated 7 months ago