jsbaan / transformer-from-scratchLinks
Well documented, unit tested, type checked and formatted implementation of a vanilla transformer - for educational purposes.
☆265Updated 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 2 implemented from scratch in PyTorch☆358Updated 2 years ago
- Annotated version of the Mamba paper☆489Updated last year
- Llama from scratch, or How to implement a paper without crying☆579Updated last year
- A Simplified PyTorch Implementation of Vision Transformer (ViT)☆216Updated last year
- Tutorial for how to build BERT from scratch☆99Updated last year
- Annotations of the interesting ML papers I read☆261Updated 2 weeks ago
- LORA: Low-Rank Adaptation of Large Language Models implemented using PyTorch☆117Updated 2 years ago
- I will build Transformer from scratch☆84Updated 3 months ago
- Implements Low-Rank Adaptation(LoRA) Finetuning from scratch☆81Updated 2 years ago
- Notes about "Attention is all you need" video (https://www.youtube.com/watch?v=bCz4OMemCcA)☆318Updated 2 years ago
- Code implementation from my blog post: https://fkodom.substack.com/p/transformers-from-scratch-in-pytorch☆95Updated 2 years ago
- ☆188Updated last year
- Recreating PyTorch from scratch (C/C++, CUDA, NCCL and Python, with multi-GPU support and automatic differentiation!)☆160Updated last year
- https://slds-lmu.github.io/seminar_multimodal_dl/☆171Updated 2 years ago
- Puzzles for exploring transformers☆373Updated 2 years ago
- An extension of the nanoGPT repository for training small MOE models.☆202Updated 7 months ago
- MinT: Minimal Transformer Library and Tutorials☆258Updated 3 years ago
- ☆98Updated last year
- Documented and Unit Tested educational Deep Learning framework with Autograd from scratch.☆122Updated last year
- LoRA and DoRA from Scratch Implementations☆211Updated last year
- Code Transformer neural network components piece by piece☆365Updated 2 years ago
- NeurIPS Large Language Model Efficiency Challenge: 1 LLM + 1GPU + 1Day☆256Updated 2 years ago
- What would you do with 1000 H100s...☆1,118Updated last year
- This repository contains an overview of important follow-up works based on the original Vision Transformer (ViT) by Google.☆184Updated 3 years ago
- ☆456Updated last year
- Project 2 (Building Large Language Models) for Stanford CS324: Understanding and Developing Large Language Models (Winter 2022)☆105Updated 2 years ago
- A set of scripts and notebooks on LLM finetunning and dataset creation☆110Updated last year
- Slides, notes, and materials for the workshop☆333Updated last year
- Fast bare-bones BPE for modern tokenizer training☆167Updated 4 months ago
- An open collection of implementation tips, tricks and resources for training large language models☆482Updated 2 years ago