jsbaan / transformer-from-scratchLinks
Well documented, unit tested, type checked and formatted implementation of a vanilla transformer - for educational purposes.
☆271Updated 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:
- Llama from scratch, or How to implement a paper without crying☆581Updated last year
- LLaMA 2 implemented from scratch in PyTorch☆361Updated 2 years ago
- Tutorial for how to build BERT from scratch☆100Updated last year
- I will build Transformer from scratch☆86Updated 4 months ago
- LORA: Low-Rank Adaptation of Large Language Models implemented using PyTorch☆117Updated 2 years ago
- A Simplified PyTorch Implementation of Vision Transformer (ViT)☆223Updated last year
- Annotated version of the Mamba paper☆491Updated last year
- Annotations of the interesting ML papers I read☆266Updated last month
- Recreating PyTorch from scratch (C/C++, CUDA, NCCL and Python, with multi-GPU support and automatic differentiation!)☆161Updated last week
- Distributed training (multi-node) of a Transformer model☆88Updated last year
- An extension of the nanoGPT repository for training small MOE models.☆215Updated 8 months ago
- Implements Low-Rank Adaptation(LoRA) Finetuning from scratch☆82Updated 2 years ago
- Attention Is All You Need | a PyTorch Tutorial to Transformers☆357Updated last year
- Puzzles for exploring transformers☆380Updated 2 years ago
- Code Transformer neural network components piece by piece☆369Updated 2 years ago
- ☆188Updated last year
- MinT: Minimal Transformer Library and Tutorials☆259Updated 3 years ago
- This repository contains an implementation of the LLaMA 2 (Large Language Model Meta AI) model, a Generative Pretrained Transformer (GPT)…☆74Updated 2 years ago
- Original transformer paper: Implementation of Vaswani, Ashish, et al. "Attention is all you need." Advances in neural information process…☆241Updated last year
- Code implementation from my blog post: https://fkodom.substack.com/p/transformers-from-scratch-in-pytorch☆95Updated 2 years ago
- LoRA and DoRA from Scratch Implementations☆215Updated last year
- NeurIPS Large Language Model Efficiency Challenge: 1 LLM + 1GPU + 1Day☆258Updated 2 years ago
- Notes on quantization in neural networks☆111Updated last year
- Slides, notes, and materials for the workshop☆335Updated last year
- ☆81Updated last year
- GPU Kernels☆209Updated 7 months ago
- Personal short implementations of Machine Learning papers☆249Updated last year
- A set of scripts and notebooks on LLM finetunning and dataset creation☆112Updated last year
- ☆177Updated last year
- Documented and Unit Tested educational Deep Learning framework with Autograd from scratch.☆122Updated last year