naklecha / llama3-from-scratchView external linksLinks
llama3 implementation one matrix multiplication at a time
☆15,239May 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,309Jul 1, 2024Updated last year
- LLM training in simple, raw C/CUDA☆28,814Jun 26, 2025Updated 7 months ago
- LLM101n: Let's build a Storyteller☆36,281Aug 1, 2024Updated last year
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆85,210Updated this week
- Course to get into Large Language Models (LLMs) with roadmaps and Colab notebooks.☆74,834Feb 5, 2026Updated last week
- A high-throughput and memory-efficient inference and serving engine for LLMs☆70,205Updated this week
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆52,955Nov 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.☆51,922Updated this week
- Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)☆67,253Updated this week
- Inference Llama 2 in one file of pure C☆19,162Aug 6, 2024Updated last year
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,155Feb 8, 2026Updated last week
- LLM inference in C/C++☆94,823Updated this week
- Machine Learning Engineering Open Book☆16,675Updated this week
- 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,199Nov 3, 2025Updated 3 months ago
- DSPy: The framework for programming—not prompting—language models☆32,156Updated this week
- The official Meta Llama 3 GitHub site☆29,240Jan 26, 2025Updated last year
- Fully open reproduction of DeepSeek-R1☆25,866Nov 24, 2025Updated 2 months ago
- A modular graph-based Retrieval-Augmented Generation (RAG) system☆30,872Updated this week
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆41,578Feb 7, 2026Updated last week
- An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.☆39,402Jun 2, 2025Updated 8 months ago
- SGLang is a high-performance serving framework for large language models and multimodal models.☆23,439Updated this week
- LlamaIndex is the leading framework for building LLM-powered agents over your data.☆46,977Updated this week
- Fast and memory-efficient exact attention☆22,231Updated this week
- 🦜🔗 The platform for reliable agents.☆126,317Updated this week
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,891May 3, 2024Updated last year
- PyTorch native post-training library☆5,669Updated this week
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.☆24,446Aug 12, 2024Updated last year
- Train transformer language models with reinforcement learning.☆17,360Updated this week
- Universal memory layer for AI Agents☆47,230Feb 3, 2026Updated last week
- A programming framework for agentic AI☆54,376Jan 22, 2026Updated 3 weeks ago
- Inference code for Llama models☆59,141Jan 26, 2025Updated last year
- Distribute and run LLMs with a single file.☆23,704Updated this week
- A Gemini 2.5 Flash Level MLLM for Vision, Speech, and Full-Duplex Multimodal Live Streaming on Your Phone☆23,756Updated this week
- Get up and running with Kimi-K2.5, GLM-5, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.☆162,576Updated this week
- Build multi-agent systems that learn and improve with every interaction.☆37,691Updated this week
- Minimal reproduction of DeepSeek R1-Zero☆12,715Apr 24, 2025Updated 9 months ago
- Universal LLM Deployment Engine with ML Compilation☆22,012Updated this week
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆23,494Aug 15, 2024Updated last year
- 🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal model…☆156,440Updated this week