Implementation of the LLaMA language model based on nanoGPT. Supports flash attention, Int8 and GPTQ 4bit quantization, LoRA and LLaMA-Adapter fine-tuning, pre-training. Apache 2.0-licensed.
☆6,081Jul 1, 2025Updated 8 months ago
Alternatives and similar repositories for lit-llama
Users that are interested in lit-llama are comparing it to the libraries listed below
Sorting:
- [ICLR 2024] Fine-tuning LLaMA to follow Instructions within 1 Hour and 1.2M Parameters☆5,936Mar 14, 2024Updated last year
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,182Feb 22, 2026Updated last week
- Instruct-tune LLaMA on consumer hardware☆18,972Jul 29, 2024Updated last year
- OpenLLaMA, a permissively licensed open source reproduction of Meta AI’s LLaMA 7B trained on the RedPajama dataset☆7,533Jul 16, 2023Updated 2 years ago
- QLoRA: Efficient Finetuning of Quantized LLMs☆10,843Jun 10, 2024Updated last year
- Code and documentation to train Stanford's Alpaca models, and generate the data.☆30,271Jul 17, 2024Updated last year
- An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.☆39,414Jun 2, 2025Updated 9 months ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆53,743Nov 12, 2025Updated 3 months ago
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆20,678Feb 24, 2026Updated last week
- Train transformer language models with reinforcement learning.☆17,460Updated this week
- LLMs build upon Evol Insturct: WizardLM, WizardCoder, WizardMath☆9,477Jun 7, 2025Updated 8 months ago
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,896May 3, 2024Updated last year
- Large language models (LLMs) made easy, EasyLM is a one stop solution for pre-training, finetuning, evaluating and serving LLMs in JAX/Fl…☆2,516Aug 13, 2024Updated last year
- Accessible large language models via k-bit quantization for PyTorch.☆7,997Updated this week
- StableLM: Stability AI Language Models☆15,756Apr 8, 2024Updated last year
- The RedPajama-Data repository contains code for preparing large datasets for training large language models.☆4,923Dec 7, 2024Updated last year
- Large Language Model Text Generation Inference☆10,788Jan 8, 2026Updated last month
- RWKV (pronounced RwaKuv) is an RNN with great LLM performance, which can also be directly trained like a GPT transformer (parallelizable)…☆14,375Feb 21, 2026Updated last week
- OpenAssistant is a chat-based assistant that understands tasks, can interact with third-party systems, and retrieve information dynamical…☆37,444Aug 17, 2024Updated last year
- 4 bits quantization of LLaMA using GPTQ☆3,074Jul 13, 2024Updated last year
- An open-source framework for training large multimodal models.☆4,071Aug 31, 2024Updated last year
- Running large language models on a single GPU for throughput-oriented scenarios.☆9,382Oct 28, 2024Updated last year
- Inference code for Llama models☆59,166Jan 26, 2025Updated last year
- LlamaIndex is the leading document agent and OCR platform☆47,210Updated this week
- Inference Llama 2 in one file of pure C☆19,213Aug 6, 2024Updated last year
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆41,706Updated this week
- Instruction Tuning with GPT-4☆4,342Jun 11, 2023Updated 2 years ago
- A repo for distributed training of language models with Reinforcement Learning via Human Feedback (RLHF)☆4,741Jan 8, 2024Updated 2 years ago
- Making large AI models cheaper, faster and more accessible☆41,359Feb 23, 2026Updated last week
- Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities☆22,033Jan 23, 2026Updated last month
- LLM as a Chatbot Service☆3,332Nov 20, 2023Updated 2 years ago
- A guidance language for controlling large language models.☆21,327Feb 13, 2026Updated 2 weeks ago
- Universal LLM Deployment Engine with ML Compilation☆22,082Updated this week
- Fast and memory-efficient exact attention☆22,361Updated this week
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.☆24,478Aug 12, 2024Updated last year
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,184Aug 22, 2025Updated 6 months ago
- A high-throughput and memory-efficient inference and serving engine for LLMs☆71,234Updated this week
- Hackable and optimized Transformers building blocks, supporting a composable construction.☆10,353Feb 20, 2026Updated last week
- Robust recipes to align language models with human and AI preferences☆5,506Sep 8, 2025Updated 5 months ago