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,264Jun 8, 2024Updated 2 years ago
- Stable Diffusion implemented from scratch in PyTorch☆1,077Oct 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.☆29Dec 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☆630Dec 6, 2024Updated last year
- End-to-end encrypted email - Proton Mail • AdSpecial offer: 40% Off Yearly / 80% Off First Month. All Proton services are open source and independently audited for security.
- Notes and commented code for RLHF (PPO)☆136Feb 27, 2024Updated 2 years ago
- Notes about LLaMA 2 model☆76Aug 30, 2023Updated 2 years ago
- Notes about "Attention is all you need" video (https://www.youtube.com/watch?v=bCz4OMemCcA)☆375May 28, 2023Updated 3 years ago
- Slides for "Retrieval Augmented Generation" video☆27Nov 27, 2023Updated 2 years ago
- BERT explained from scratch☆18Oct 26, 2023Updated 2 years ago
- ☆259Jan 2, 2025Updated last year
- Notes on Direct Preference Optimization☆28Apr 14, 2024Updated 2 years ago
- Distributed training (multi-node) of a Transformer model☆101Apr 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
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Notes on quantization in neural networks☆131Dec 14, 2023Updated 2 years ago
- 在手写数字集MNIST上使用变分自动编码器作为encoder和decoder的ldm☆24May 23, 2024Updated 2 years ago
- Notes on the Mamba and the S4 model (Mamba: Linear-Time Sequence Modeling with Selective State Spaces)☆185Jan 7, 2024Updated 2 years ago
- Template repo for Python projects, especially those focusing on machine learning and/or deep learning.☆15Jan 14, 2026Updated 7 months ago
- 北京交通大学计算机科学与技术专业的历年作业参考,严禁抄袭。/ Beijing Jiaotong University Computer Science and technology homework reference, no cheating.☆13Jul 2, 2022Updated 4 years ago
- 汇编语言代码,项目内容为微机原理与接口技术课程的实验内容。希望本项目,能对正在学习或者感兴趣汇编语言和微机原理与接口技术的你有所帮助~☆14Nov 1, 2019Updated 6 years 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
- Complete implementation of Llama2 with/without KV cache & inference 🚀☆49May 24, 2024Updated 2 years ago
- End-to-end encrypted cloud storage - Proton Drive • AdSpecial offer: 40% Off Yearly / 80% Off First Month. Protect your most important files, photos, and documents from prying eyes.
- llama3 implementation one matrix multiplication at a time☆15,222May 23, 2024Updated 2 years ago
- [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
- Inference Llama 2 in one file of pure C☆19,997Aug 6, 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 2 years ago
- GEMM by WMMA (tensor core)☆15Jul 31, 2022Updated 4 years ago
- Open Source Speech Inferencing Libary for Indic Languages☆12Apr 11, 2022Updated 4 years ago
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,244Aug 22, 2025Updated 11 months ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- "Efficient Federated Learning for Modern NLP", to appear at MobiCom 2023.☆35Aug 18, 2023Updated 3 years ago
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆868Sep 13, 2023Updated 2 years ago
- Turning day to night by condition GAN in pytorch☆11May 18, 2018Updated 8 years ago
- ☆18Oct 22, 2024Updated last year
- Optimize GEMM with tensorcore step by step☆40Dec 17, 2023Updated 2 years ago
- 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