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,083Jul 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. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- [ICLR 2024] Fine-tuning LLaMA to follow Instructions within 1 Hour and 1.2M Parameters☆5,931Mar 14, 2024Updated 2 years ago
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,256Updated this week
- Instruct-tune LLaMA on consumer hardware☆18,961Jul 29, 2024Updated last year
- OpenLLaMA, a permissively licensed open source reproduction of Meta AI’s LLaMA 7B trained on the RedPajama dataset☆7,537Jul 16, 2023Updated 2 years ago
- Code and documentation to train Stanford's Alpaca models, and generate the data.☆30,258Jul 17, 2024Updated last year
- QLoRA: Efficient Finetuning of Quantized LLMs☆10,858Jun 10, 2024Updated last year
- An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.☆39,428Jun 2, 2025Updated 9 months ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆55,432Nov 12, 2025Updated 4 months ago
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆20,841Updated this week
- Train transformer language models with reinforcement learning.☆17,697Updated this week
- LLMs build upon Evol Insturct: WizardLM, WizardCoder, WizardMath☆9,478Jun 7, 2025Updated 9 months ago
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,922May 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,521Aug 13, 2024Updated last year
- The RedPajama-Data repository contains code for preparing large datasets for training large language models.☆4,929Dec 7, 2024Updated last year
- Accessible large language models via k-bit quantization for PyTorch.☆8,052Updated this week
- StableLM: Stability AI Language Models☆15,749Apr 8, 2024Updated last year
- 4 bits quantization of LLaMA using GPTQ☆3,073Jul 13, 2024Updated last year
- Inference code for Llama models☆59,250Jan 26, 2025Updated last year
- OpenAssistant is a chat-based assistant that understands tasks, can interact with third-party systems, and retrieve information dynamical…☆37,433Aug 17, 2024Updated last year
- Large Language Model Text Generation Inference☆10,812Jan 8, 2026Updated 2 months ago
- RWKV (pronounced RwaKuv) is an RNN with great LLM performance, which can also be directly trained like a GPT transformer (parallelizable)…☆14,419Mar 5, 2026Updated 2 weeks ago
- Instruction Tuning with GPT-4☆4,337Jun 11, 2023Updated 2 years ago
- LlamaIndex is the leading document agent and OCR platform☆47,753Updated this week
- Inference Llama 2 in one file of pure C☆19,302Aug 6, 2024Updated last year
- An open-source framework for training large multimodal models.☆4,079Aug 31, 2024Updated last year
- A repo for distributed training of language models with Reinforcement Learning via Human Feedback (RLHF)☆4,742Jan 8, 2024Updated 2 years ago
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆41,869Updated this week
- Making large AI models cheaper, faster and more accessible☆41,362Mar 16, 2026Updated last week
- Running large language models on a single GPU for throughput-oriented scenarios.☆9,379Oct 28, 2024Updated last year
- LLM as a Chatbot Service☆3,330Nov 20, 2023Updated 2 years ago
- Fast and memory-efficient exact attention☆22,832Updated this week
- A guidance language for controlling large language models.☆21,356Updated this week
- Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities☆22,059Jan 23, 2026Updated 2 months ago
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,187Aug 22, 2025Updated 7 months ago
- Hackable and optimized Transformers building blocks, supporting a composable construction.☆10,373Updated this week
- Universal LLM Deployment Engine with ML Compilation☆22,246Updated this week
- Let ChatGPT teach your own chatbot in hours with a single GPU!☆3,164Mar 17, 2024Updated 2 years ago
- LLM inference in C/C++☆98,911Updated this week
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.☆24,603Aug 12, 2024Updated last year