llama3 implementation one matrix multiplication at a time
☆15,242May 23, 2024Updated last year
Alternatives and similar repositories for llama3-from-scratch
Users that are interested in llama3-from-scratch are comparing it to the libraries listed below
Sorting:
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆10,347Jul 1, 2024Updated last year
- LLM training in simple, raw C/CUDA☆28,993Jun 26, 2025Updated 8 months ago
- LLM101n: Let's build a Storyteller☆36,390Aug 1, 2024Updated last year
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆87,151Updated this week
- Course to get into Large Language Models (LLMs) with roadmaps and Colab notebooks.☆76,159Feb 5, 2026Updated last month
- A high-throughput and memory-efficient inference and serving engine for LLMs☆71,883Updated this week
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆54,071Nov 12, 2025Updated 3 months ago
- Fine-tuning & Reinforcement Learning for LLMs. 🦥 Train OpenAI gpt-oss, DeepSeek, Qwen, Llama, Gemma, TTS 2x faster with 70% less VRAM.☆53,029Updated this week
- Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)☆67,966Updated this week
- Inference Llama 2 in one file of pure C☆19,213Aug 6, 2024Updated last year
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,206Updated this week
- LLM inference in C/C++☆96,322Updated this week
- Machine Learning Engineering Open Book☆17,286Feb 21, 2026Updated 2 weeks ago
- Welcome to the Llama Cookbook! This is your go to guide for Building with Llama: Getting started with Inference, Fine-Tuning, RAG. We als…☆18,234Updated this week
- DSPy: The framework for programming—not prompting—language models☆32,519Updated this week
- The official Meta Llama 3 GitHub site☆29,277Jan 26, 2025Updated last year
- Fully open reproduction of DeepSeek-R1☆25,927Nov 24, 2025Updated 3 months ago
- A modular graph-based Retrieval-Augmented Generation (RAG) system☆31,162Feb 27, 2026Updated last week
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆41,706Feb 27, 2026Updated last week
- An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.☆39,426Jun 2, 2025Updated 9 months ago
- SGLang is a high-performance serving framework for large language models and multimodal models.☆23,905Updated this week
- LlamaIndex is the leading document agent and OCR platform☆47,374Updated this week
- Fast and memory-efficient exact attention☆22,460Updated this week
- 🦜🔗 The platform for reliable agents.☆127,809Feb 28, 2026Updated last week
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,902May 3, 2024Updated last year
- PyTorch native post-training library☆5,691Feb 27, 2026Updated last week
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.☆24,500Aug 12, 2024Updated last year
- Train transformer language models with reinforcement learning.☆17,523Updated this week
- Universal memory layer for AI Agents☆48,604Updated this week
- A programming framework for agentic AI☆55,236Updated this week
- Inference code for Llama models☆59,183Jan 26, 2025Updated last year
- Distribute and run LLMs with a single file.☆23,755Updated this week
- A Gemini 2.5 Flash Level MLLM for Vision, Speech, and Full-Duplex Multimodal Live Streaming on Your Phone☆24,027Feb 23, 2026Updated last week
- Get up and running with Kimi-K2.5, GLM-5, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.☆164,248Updated this week
- Build, run, manage agentic software at scale.☆38,276Mar 1, 2026Updated last week
- Minimal reproduction of DeepSeek R1-Zero☆12,896Feb 27, 2026Updated last week
- Universal LLM Deployment Engine with ML Compilation☆22,129Updated this week
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆23,746Aug 15, 2024Updated last year
- 🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal model…☆157,462Updated this week