jsbaan / transformer-from-scratchLinks
Well documented, unit tested, type checked and formatted implementation of a vanilla transformer - for educational purposes.
☆254Updated 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☆95Updated last year
- Llama from scratch, or How to implement a paper without crying☆571Updated last year
- A Simplified PyTorch Implementation of Vision Transformer (ViT)☆193Updated last year
- LORA: Low-Rank Adaptation of Large Language Models implemented using PyTorch☆110Updated last year
- LLaMA 2 implemented from scratch in PyTorch☆337Updated last year
- Annotations of the interesting ML papers I read☆243Updated last week
- Implementation of the first paper on word2vec☆231Updated 3 years ago
- Annotated version of the Mamba paper☆486Updated last year
- ☆181Updated last year
- I will build Transformer from scratch☆71Updated last year
- LLM Workshop by Sourab Mangrulkar☆387Updated last year
- A set of scripts and notebooks on LLM finetunning and dataset creation☆110Updated 9 months ago
- LoRA and DoRA from Scratch Implementations☆206Updated last year
- This repository contains an implementation of the LLaMA 2 (Large Language Model Meta AI) model, a Generative Pretrained Transformer (GPT)…☆68Updated last year
- ☆88Updated 9 months ago
- Original transformer paper: Implementation of Vaswani, Ashish, et al. "Attention is all you need." Advances in neural information process…☆238Updated last year
- Distributed training (multi-node) of a Transformer model☆72Updated last year
- Starter pack for NeurIPS LLM Efficiency Challenge 2023.☆125Updated last year
- An extension of the nanoGPT repository for training small MOE models.☆160Updated 4 months ago
- Fast bare-bones BPE for modern tokenizer training☆159Updated 3 weeks ago
- Notes about "Attention is all you need" video (https://www.youtube.com/watch?v=bCz4OMemCcA)☆293Updated 2 years ago
- NeurIPS Large Language Model Efficiency Challenge: 1 LLM + 1GPU + 1Day☆256Updated last year
- Documented and Unit Tested educational Deep Learning framework with Autograd from scratch.☆115Updated last year
- ☆316Updated 6 months ago
- Highly commented implementations of Transformers in PyTorch☆136Updated last year
- An open collection of implementation tips, tricks and resources for training large language models☆477Updated 2 years ago
- Puzzles for exploring transformers☆354Updated 2 years ago
- Code implementation from my blog post: https://fkodom.substack.com/p/transformers-from-scratch-in-pytorch☆94Updated last year
- Attention Is All You Need | a PyTorch Tutorial to Transformers☆322Updated last year
- Code Transformer neural network components piece by piece☆354Updated 2 years ago