LLaMA 2 implemented from scratch in PyTorch
☆375Sep 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,255Jun 8, 2024Updated 2 years ago
- Stable Diffusion implemented from scratch in PyTorch☆1,073Oct 22, 2024Updated last year
- LORA: Low-Rank Adaptation of Large Language Models implemented using PyTorch☆128Jul 24, 2023Updated 3 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☆625Dec 6, 2024Updated last year
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Notes and commented code for RLHF (PPO)☆136Feb 27, 2024Updated 2 years ago
- Notes about LLaMA 2 model☆75Aug 30, 2023Updated 2 years ago
- Notes about "Attention is all you need" video (https://www.youtube.com/watch?v=bCz4OMemCcA)☆371May 28, 2023Updated 3 years ago
- Notes on Direct Preference Optimization☆28Apr 14, 2024Updated 2 years ago
- Distributed training (multi-node) of a Transformer model☆98Apr 10, 2024Updated 2 years ago
- This repository contains an implementation of the LLaMA 2 (Large Language Model Meta AI) model, a Generative Pretrained Transformer (GPT)…☆75Oct 1, 2023Updated 2 years ago
- 算子库(Rust)☆15Jul 24, 2025Updated last year
- Notes on quantization in neural networks☆131Dec 14, 2023Updated 2 years ago
- Notes on the Mamba and the S4 model (Mamba: Linear-Time Sequence Modeling with Selective State Spaces)☆183Jan 7, 2024Updated 2 years ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- 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
- Template repo for Python projects, especially those focusing on machine learning and/or deep learning.☆15Jan 14, 2026Updated 6 months ago
- a simplified version of Meta's Llama 3 model to be used for learning☆44May 21, 2024Updated 2 years ago
- TaCo: Enhancing Cross-Lingual Transfer for Low-Resource Languages in LLMs through Translation-Assisted Chain-of-Thought Processes☆14Jul 1, 2025Updated last year
- llama3 implementation one matrix multiplication at a time☆15,224May 23, 2024Updated 2 years ago
- ML algorithms implementations that are good for learning the underlying principles☆28Dec 7, 2024Updated last year
- [CHIL 2024] Interpretation of Intracardiac Electrograms Through Textual Representations☆12Sep 4, 2024Updated last year
- 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
- 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.
- ☆38Jun 10, 2024Updated 2 years ago
- Inference Llama 2 in one file of pure C☆19,833Aug 6, 2024Updated last year
- Performance of the C++ interface of flash attention and flash attention v2 in large language model (LLM) inference scenarios.☆15Aug 31, 2023Updated 2 years ago
- GEMM by WMMA (tensor core)☆15Jul 31, 2022Updated 3 years ago
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,232Aug 22, 2025Updated 11 months ago
- "Efficient Federated Learning for Modern NLP", to appear at MobiCom 2023.☆35Aug 18, 2023Updated 2 years ago
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆866Sep 13, 2023Updated 2 years ago
- ☆18Oct 22, 2024Updated last year
- Optimize GEMM with tensorcore step by step☆40Dec 17, 2023Updated 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.
- Llama causal LM fully recreated in LibTorch. Designed to be used in Unreal Engine 5☆16Sep 19, 2024Updated last year
- Building a Machine Learning Library from scratch using Python3, based on SOTA library Scikit-learn☆15Jan 20, 2023Updated 3 years ago
- Functional Optimal Transport: Map Estimation and Domain Adaptation for Functional data☆28Jun 7, 2021Updated 5 years ago
- Inference Llama 2 in one file of pure C☆13Nov 17, 2023Updated 2 years ago
- A replication of the paper "Adaptive Mixtures of Local Experts" applied to the CIFAR-10 image classification dataset.☆12Mar 19, 2021Updated 5 years ago
- ☆20Nov 3, 2024Updated last year
- Flash Attention in ~100 lines of CUDA (forward pass only)☆1,173Dec 30, 2024Updated last year