LLaMA 2 implemented from scratch in PyTorch
☆384Sep 25, 2023Updated 3 years ago
Alternatives and similar repositories for pytorch-llama
Users that are interested in pytorch-llama are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Attention is all you need implementation☆1,331Jun 8, 2024Updated 2 years ago
- LORA: Low-Rank Adaptation of Large Language Models implemented using PyTorch☆129Jul 24, 2023Updated 3 years ago
- Stable Diffusion implemented from scratch in PyTorch☆1,086Oct 22, 2024Updated 2 years ago
- Notes and commented code for RLHF (PPO)☆139Feb 27, 2024Updated 2 years ago
- Reference implementation of Mistral AI 7B v0.1 model.☆30Dec 25, 2023Updated 2 years ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Coding a Multimodal (Vision) Language Model from scratch in PyTorch with full explanation: https://www.youtube.com/watch?v=vAmKB7iPkWw☆638Dec 6, 2024Updated last year
- Notes about LLaMA 2 model☆77Aug 30, 2023Updated 3 years ago
- BERT explained from scratch☆20Oct 26, 2023Updated 3 years ago
- Slides for "Retrieval Augmented Generation" video☆28Nov 27, 2023Updated 2 years ago
- ☆277Jan 2, 2025Updated last year
- Slides for "Segment Anything" video☆12Aug 14, 2023Updated 3 years ago
- Notes on Direct Preference Optimization☆29Apr 14, 2024Updated 2 years ago
- Notes about "Attention is all you need" video (https://www.youtube.com/watch?v=bCz4OMemCcA)☆395May 28, 2023Updated 3 years ago
- Distributed training (multi-node) of a Transformer model☆105Apr 10, 2024Updated 2 years ago
- Serverless GPU API endpoints on Runpod - Get Bonus Credits • AdSkip the infrastructure headaches. Auto-scaling, pay-as-you-go, no-ops approach lets you focus on innovating your application.
- This repository contains an implementation of the LLaMA 2 (Large Language Model Meta AI) model, a Generative Pretrained Transformer (GPT)…☆73Oct 1, 2023Updated 3 years ago
- Notes on quantization in neural networks☆138Dec 14, 2023Updated 2 years ago
- ML algorithms implementations that are good for learning the underlying principles☆28Dec 7, 2024Updated last year
- Claude Code agent skills for writing optimized Triton GPU kernels☆15Mar 6, 2026Updated 8 months ago
- Complete implementation of Llama2 with/without KV cache & inference 🚀☆49May 24, 2024Updated 2 years ago
- Performance of the C++ interface of flash attention and flash attention v2 in large language model (LLM) inference scenarios.☆15Aug 31, 2023Updated 3 years ago
- Notes on the Mamba and the S4 model (Mamba: Linear-Time Sequence Modeling with Selective State Spaces)☆188Jan 7, 2024Updated 2 years ago
- A set of of fundamental operations and deep learning models using JAX☆15Mar 12, 2021Updated 5 years ago
- Implementation of the paper "Denoising Diffusion Probabilistic Models" in PyTorch☆71Jul 4, 2023Updated 3 years ago
- Open source password manager - Proton Pass • AdSecurely store, share, and autofill your credentials with Proton Pass, the end-to-end encrypted password manager trusted by millions.
- Evaluating Durability: Benchmark Insights into Multimodal Watermarking☆12Jun 7, 2024Updated 2 years ago
- Official implementation of "MoDoMoDo: Multi-Domain Data Mixtures for Multimodal LLM Reinforcement Learning"☆11Aug 23, 2025Updated last year
- llama3 implementation one matrix multiplication at a time☆15,198May 23, 2024Updated 2 years ago
- ☆12May 19, 2024Updated 2 years ago
- ☆15Jun 11, 2025Updated last year
- Inference Llama 2 in one file of pure C☆20,253Aug 6, 2024Updated 2 years ago
- Flash Attention in ~100 lines of CUDA (forward pass only)☆1,203Dec 30, 2024Updated last year
- Notes on the Mistral AI model☆23Dec 27, 2023Updated 2 years ago
- This is the official repository for Vista dataset - A Vietnamese multimodal dataset contains more than 700,000 samples of conversations a…☆26May 14, 2024Updated 2 years ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- ☆11Oct 29, 2026Updated last week
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,269Aug 22, 2025Updated last year
- Solutions for Stanford CS224n, Winter 2020.☆11Jun 5, 2021Updated 5 years ago
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,746Nov 1, 2026Updated last week
- A simple implementation of Llama 1, 2. Llama Architecture built from scratch using PyTorch all the models are built from scratch that inc…☆14May 6, 2024Updated 2 years ago
- Building a Machine Learning Library from scratch using Python3, based on SOTA library Scikit-learn☆15Jan 20, 2023Updated 3 years ago
- tutorial for training a BPE tokenizer on multiple GPUs☆13May 5, 2025Updated last year
Are these results useful?