LLaMA 2 implemented from scratch in PyTorch
☆367Sep 25, 2023Updated 2 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,191Jun 8, 2024Updated last year
- Stable Diffusion implemented from scratch in PyTorch☆1,040Oct 22, 2024Updated last year
- LORA: Low-Rank Adaptation of Large Language Models implemented using PyTorch☆126Jul 24, 2023Updated 2 years ago
- Reference implementation of Mistral AI 7B v0.1 model.☆28Dec 25, 2023Updated 2 years ago
- Coding a Multimodal (Vision) Language Model from scratch in PyTorch with full explanation: https://www.youtube.com/watch?v=vAmKB7iPkWw☆598Dec 6, 2024Updated last year
- Simple, predictable pricing with DigitalOcean hosting • AdAlways know what you'll pay with monthly caps and flat pricing. Enterprise-grade infrastructure trusted by 600k+ customers.
- Notes and commented code for RLHF (PPO)☆126Feb 27, 2024Updated 2 years ago
- Notes about LLaMA 2 model☆73Aug 30, 2023Updated 2 years ago
- Notes about "Attention is all you need" video (https://www.youtube.com/watch?v=bCz4OMemCcA)☆346May 28, 2023Updated 2 years ago
- Slides for "Retrieval Augmented Generation" video☆25Nov 27, 2023Updated 2 years ago
- ☆242Jan 2, 2025Updated last year
- Notes on Direct Preference Optimization☆24Apr 14, 2024Updated last year
- BERT explained from scratch☆16Oct 26, 2023Updated 2 years ago
- Distributed training (multi-node) of a Transformer model☆94Apr 10, 2024Updated last year
- This repository contains an implementation of the LLaMA 2 (Large Language Model Meta AI) model, a Generative Pretrained Transformer (GPT)…☆74Oct 1, 2023Updated 2 years ago
- DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- Notes on quantization in neural networks☆121Dec 14, 2023Updated 2 years ago
- Evaluating Durability: Benchmark Insights into Multimodal Watermarking☆12Jun 7, 2024Updated last year
- ML algorithms implementations that are good for learning the underlying principles☆27Dec 7, 2024Updated last year
- [CHIL 2024] Interpretation of Intracardiac Electrograms Through Textual Representations☆12Sep 4, 2024Updated last year
- 在手写数字集MNIST上使用变分自动编码器作为encoder和decoder的ldm☆24May 23, 2024Updated last year
- ☆43Jan 3, 2025Updated last year
- Notes on the Mamba and the S4 model (Mamba: Linear-Time Sequence Modeling with Selective State Spaces)☆180Jan 7, 2024Updated 2 years ago
- Optimize GEMM with tensorcore step by step☆37Dec 17, 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 last year
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Template repo for Python projects, especially those focusing on machine learning and/or deep learning.☆15Jan 14, 2026Updated 2 months ago
- a simplified version of Meta's Llama 3 model to be used for learning☆44May 21, 2024Updated last year
- llama3 implementation one matrix multiplication at a time☆15,255May 23, 2024Updated last year
- Complete implementation of Llama2 with/without KV cache & inference 🚀☆49May 24, 2024Updated last year
- TaCo: Enhancing Cross-Lingual Transfer for Low-Resource Languages in LLMs through Translation-Assisted Chain-of-Thought Processes☆14Jul 1, 2025Updated 8 months ago
- Implementation of the paper "Denoising Diffusion Probabilistic Models" in PyTorch☆67Jul 4, 2023Updated 2 years ago
- 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 last year
- ☆19Mar 23, 2025Updated last year
- Ultra-minimal autoregressive diffusion model for image generation☆21Dec 26, 2025Updated 3 months ago
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Inference Llama 2 in one file of pure C☆12Nov 17, 2023Updated 2 years ago
- Inference Llama 2 in one file of pure C☆19,329Aug 6, 2024Updated last year
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,186Aug 22, 2025Updated 7 months ago
- Performance of the C++ interface of flash attention and flash attention v2 in large language model (LLM) inference scenarios.☆16Aug 31, 2023Updated 2 years ago
- GEMM by WMMA (tensor core)☆15Jul 31, 2022Updated 3 years ago
- Parallel Prefix Sum (Scan) with CUDA☆29Jun 22, 2024Updated last year
- ☆83Jun 23, 2025Updated 9 months ago