aju22 / LLaMA2Links
This repository contains an implementation of the LLaMA 2 (Large Language Model Meta AI) model, a Generative Pretrained Transformer (GPT) variant. The implementation focuses on the model architecture and the inference process. The code is restructured and heavily commented to facilitate easy understanding of the key parts of the architecture.
☆68Updated last year
Alternatives and similar repositories for LLaMA2
Users that are interested in LLaMA2 are comparing it to the libraries listed below
Sorting:
- ☆223Updated last year
- ☆198Updated 6 months ago
- Implementation of Speculative Sampling as described in "Accelerating Large Language Model Decoding with Speculative Sampling" by Deepmind☆98Updated last year
- Simple implementation of Speculative Sampling in NumPy for GPT-2.☆95Updated last year
- Unofficial implementation for the paper "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆163Updated last year
- ☆126Updated last year
- Training code for Baby-Llama, our submission to the strict-small track of the BabyLM challenge.☆80Updated last year
- Code repo for the paper "LLM-QAT Data-Free Quantization Aware Training for Large Language Models"☆300Updated 3 months ago
- Official PyTorch implementation of QA-LoRA☆137Updated last year
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆137Updated 10 months ago
- The official implementation of the EMNLP 2023 paper LLM-FP4☆207Updated last year
- PB-LLM: Partially Binarized Large Language Models☆152Updated last year
- ☆51Updated 8 months ago
- ☆132Updated 4 months ago
- Block Transformer: Global-to-Local Language Modeling for Fast Inference (NeurIPS 2024)☆158Updated 2 months ago
- ☆114Updated last month
- GEAR: An Efficient KV Cache Compression Recipefor Near-Lossless Generative Inference of LLM☆163Updated 11 months ago
- Experiments on speculative sampling with Llama models☆128Updated 2 years ago
- ☆152Updated 2 years ago
- Positional Skip-wise Training for Efficient Context Window Extension of LLMs to Extremely Length (ICLR 2024)☆204Updated last year
- Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradients.☆198Updated 11 months ago
- Official PyTorch implementation of DistiLLM: Towards Streamlined Distillation for Large Language Models (ICML 2024)☆222Updated 3 months ago
- ☆195Updated last month
- Code for studying the super weight in LLM☆108Updated 6 months ago
- A family of compressed models obtained via pruning and knowledge distillation☆343Updated 7 months ago
- Parameter-Efficient Sparsity Crafting From Dense to Mixture-of-Experts for Instruction Tuning on General Tasks☆144Updated 9 months ago
- Boosting 4-bit inference kernels with 2:4 Sparsity☆79Updated 9 months ago
- Unofficial implementations of block/layer-wise pruning methods for LLMs.☆70Updated last year
- Explorations into some recent techniques surrounding speculative decoding☆270Updated 6 months ago
- REST: Retrieval-Based Speculative Decoding, NAACL 2024☆204Updated 6 months ago