hkproj / pytorch-llama
LLaMA 2 implemented from scratch in PyTorch
☆294Updated last year
Alternatives and similar repositories for pytorch-llama:
Users that are interested in pytorch-llama are comparing it to the libraries listed below
- This repository contains an implementation of the LLaMA 2 (Large Language Model Meta AI) model, a Generative Pretrained Transformer (GPT)…☆60Updated last year
- LORA: Low-Rank Adaptation of Large Language Models implemented using PyTorch☆94Updated last year
- Notes about LLaMA 2 model☆53Updated last year
- ☆128Updated last month
- Explorations into some recent techniques surrounding speculative decoding☆240Updated last month
- LoRA and DoRA from Scratch Implementations☆196Updated 11 months ago
- A family of compressed models obtained via pruning and knowledge distillation☆321Updated 3 months ago
- Implementation of FlashAttention in PyTorch☆133Updated last month
- [ICLR 2024] Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruning☆584Updated 11 months ago
- Fast inference from large lauguage models via speculative decoding☆657Updated 5 months ago
- Unofficial implementation for the paper "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆145Updated 8 months ago
- 📰 Must-read papers and blogs on Speculative Decoding ⚡️☆595Updated this week
- Notes and commented code for RLHF (PPO)☆69Updated 11 months ago
- REST: Retrieval-Based Speculative Decoding, NAACL 2024☆192Updated 2 months ago
- Official PyTorch implementation of QA-LoRA☆126Updated 11 months ago
- LLM Workshop by Sourab Mangrulkar☆363Updated 8 months ago
- For releasing code related to compression methods for transformers, accompanying our publications☆408Updated last month
- Official repository for ORPO☆437Updated 8 months ago
- Efficient LLM Inference over Long Sequences☆357Updated this week
- ☆251Updated last year
- Scalable toolkit for efficient model alignment☆719Updated this week
- Minimalistic 4D-parallelism distributed training framework for education purpose☆724Updated this week
- [ICML'24] Data and code for our paper "Training-Free Long-Context Scaling of Large Language Models"☆389Updated 4 months ago
- Official PyTorch implementation of DistiLLM: Towards Streamlined Distillation for Large Language Models (ICML 2024)☆184Updated 5 months ago
- Recreating PyTorch from scratch (C/C++, CUDA, NCCL and Python, with multi-GPU support and automatic differentiation!)☆144Updated 8 months ago
- Training code for Baby-Llama, our submission to the strict-small track of the BabyLM challenge.☆77Updated last year
- Memory optimization and training recipes to extrapolate language models' context length to 1 million tokens, with minimal hardware.☆701Updated 4 months ago
- Implementation of Speculative Sampling as described in "Accelerating Large Language Model Decoding with Speculative Sampling" by Deepmind☆87Updated 11 months ago
- Official Implementation of EAGLE-1 (ICML'24) and EAGLE-2 (EMNLP'24)☆968Updated this week
- Reference implementation of Mistral AI 7B v0.1 model.☆28Updated last year