awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

LLM development guide

Ranking updated Jul 8, 2026

For a framework for building custom LLMs, the first results are yangjianxin1/firefly (Firefly is a comprehensive Python-based framework designed specifically for the pre-training, fine-tuning, and alignment of large language models, providing the necessary tools for dataset preparation, parameter-efficient training, and inference optimization), karpathy/nanogpt (This repository provides a minimalist, educational implementation of the transformer architecture that covers the entire pipeline from tokenization and dataset preparation to training and inference, making it a flagship resource for learning how to build LLMs from scratch) and google/trax (Trax is a deep learning framework specifically designed for building and training transformer architectures from scratch, providing the necessary abstractions for model training, tokenization, and inference optimization within a Python-based stack). datawhalechina/self-llm and jingyaogong/minimind round out the shortlist. Compare the match explanations and check the project documentation against your requirements.

Explore the best open-source tools and frameworks to build your own LLM. Compare top-rated repositories by activity to find the best fit for you.

LLM development guide

Find the best repos with AI.We'll search the best matching repositories with AI.
  • yangjianxin1/fireflyyangjianxin1 avatar

    yangjianxin1/Firefly

    6,642View on GitHub↗

    Firefly is a training framework and inference engine for large language models. It functions as a toolkit for pre-training and fine-tuning various open-weight architectures, providing a system for model alignment and parameter-efficient fine-tuning. The project includes utilities for merging adapter weights back into base models to create standalone files. It also provides a model alignment toolkit to format training data according to specific prompt templates, ensuring conversational consistency across different models. The framework supports distributed model training and preference-based

    Firefly is a comprehensive Python-based framework designed specifically for the pre-training, fine-tuning, and alignment of large language models, providing the necessary tools for dataset preparation, parameter-efficient training, and inference optimization.

    PythonLanguage Model TrainingParameter Efficient Fine-TuningParameter-Efficient Training Toolkits
    View on GitHub↗6,642
  • karpathy/nanogptkarpathy avatar

    karpathy/nanoGPT

    59,730View on GitHub↗

    nanoGPT is a lightweight engine for training and fine-tuning transformer-based language models from scratch. It provides a minimalist codebase designed for educational exploration and rapid experimentation with neural network architectures, utilizing self-attention and feed-forward layers to process sequences and predict subsequent elements. The project distinguishes itself through a focus on high-speed data ingestion and hardware-accelerated performance. It includes a dedicated pipeline for transforming raw text into memory-mapped binary files, which enables efficient streaming during traini

    This repository provides a minimalist, educational implementation of the transformer architecture that covers the entire pipeline from tokenization and dataset preparation to training and inference, making it a flagship resource for learning how to build LLMs from scratch.

    PythonTransformer
    View on GitHub↗59,730
  • google/traxgoogle avatar

    google/trax

    8,304View on GitHub↗

    Trax is a deep learning framework and hardware-agnostic tensor engine designed for designing and training neural networks. It serves as a research tool providing high-level combinators for composing complex architectures, alongside a dedicated library for building transformer models and a toolkit for reinforcement learning. The framework is distinguished by its support for reversible and sparse transformer architectures, which reduce memory and computational overhead. It enables a single set of model instructions to execute across different hardware backends without changing the underlying co

    Trax is a deep learning framework specifically designed for building and training transformer architectures from scratch, providing the necessary abstractions for model training, tokenization, and inference optimization within a Python-based stack.

    PythonData Preprocessing PipelinesModel TrainingTransformer Architectures
    View on GitHub↗8,304
  • datawhalechina/self-llmdatawhalechina avatar

    datawhalechina/self-llm

    30,941View on GitHub↗

    This project is an open-source educational resource providing structured, step-by-step guides for fine-tuning large language models. It focuses on adapting pre-trained transformer-based causal models to custom datasets, enabling users to transfer specific writing styles or domain knowledge into generative AI models. The repository distinguishes itself by emphasizing parameter-efficient training techniques, specifically low-rank adaptation. By providing practical implementations for updating only a small subset of model weights, it allows for the customization of massive neural networks on con

    This project provides a comprehensive collection of educational guides and practical pipelines for fine-tuning transformer-based models, making it a valuable resource for learning LLM training and optimization techniques.

    Jupyter NotebookTransformer ArchitecturesParameter Efficient Fine-Tuning
    View on GitHub↗30,941
  • jingyaogong/minimindjingyaogong avatar

    jingyaogong/minimind

    51,834View on GitHub↗

    This project is a comprehensive framework for the entire lifecycle of transformer-based language models, supporting everything from foundational pretraining to specialized deployment. It provides a modular toolkit for defining neural network architectures, managing data preparation pipelines, and executing training routines across various scales. The framework is designed to handle the full model development process, including supervised fine-tuning, behavioral alignment, and the integration of agentic capabilities. What distinguishes this framework is its focus on efficient training and adva

    This project provides a complete, modular framework for the entire lifecycle of transformer-based language models, including pretraining, fine-tuning, and inference, making it an ideal resource for understanding and implementing LLMs from scratch.

    PythonData Preprocessing PipelinesParameter Efficient Fine-Tuning
    View on GitHub↗51,834
  • hiyouga/llamafactoryhiyouga avatar

    hiyouga/LlamaFactory

    72,213View on GitHub↗

    LlamaFactory is a unified framework for fine-tuning and adapting large language models. It provides a comprehensive platform that standardizes training workflows across diverse machine learning architectures, allowing users to execute both full-tuning and parameter-efficient methods through a single interface. The project distinguishes itself by offering a low-code visual dashboard that enables users to configure experiments and monitor performance metrics in real time without writing extensive custom scripts. It also features a configuration-driven orchestration system that decouples experim

    LlamaFactory is a comprehensive framework specifically designed for fine-tuning and adapting large language models, providing the necessary tools for training, PEFT, and inference management within a Python-based ecosystem.

    PythonParameter Efficient Fine-Tuning
    View on GitHub↗72,213
  • meta-pytorch/torchtunemeta-pytorch avatar

    meta-pytorch/torchtune

    5,774View on GitHub↗

    Torchtune is a PyTorch-native library for fine-tuning, aligning, and quantizing large language models. It provides a config-driven system for instantiating components, orchestrating distributed training, and managing parameter-efficient fine-tuning with quantization support, all through YAML-based configurations and command-line overrides. The library distinguishes itself through its comprehensive post-training workflow orchestration, combining supervised fine-tuning, preference optimization (DPO, PPO, GRPO), knowledge distillation, and quantization-aware training in a single configurable pip

    Torchtune is a PyTorch-native library specifically designed for fine-tuning, aligning, and quantizing large language models, providing the exact orchestration and training capabilities required for LLM development.

    PythonInstruction Fine-tuningLanguage Model TrainingParameter Efficient Fine-Tuning
    View on GitHub↗5,774
  • huggingface/coursehuggingface avatar

    huggingface/course

    3,715View on GitHub↗

    This project is an educational course and learning curriculum for implementing and fine-tuning transformer models using the Hugging Face ecosystem. It serves as a structured guide and technical walkthrough for processing multimodal data, adapting pre-trained neural networks, and deploying models. The material includes a guide for managing, versioning, and distributing model weights and datasets through a centralized asset hub. It also provides a practical tutorial on adapting models to specific datasets using parameter-efficient methods and an implementation guide for solving natural language

    This project provides a comprehensive educational curriculum and practical walkthroughs for training, fine-tuning, and deploying transformer models, making it a highly relevant resource for learning the LLM development stack.

    MDXModel Fine-TuningTransformer ArchitecturesParameter Efficient Fine-Tuning
    View on GitHub↗3,715
  • huggingface/transformershuggingface avatar

    huggingface/transformers

    161,630View on GitHub↗

    Transformers is a comprehensive library for machine learning that provides a unified interface for training, fine-tuning, and deploying transformer-based models. It supports a wide range of tasks, including text classification, language modeling, question answering, and sequence-to-sequence translation, while offering specialized architectures for both text and vision processing. The framework includes tools for managing the entire model lifecycle, from data preprocessing and tokenization to distributed training and inference. The library features extensive support for model optimization and

    This library is the industry-standard framework for implementing, training, and fine-tuning transformer-based models, providing all the necessary tools for tokenization, architecture management, and inference optimization in a Python-based stack.

    PythonAttention MechanismsPrompt Lookup Decoding
    View on GitHub↗161,630
  • nndl/llm-beginnernndl avatar

    nndl/llm-beginner

    6,421View on GitHub↗

    This project is a collection of educational resources and technical guides focused on the development and implementation of large language models. It provides a comprehensive curriculum covering transformer architectures, training methods, and deployment strategies. The materials provide detailed instructions for building autonomous agents using reasoning loops and tool integration, as well as guides for fine-tuning models through supervised learning and preference optimization. It also includes tutorials for constructing retrieval augmented generation pipelines and implementing transformer m

    This project provides a comprehensive educational curriculum and technical guides for implementing transformer architectures, fine-tuning models, and building LLM-based pipelines from the ground up.

    PythonInstruction Fine-tuningLanguage Model TrainingTransformer Encoders
    View on GitHub↗6,421
  • tatsu-lab/stanford_alpacatatsu-lab avatar

    tatsu-lab/stanford_alpaca

    30,266View on GitHub↗

    This project provides an end-to-end framework for adapting large language models to follow user instructions through supervised fine-tuning. It functions as a comprehensive training pipeline that enables the creation of specialized assistant models by minimizing the difference between predicted outputs and target responses within structured instruction datasets. The framework distinguishes itself by integrating synthetic data generation with memory-efficient training techniques. It utilizes powerful language models to iteratively expand small sets of human-written seeds into diverse, high-qua

    This project provides a complete, end-to-end pipeline for instruction-tuning and fine-tuning large language models, making it a practical framework for implementing and adapting LLMs using a Python-based deep learning stack.

    PythonParameter Efficient Fine-TuningParameter-Efficient Training Toolkits
    View on GitHub↗30,266
  • ymcui/chinese-llama-alpaca-2ymcui avatar

    ymcui/Chinese-LLaMA-Alpaca-2

    7,136View on GitHub↗

    This project provides a Chinese large language model based on the LLaMA architecture. It is an instruction-tuned model optimized for natural language processing and multi-turn conversations in Chinese. The system includes a framework for parameter-efficient fine-tuning using low-rank adaptation and quantization to reduce memory requirements. It also implements retrieval augmented generation for local document question answering and supports long-context processing for sequences up to 64K tokens. The project covers a broad set of capabilities including supervised instruction tuning, reinforce

    This project provides a comprehensive framework for fine-tuning and deploying LLaMA-based models, offering practical implementations of instruction tuning, quantization, and RAG that are highly relevant for learning LLM development.

    PythonInstruction Fine-tuningParameter Efficient Fine-Tuning
    View on GitHub↗7,136
  • pytorch/pytorchpytorch avatar

    pytorch/pytorch

    100,814View on GitHub↗

    PyTorch is a machine learning framework centered on a GPU-ready tensor library that supports multi-dimensional array operations across both CPU and accelerator hardware. It provides a foundational infrastructure for mathematical computation and dynamic neural network construction, utilizing a tape-based automatic differentiation system that allows for flexible, non-static graph execution. The framework is designed for deep integration with Python, enabling natural usage alongside standard scientific computing ecosystems. It distinguishes itself through a comprehensive distributed training sui

    PyTorch is the foundational deep learning framework used to build, train, and fine-tune transformer-based LLMs, providing the essential tensor operations, autograd, and distributed training infrastructure required for this category.

    PythonHardware-AcceleratedATenAutomatic Differentiation Systems
    View on GitHub↗100,814
  • microsoft/deepspeedmicrosoft avatar

    microsoft/DeepSpeed

    42,533View on GitHub↗

    DeepSpeed is a distributed deep learning optimization library and framework designed for the training and inference of massive AI models. It serves as a model parallelism orchestrator and a toolkit for scaling large language models across multiple GPUs and compute nodes. The project distinguishes itself through 3D parallelism orchestration, which combines data, pipeline, and tensor parallelism. It utilizes ZeRO-based memory partitioning to eliminate redundant storage and employs CPU-offload memory management to move weights and optimizer states to system RAM. Additionally, it provides special

    DeepSpeed is a comprehensive framework for training and fine-tuning large language models, providing the essential infrastructure for distributed model parallelism, memory optimization, and inference acceleration required to scale transformer-based architectures.

    PythonDistributed TrainingLarge-Scale Model TrainingCommunication Optimization
    View on GitHub↗42,533
  • huggingface/trlhuggingface avatar

    huggingface/trl

    18,653View on GitHub↗

    This library provides a comprehensive framework for fine-tuning, aligning, and distilling transformer-based language models. It serves as a toolkit for adapting models to specialized domains through supervised learning, while offering advanced methodologies to improve output quality and reasoning capabilities. The project distinguishes itself through specialized alignment and optimization techniques, including direct preference optimization and reinforcement learning, which allow models to be tuned against human preferences without complex reward modeling. It further supports training efficie

    This library is a comprehensive framework specifically designed for fine-tuning and aligning transformer-based language models, providing the essential tools for supervised learning, reinforcement learning, and model optimization within the Python ecosystem.

    PythonTransformer Reinforcement Learning LibrariesAlignment ToolkitsPreference Optimization
    View on GitHub↗18,653
  • nvidia/megatron-lmNVIDIA avatar

    NVIDIA/Megatron-LM

    16,731View on GitHub↗

    Megatron-LM is a distributed transformer training library and large language model training framework designed to scale models across thousands of GPUs. It functions as a GPU-optimized deep learning toolkit and a scaling engine for mixture-of-experts architectures, enabling the training of models with hundreds of billions of parameters. The project implements multi-dimensional model parallelism, combining tensor, pipeline, data, expert, and context-based workload distribution. It specifically optimizes mixture-of-experts architectures through integrated memory and communication improvements t

    Megatron-LM is a comprehensive framework for training and scaling large transformer models, providing the essential infrastructure for distributed training, parallelization, and optimization required to build LLMs from the ground up.

    PythonDistributed TrainingScaling EnginesCommunication-Computation Overlap
    View on GitHub↗16,731
  • axolotl-ai-cloud/axolotlaxolotl-ai-cloud avatar

    axolotl-ai-cloud/axolotl

    12,059View on GitHub↗

    Axolotl is a configuration-driven framework designed for the fine-tuning, evaluation, and quantization of large language models. It functions as a comprehensive orchestrator for distributed training, enabling users to manage complex workflows across multi-node and multi-GPU environments. By utilizing structured configuration files, the platform streamlines the setup of training parameters, dataset paths, and hardware distribution strategies. The project distinguishes itself through its support for diverse training methodologies, including full-parameter tuning, parameter-efficient adaptation,

    Axolotl is a configuration-driven framework that provides a robust environment for fine-tuning and training large language models, covering essential tasks like dataset preparation, parameter-efficient adaptation, and model quantization.

    PythonData Preprocessing PipelinesParameter Efficient Fine-TuningParameter-Efficient Training Toolkits
    View on GitHub↗12,059
  • huggingface/smollmhuggingface avatar

    huggingface/smollm

    3,624View on GitHub↗

    SmolLM is a project dedicated to the development of small language models. It focuses on training and fine-tuning compact models that maintain high performance while utilizing fewer parameters. The project emphasizes efficient AI inference and on-device text generation, aiming to enable the deployment of lightweight models on edge devices with limited memory and processing power. It utilizes synthetic data generation to produce artificial datasets that improve the reasoning and training of these AI systems. The system supports a variety of optimization and training capabilities, including we

    SmolLM provides a practical framework for training and fine-tuning compact language models, offering the necessary tools for dataset preparation and efficient inference that align with the goal of building LLMs from scratch.

    PythonInference OptimizationTransformer ArchitecturesParameter Efficient Fine-Tuning
    View on GitHub↗3,624
  • qwenlm/qwen3QwenLM avatar

    QwenLM/Qwen3

    27,324View on GitHub↗

    Qwen3 is a transformer-based large language model designed as a generative AI foundation for understanding, reasoning, and generating human language. It functions as a comprehensive ecosystem for model training, fine-tuning, and production-ready inference, providing the underlying architecture and weights necessary to build diverse artificial intelligence applications. The project distinguishes itself through extensive support for model quantization and distributed inference, enabling efficient execution across a wide range of hardware from consumer-grade devices to scalable cloud infrastruct

    Qwen3 provides the underlying transformer architecture, pre-trained weights, and a comprehensive suite of tools for fine-tuning and inference, making it a robust foundation for implementing and deploying large language models.

    PythonTransformer Architectures
    View on GitHub↗27,324
  • meta-llama/llama-cookbookmeta-llama avatar

    meta-llama/llama-cookbook

    18,375View on GitHub↗

    This project is a collection of implementation guides, recipes, and developer resources for building applications with Llama models. It serves as a comprehensive kit for developing autonomous agents, establishing retrieval-augmented generation systems, and executing model fine-tuning. The resource provides specific patterns for multimodal workflows that process text, images, and audio. It includes specialized guidance on adapting pre-trained model weights for targeted tasks and implementing tool-calling orchestration to connect models with external APIs and functions. The codebase covers a b

    This repository provides a comprehensive collection of guides, recipes, and implementation patterns for fine-tuning and deploying Llama models, serving as a practical educational resource for building LLM-based applications.

    Jupyter NotebookModel Fine-TuningParameter Efficient Fine-Tuning
    View on GitHub↗18,375
  • tloen/alpaca-loratloen avatar

    tloen/alpaca-lora

    18,911View on GitHub↗

    This project is a LLaMA fine-tuning framework and training pipeline designed for instruction tuning using low-rank adaptation. It provides a system for adapting large language models through a portable, containerized machine learning environment and a web-based inference interface. The framework enables the training of low-rank adapters and the subsequent merging of these weights back into base models to create standalone checkpoints. It includes utilities for defining and formatting prompt templates to ensure consistent data structures during the fine-tuning and inference processes. The pro

    This project provides a specialized framework for instruction fine-tuning of large language models using LoRA, directly addressing the need for model adaptation and training pipelines.

    Jupyter NotebookModel Fine-Tuning
    View on GitHub↗18,911
  • facebookresearch/fairseqfacebookresearch avatar

    facebookresearch/fairseq

    32,228View on GitHub↗

    Fairseq is a PyTorch toolkit for sequence-to-sequence modeling, specializing in neural machine translation, automatic speech recognition, and large-scale language model training. It provides a framework for processing and aligning diverse data sources, including text, audio, and video, to support tasks such as speech-to-text conversion and multimodal sequence learning. The project is distinguished by its distributed training capabilities, which utilize parameter sharding, mixed-precision training, and CPU offloading to handle models that exceed single-device memory. It also includes specializ

    Fairseq is a comprehensive PyTorch-based toolkit designed for sequence-to-sequence modeling and large-scale training, providing the necessary infrastructure for transformer architecture implementation, distributed training, and fine-tuning.

    PythonData Preprocessing PipelinesModel Fine-TuningLanguage Model Training
    View on GitHub↗32,228
  • d2l-ai/d2l-zhd2l-ai avatar

    d2l-ai/d2l-zh

    78,493View on GitHub↗

    This project is an open-source, interactive educational platform designed to teach deep learning through a comprehensive, code-first curriculum. It provides a structured learning path that covers foundational mathematics, modern neural network architectures, and practical optimization techniques, enabling practitioners to master complex artificial intelligence concepts through hands-on experimentation. The platform distinguishes itself by integrating technical explanations with executable Jupyter notebooks. This design allows readers to modify code and hyperparameters in real-time, facilitati

    This project is a comprehensive educational resource that provides the foundational code and tutorials for deep learning, including transformer architectures and NLP techniques, which are essential for understanding how to build and train LLMs from scratch.

    PythonTransformerAttention Mechanisms
    View on GitHub↗78,493
  • autogluon/autogluonautogluon avatar

    autogluon/autogluon

    9,997View on GitHub↗

    AutoGluon is an automated machine learning framework and multimodal library designed to automate the end-to-end pipeline from data preprocessing to high-accuracy model training and validation. It functions as an automated model trainer for tabular, image, text, and time series data, as well as a tool for time series forecasting and foundation model finetuning. The project is distinguished by its ability to jointly process and fuse different data types, allowing for the construction of multimodal neural networks that integrate images, text, and structured tables. It supports zero-shot inferenc

    AutoGluon is an automated machine learning framework that includes capabilities for fine-tuning foundation models and processing multimodal data, making it a relevant tool for those looking to implement and train models within a Python-based deep learning stack.

    PythonData PreprocessingInference OptimizationModel Fine-Tuning
    View on GitHub↗9,997
  • rasbt/llms-from-scratchrasbt avatar

    rasbt/LLMs-from-scratch

    97,260View on GitHub↗

    This repository serves as an educational framework for building large language models from the ground up. It provides a structured curriculum that guides learners through the end-to-end lifecycle of model development, including data processing, architecture design, and optimization. By focusing on low-level implementation, the project enables users to master the fundamental mechanics of artificial intelligence without relying on high-level abstraction frameworks. The project distinguishes itself by constructing neural network components and gradient-based optimization logic from first princip

    This repository provides a comprehensive, hands-on educational framework for implementing transformer architectures and training LLMs from scratch using PyTorch, making it an excellent resource for mastering the fundamental mechanics of the category.

    Jupyter NotebookDeep Learning Implementations
    View on GitHub↗97,260
  • google-research/bertgoogle-research avatar

    google-research/bert

    39,869View on GitHub↗

    This project is a transformer-based language model and natural language processing toolkit designed to generate deep contextual representations of text. By utilizing a transformer-based encoder architecture, the system processes input sequences through stacked self-attention layers to capture the semantic meaning of tokens based on their surrounding sentence structure. The model distinguishes itself through bidirectional contextual processing, which analyzes text in both directions simultaneously, and masked language modeling, which trains the system by predicting hidden tokens within a seque

    This repository provides a foundational implementation of the transformer encoder architecture and includes utilities for tokenization and fine-tuning, making it a classic educational resource for understanding how BERT-style language models are structured and trained.

    PythonTransformer Encoders
    View on GitHub↗39,869
  • huggingface/pefthuggingface avatar

    huggingface/peft

    21,274View on GitHub↗

    This library provides a framework for parameter-efficient fine-tuning, enabling the adaptation of large pretrained models by training only a small subset of parameters. It functions as a distributed model training system and optimization toolkit, designed to reduce the computational and memory requirements typically associated with full model fine-tuning. The project distinguishes itself through a suite of methods for modular adapter composition, including low-rank matrix decomposition and activation-based scaling. It supports the integration of multiple task-specific adapter modules, allowin

    This library provides a specialized framework for parameter-efficient fine-tuning of large language models, offering the core training and optimization capabilities required to adapt pretrained models without the overhead of full-parameter training.

    PythonParameter Efficient Fine-Tuning
    View on GitHub↗21,274
  • packtpublishing/llm-engineers-handbookPacktPublishing avatar

    PacktPublishing/LLM-Engineers-Handbook

    4,774View on GitHub↗

    This project is an educational resource and engineering guide for building, deploying, and optimizing large language model applications and production pipelines. It serves as a blueprint for cloud AI infrastructure, providing a framework for orchestrating inference endpoints, data warehouses, and scalable production environments. The repository provides specific implementation patterns for retrieval augmented generation to ground model responses in external data. It includes a training workflow for crawling, structuring, and processing datasets to facilitate model fine-tuning, alongside an ev

    This repository serves as a comprehensive educational guide and blueprint for building, fine-tuning, and deploying LLM applications, providing the practical engineering patterns and workflows needed to implement these systems from the ground up.

    PythonModel Fine-Tuning
    View on GitHub↗4,774
  • lm-sys/fastchatlm-sys avatar

    lm-sys/FastChat

    39,472View on GitHub↗

    FastChat is a training and serving platform for large language models that provides an integrated toolkit for fine-tuning, hosting, and benchmarking chatbots. It functions as an inference server capable of hosting multiple models and exposing them via a standardized API for chat applications. The platform distinguishes itself through a distributed model controller that manages worker nodes and routes requests across a hardware-agnostic inference layer supporting various accelerators. It includes a dedicated evaluation framework for assessing model quality using automated judges, multi-turn di

    FastChat provides a comprehensive platform for fine-tuning and serving large language models, offering the necessary tools for model training, inference, and benchmarking within a Python-based ecosystem.

    PythonParameter Efficient Fine-Tuning
    View on GitHub↗39,472
  • handsonllm/hands-on-large-language-modelsHandsOnLLM avatar

    HandsOnLLM/Hands-On-Large-Language-Models

    27,059View on GitHub↗

    This project is an educational resource focused on the internal mechanics and design principles of transformer-based neural networks. It provides a structured guide to the fundamental components of generative artificial intelligence, including sequence modeling, semantic embeddings, and the mathematical foundations of large language models. The repository distinguishes itself through a heavy emphasis on visual documentation, utilizing diagrams and step-by-step explanations to clarify how data flows through complex neural architectures. It serves as a technical reference for developers seeking

    This repository provides a comprehensive educational guide and practical tutorials for understanding the architecture, training, and optimization of transformer-based models, making it a valuable resource for learning LLM development from the ground up.

    Jupyter NotebookMulti-Head Attention Mechanisms
    View on GitHub↗27,059
  • pageman/sutskever-30-implementationspageman avatar

    pageman/sutskever-30-implementations

    3,148View on GitHub↗

    This project is a collection of deep learning research implementations and a reproduction kit designed to translate theoretical AI papers into working code. It provides a library of neural network architectures and reference implementations for reproducing seminal research concepts through interactive notebooks. The repository distinguishes itself through the implementation of AI theory and scaling laws, covering complexity dynamics, information theory, and the simulation of universal AI agents. It also includes a benchmarking suite for synthetic reasoning, allowing for the evaluation of mode

    This repository provides a collection of educational implementations and research-focused code for neural network architectures, making it a valuable resource for understanding and building LLM-related components from scratch.

    Jupyter NotebookAttention MechanismsMulti-Head Attention Mechanisms
    View on GitHub↗3,148
  • tensorflow/modelstensorflow avatar

    tensorflow/models

    77,663View on GitHub↗

    This repository serves as a centralized collection of state-of-the-art deep learning architectures and reference implementations designed for research and application development. It provides a comprehensive toolkit for computer vision and natural language processing, offering pre-built models and training pipelines for tasks ranging from image classification and object detection to complex sequence modeling. The project distinguishes itself by providing a flexible execution harness that manages the entire training lifecycle, including data ingestion and backpropagation. It supports scalable

    This repository provides a comprehensive collection of reference implementations and training pipelines for various deep learning architectures, including those relevant to transformer-based language modeling and fine-tuning.

    PythonComputer Vision ModelsDevelopment and Orchestration ToolsDistributed Parameter Synchronisation
    View on GitHub↗77,663
  • tensorflow/tensorflowtensorflow avatar

    tensorflow/tensorflow

    195,697View on GitHub↗

    TensorFlow is a comprehensive machine learning framework designed for the construction, training, and deployment of complex mathematical models. It utilizes a graph-based execution model that represents operations as directed acyclic graphs, enabling automatic differentiation and efficient parallel processing. The system provides high-level interfaces for defining neural network architectures, alongside a robust engine for managing multidimensional array structures and tensor mathematics. The framework distinguishes itself through a scalable distributed runtime that orchestrates workloads acr

    TensorFlow is a foundational deep learning framework that provides the necessary primitives for building transformer architectures, training models, and managing the data pipelines required for LLM development.

    C++FrameworksDeferred-Execution Symbolic GraphsDistributed Training Frameworks
    View on GitHub↗195,697
  • lightning-ai/pytorch-lightningLightning-AI avatar

    Lightning-AI/pytorch-lightning

    31,201View on GitHub↗

    PyTorch Lightning is a deep learning research framework that provides a structured environment for organizing machine learning code. It functions as a unified trainer orchestrator, centralizing the execution flow by managing the interaction between hardware resources, data loaders, and model components. By decoupling model architecture from training logic, the framework enables researchers to maintain clean, modular codebases that remain portable across different environments. The framework distinguishes itself through a hardware-agnostic abstraction layer that scales deep learning workloads

    PyTorch Lightning is a foundational deep learning framework that provides the essential orchestration, distributed training, and hardware abstraction layers required to build and fine-tune large language models from scratch.

    PythonDeep Learning FrameworksModular Training OrchestratorsTraining Orchestrators
    View on GitHub↗31,201
  • roatienza/deep-learning-experimentsroatienza avatar

    roatienza/Deep-Learning-Experiments

    1,192View on GitHub↗

    Deep-Learning-Experiments is an educational resource providing a collection of structured notes and hands-on coding experiments focused on neural network theory and model development. The repository serves as a practical guide for building and optimizing machine learning architectures, ranging from basic perceptrons to modern generative models. The project utilizes interactive notebooks to combine live code with narrative text, allowing users to explore the mathematical principles and architectural concepts behind deep learning. It provides instructional materials that cover the end-to-end ma

    This repository provides a collection of educational Jupyter notebooks and experiments that cover fundamental deep learning concepts, including transformer architectures and NLP tasks, making it a practical resource for learning to implement these models from scratch.

    Jupyter NotebookDeep Learning EducationNeural Network Model ImplementationsNeural Network Theory
    View on GitHub↗1,192
  • ed-donner/llm_engineeringed-donner avatar

    ed-donner/llm_engineering

    4,932View on GitHub↗

    This project is an educational resource and software architecture framework focused on the technical foundations of large language model engineering. It provides a collection of guides and design patterns for building and maintaining professional, scalable systems using large language models. The resource outlines practical implementation patterns for orchestrating workflows that combine prompt engineering, model calls, and vector databases. It focuses on transforming prompt development into a structured engineering process to ensure reliable model outputs in production environments. The cov

    This project provides a structured educational curriculum and set of implementation patterns for building LLM-based systems, making it a relevant resource for learning the practical engineering side of model orchestration and deployment.

    Jupyter NotebookLLM EducationAgentic Reasoning FrameworksAutonomous Agent Development Courses
    View on GitHub↗4,932
  • karpathy/makemorekarpathy avatar

    karpathy/makemore

    3,672View on GitHub↗

    makemore is a character-level language model and text generation engine. It serves as an educational implementation of the architecture and training processes used in large language models, built as a neural network using the PyTorch framework. The system demonstrates sequence prediction by learning the probability distributions of characters within a dataset to generate novel text strings. It implements this through a progression of techniques, including n-gram probability modeling and the use of automatic differentiation for weight optimization. The project covers the full machine learning

    This project provides a hands-on, educational implementation of the core neural network architectures and training processes that underpin modern language models, making it an excellent resource for learning how to build these systems from scratch.

    PythonCharacter-Level ModelsAutoregressive Text GenerationGenerative Model Sampling
    View on GitHub↗3,672
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
yangjianxin1/firefly6.6KPython—Oct 24, 2024
karpathy/nanogpt59.7KPythonMITNov 12, 2025
google/trax
8.3K
Python
Apache-2.0
Sep 26, 2025
datawhalechina/self-llm30.9KJupyter NotebookApache-2.0Jun 3, 2026
jingyaogong/minimind51.8KPythonApache-2.0Jun 1, 2026
hiyouga/llamafactory72.2KPythonApache-2.0Jun 16, 2026
meta-pytorch/torchtune5.8KPythonBSD-3-ClauseJun 16, 2026
huggingface/course3.7KMDXapache-2.0Feb 17, 2026
huggingface/transformers161.6KPythonApache-2.0Jun 16, 2026
nndl/llm-beginner6.4KPython—Jun 1, 2026

Related searches

  • an open source platform for local LLMs
  • a framework for fine-tuning large language models
  • an open source platform for local LLMs
  • a framework for building LLM applications
  • LLM inference and serving
  • an open source model for local inference
  • an open source framework for local LLMs
  • an open source framework for LLM applications