hkproj / pytorch-transformerView external linksLinks
Attention is all you need implementation
☆1,164Jun 8, 2024Updated last year
Alternatives and similar repositories for pytorch-transformer
Users that are interested in pytorch-transformer are comparing it to the libraries listed below
Sorting:
- LLaMA 2 implemented from scratch in PyTorch☆366Sep 25, 2023Updated 2 years ago
- Notes about "Attention is all you need" video (https://www.youtube.com/watch?v=bCz4OMemCcA)☆337May 28, 2023Updated 2 years ago
- LORA: Low-Rank Adaptation of Large Language Models implemented using PyTorch☆123Jul 24, 2023Updated 2 years ago
- Coding a Multimodal (Vision) Language Model from scratch in PyTorch with full explanation: https://www.youtube.com/watch?v=vAmKB7iPkWw☆592Dec 6, 2024Updated last year
- Distributed training (multi-node) of a Transformer model☆94Apr 10, 2024Updated last year
- Slides for "Retrieval Augmented Generation" video☆24Nov 27, 2023Updated 2 years ago
- ☆236Jan 2, 2025Updated last year
- Notes and commented code for RLHF (PPO)☆124Feb 27, 2024Updated last year
- Transformer: PyTorch Implementation of "Attention Is All You Need"☆4,431Jul 15, 2025Updated 6 months ago
- Reference implementation of Mistral AI 7B v0.1 model.☆28Dec 25, 2023Updated 2 years ago
- Notes on the Mistral AI model☆20Dec 27, 2023Updated 2 years ago
- Persistent dense gemm for Hopper in `CuTeDSL`☆15Aug 9, 2025Updated 6 months ago
- Tutorial for how to build BERT from scratch☆102May 22, 2024Updated last year
- Video+code lecture on building nanoGPT from scratch☆4,728Aug 13, 2024Updated last year
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆52,955Nov 12, 2025Updated 3 months ago
- ☆17Jan 3, 2025Updated last year
- Single File, Single GPU, From Scratch, Efficient, Full Parameter Tuning library for "RL for LLMs"☆593Oct 7, 2025Updated 4 months ago
- a minimal cache manager for PagedAttention, on top of llama3.☆135Aug 26, 2024Updated last year
- High Performance FP8 GEMM Kernels for SM89 and later GPUs.☆20Jan 24, 2025Updated last year
- ☆21Aug 14, 2024Updated last year
- Fast and memory-efficient exact attention☆22,231Updated this week
- Course to get into Large Language Models (LLMs) with roadmaps and Colab notebooks.☆74,834Feb 5, 2026Updated last week
- ☆4,525Jan 31, 2024Updated 2 years ago
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆14,598Aug 8, 2024Updated last year
- From scratch implementation of a vision language model in pure PyTorch☆253May 6, 2024Updated last year
- Official code repo for the O'Reilly Book - "Hands-On Large Language Models"☆20,671Dec 17, 2025Updated last month
- ☆18May 11, 2024Updated last year
- Material for gpu-mode lectures☆5,726Feb 1, 2026Updated last week
- This repository contains demos I made with the Transformers library by HuggingFace.☆11,494Jan 13, 2026Updated last month
- GPU Kernels☆220Apr 27, 2025Updated 9 months ago
- 100 days of building GPU kernels!☆569Apr 27, 2025Updated 9 months ago
- LLM101n: Let's build a Storyteller☆36,281Aug 1, 2024Updated last year
- ☆15Jan 21, 2026Updated 3 weeks ago
- Repo for the paper "Landscape Surrogate Learning Decision Losses for Mathematical Optimization Under Partial Information"☆38Jul 20, 2023Updated 2 years ago
- 🧑🏫 60+ Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, fee…☆65,681Jan 22, 2026Updated 3 weeks ago
- This repo implements Denoising Diffusion Probabilistic Models (DDPM) in Pytorch☆169Nov 25, 2024Updated last year
- Code release for "Stochastic Optimal Control Matching"☆39Aug 14, 2024Updated last year
- Minimal reproduction of DeepSeek R1-Zero☆12,715Apr 24, 2025Updated 9 months ago
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆10,309Jul 1, 2024Updated last year