Top Large Language Models repositories

Repositories with the GitHub topic “large-language-models”: 62 repositories with 1.5M stars between them, mostly written in Python, Jupyter Notebook and C++. The highest-rated is rasbt/LLMs-from-scratch, #147 on the bestofgithub Elo ladder.

Biggest movers this week

neuml/txtai

Open on GitHubPython

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

  • 1,752−1 Elo, change today
  • 13.4k stars
  • 1k forks
  • 115 watchers
git
git clone https://github.com/neuml/txtai.git
  • agents
  • ai
  • ai-agents
  • embeddings

GoogleCloudPlatform/generative-ai

Open on GitHubJupyter Notebook

Sample code and notebooks for Generative AI on Google Cloud, with Gemini platform

  • 1,756+27 Elo, change today
  • 17.9k stars
  • 4.5k forks
  • 276 watchers
git
git clone https://github.com/GoogleCloudPlatform/generative-ai.git
  • agents
  • gcp
  • gemini
  • gemini-api

amazon-science/chronos-forecasting

Open on GitHubPython

Chronos: Pretrained Models for Time Series Forecasting

  • 1,526+9 Elo, change today
  • 6.3k stars
  • 772 forks
git
git clone https://github.com/amazon-science/chronos-forecasting.git
  • artificial-intelligence
  • forecasting
  • foundation-models
  • huggingface

datajuicer/data-juicer

Open on GitHubPython

Data processing for and with foundation models! 🍎 🍋 🌽 ➡️ ➡️🍸 🍹 🍷

  • 1,464+5 Elo, change today
  • 7.2k stars
  • 454 forks
git
git clone https://github.com/datajuicer/data-juicer.git
  • data
  • data-analysis
  • data-pipeline
  • data-processing

AI4Finance-Foundation/FinRobot

Open on GitHubPython

FinRobot: An Open-Source AI Agent Platform for Financial Applications using Large Language Models

  • 1,617+17 Elo, change today
  • 8.4k stars
  • 1.4k forks
git
git clone https://github.com/AI4Finance-Foundation/FinRobot.git
  • aiagent
  • chatgpt
  • finance
  • fingpt

SciPhi-AI/R2R

Open on GitHubPython

SoTA production-ready AI retrieval system. Agentic Retrieval-Augmented Generation (RAG) with a RESTful API.

  • 1,480−6 Elo, change today
  • 8k stars
  • 654 forks
git
git clone https://github.com/SciPhi-AI/R2R.git
  • artificial-intelligence
  • large-language-models
  • python
  • question-answering

Top 62 on the Elo ladder

  1. #147
    rasbt/LLMs-from-scratch

    Implement a ChatGPT-like LLM in PyTorch from scratch, step by step

    2,172 Elo +1108kJupyter Notebook
  2. #158
    bojieli/ai-agent-book

    《深入理解 AI Agent:设计原理与工程实践》(李博杰 著)开源主仓库:全书正文、编译版 PDF 与按章配套代码

    2,158 Elo +1558.1kPython
  3. #247
    langflow-ai/langflow

    Langflow is a powerful tool for building and deploying AI-powered agents and workflows.

    2,097 Elo −32156kPython
  4. #327
    agentscope-ai/agentscope

    Build and run agents you can see, understand and trust.

    2,051 Elo −336kPython
  5. #395
    langfuse/langfuse

    🪢 Open source AI engineering platform: AI Gateway, agent observability, evals, and prompt/skill management, built on…

    2,017 Elo +1237.4kTypeScript
  6. #481
    mlabonne/llm-course

    Course to get into Large Language Models (LLMs) with roadmaps and Colab notebooks.

    1,981 Elo −3585.1k
  7. #507
    hiyouga/LlamaFactory

    Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)

    1,972 Elo −1976kPython
  8. #748
    HKUDS/LightRAG

    [EMNLP2025] LightRAG: Simple and Fast Retrieval-Augmented Generation

    1,906 Elo −3740.7kPython
  9. #836
    ray-project/ray

    Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML…

    1,888 Elo −2244.2kPython
  10. #876
    aishwaryanr/awesome-generative-ai-guide

    A one stop repository for generative AI research updates, interview resources, notebooks and much more!

    1,879 Elo −1530.2kHTML
  11. #978
    stefan-jansen/machine-learning-for-trading

    Code for Machine Learning for Trading, 3rd edition — from data sourcing to live execution.

    1,860 Elo −1321.8kJupyter Notebook
  12. #1,125
    HandsOnLLM/Hands-On-Large-Language-Models

    Official code repo for the O'Reilly Book - "Hands-On Large Language Models"

    1,837 Elo −6730.1kJupyter Notebook
  13. #1,153
    GreyDGL/PentestGPT

    Automated Penetration Testing Agentic Framework Powered by Large Language Models

    1,834 Elo +2916.4kPython
  14. #1,159
    deepset-ai/haystack

    Open-source AI orchestration framework for building context-engineered, production-ready LLM applications. Design…

    1,833 Elo +1427kPython
  15. #1,304
    binary-husky/gpt_academic

    为GPT/GLM等LLM大语言模型提供实用化交互接口,特别优化论文阅读/润色/写作体验,模块化设计,支持自定义快捷按钮&函数插件,支持Python和C++等项目剖析&自译解功能,PDF/LaTex论文翻译&总结功能,支持并行问询多种LLM模…

    1,812 Elo −4371.6kPython
  16. #1,320
    stanford-oval/storm

    An LLM-powered knowledge curation system that researches a topic and generates a full-length report with citations.

    1,809 Elo −2731.8kPython
  17. #1,435
    NVIDIA/Megatron-LM

    Ongoing research training transformer models at scale

    1,793 Elo −318.4kPython
  18. #1,506
    FlowiseAI/Flowise

    Build AI Agents, Visually

    1,784 Elo −7955.5kTypeScript
  19. #1,693
    google/langextract

    A Python library for extracting structured information from unstructured text using LLMs with precise source grounding…

    1,761 Elo −6639.3kPython
  20. #1,742
    AI4Finance-Foundation/FinGPT

    FinGPT: Open-Source Financial Large Language Models! Revolutionize 🔥 We release the trained model on HuggingFace.

    1,756 Elo +1421.5kJupyter Notebook
  21. #1,746
    GoogleCloudPlatform/generative-ai

    Sample code and notebooks for Generative AI on Google Cloud, with Gemini platform

    1,756 Elo +6317.9kJupyter Notebook
  22. #1,779
    neuml/txtai

    💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

    1,752 Elo +17013.4kPython
  23. #1,826
    dipakkr/awesome-ai-engineering

    🚀 A curated collection of AI engineering resources, roadmaps, tools, and projects covering LLMs, RAG, AI Agents, MCP…

    1,747 Elo −3322.5k
  24. #1,856
    FareedKhan-dev/train-llm-from-scratch

    A straightforward method for training your LLM, from downloading data to generating text.

    1,744 Elo +2413.2kPython
  25. #2,196
    steven2358/awesome-generative-ai

    A curated list of modern Generative Artificial Intelligence projects and services

    1,706 Elo +1612.8k
  26. #2,384
    QwenLM/Qwen

    The official repo of Qwen (通义千问) chat & pretrained large language model proposed by Alibaba Cloud.

    1,687 Elo −3422kPython
  27. #2,539
    stas00/ml-engineering

    Machine Learning Engineering Open Book

    1,672 Elo −119.7kPython
  28. #2,568
    KalyanKS-NLP/llm-engineer-toolkit

    A curated list of 120+ LLM libraries category wise.

    1,670 Elo −1811k
  29. #3,230
    camel-ai/camel

    🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

    1,621 Elo −2518kPython
  30. #3,307
    AI4Finance-Foundation/FinRobot

    FinRobot: An Open-Source AI Agent Platform for Financial Applications using Large Language Models

    1,617 Elo +418.4kPython
  31. #4,260
    BradyFU/Awesome-Multimodal-Large-Language-Models

    :sparkles::sparkles:Latest Advances on Multimodal Large Language Models

    1,559 Elo −818k
  32. #4,334
    The-Pocket/PocketFlow-Tutorial-Codebase-Knowledge

    Pocket Flow: Codebase to Tutorial

    1,554 Elo −1212.7kPython
  33. #4,361
    NVIDIA/DeepLearningExamples

    State-of-the-Art Deep Learning scripts organized by models - easy to train and deploy with reproducible accuracy and…

    1,553 Elo −1414.8kJupyter Notebook
  34. #4,389
    OpenMOSS/MOSS

    An open-source, tool-augmented conversational language model from Fudan University

    1,551 Elo −612.3kPython
  35. #4,512
    albertan017/LLM4Decompile

    Reverse Engineering: Decompiling Binary Code with Large Language Models

    1,544 Elo +177.2kPython
  36. #4,780
    Lightning-AI/litgpt

    20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.

    1,530 Elo −4513.7kPython
  37. #4,862
    amazon-science/chronos-forecasting

    Chronos: Pretrained Models for Time Series Forecasting

    1,526 Elo +456.3kPython
  38. #4,903
    The-Pocket/PocketFlow

    Pocket Flow: 100-line LLM framework. Let Agents build Agents!

    1,524 Elo −911.3kPython
  39. #5,144
    OpenRLHF/OpenRLHF

    An Easy-to-use, Scalable and High-performance Agentic RL Framework based on Ray (PPO & DAPO & REINFORCE++ & VLM & TIS…

    1,512 Elo +1410.1kPython
  40. #5,153
    bigscience-workshop/petals

    🌸 Run LLMs at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading

    1,512 Elo +110.7kPython
  41. #5,253
    WangRongsheng/awesome-LLM-resources

    🧑‍🚀 全世界最好的LLM资料总结(多模态生成、Agent、辅助编程、AI审稿、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM…

    1,507 Elo +309k
  42. #5,279
    ymcui/Chinese-LLaMA-Alpaca

    中文LLaMA&Alpaca大语言模型+本地CPU/GPU训练部署 (Chinese LLaMA & Alpaca LLMs)

    1,506 Elo −5718.9kPython
  43. #5,763
    Tiiny-AI/PowerInfer

    High-speed Large Language Model Serving for Local Deployment

    1,484 Elo +219.8kC++
  44. #5,845
    SciPhi-AI/R2R

    SoTA production-ready AI retrieval system. Agentic Retrieval-Augmented Generation (RAG) with a RESTful API.

    1,480 Elo +398kPython
  45. #5,964
    sapientinc/HRM

    Hierarchical Reasoning Model Official Release

    1,475 Elo −3912.6kPython
  46. #6,019
    zai-org/ChatGLM2-6B

    ChatGLM2-6B: An Open Bilingual Chat LLM | 开源双语对话语言模型

    1,473 Elo −3315.4kPython
  47. #6,211
    datajuicer/data-juicer

    Data processing for and with foundation models! 🍎 🍋 🌽 ➡️ ➡️🍸 🍹 🍷

    1,464 Elo +427.2kPython
  48. #6,430
    yzhao062/anomaly-detection-resources

    Anomaly detection related books, papers, videos, and toolboxes. Last update late 2025 for LLM and VLM works!

    1,455 Elo −59.4kPython
  49. #6,794
    eugeneyan/open-llms

    📋 A list of open LLMs available for commercial use.

    1,441 Elo −2112.8k
  50. #7,150
    RUCAIBox/LLMSurvey

    The official GitHub page for the survey paper "A Survey of Large Language Models".

    1,428 Elo −2412.2kPython
  51. #7,310
    MineDojo/Voyager

    An Open-Ended Embodied Agent with Large Language Models

    1,421 Elo +97.3kJavaScript
  52. #7,719
    tensorzero/tensorzero

    TensorZero is an open-source LLMOps platform that unifies an LLM gateway, observability, evaluation, optimization, and…

    1,406 Elo −2611.7kRust
  53. #7,842
    activeloopai/deeplake

    Deeplake is AI Data Runtime for Agents. It provides serverless postgres with a multimodal datalake, enabling scalable…

    1,402 Elo +149.2kC++
  54. #7,870
    Mooler0410/LLMsPracticalGuide

    A curated list of practical guide resources of LLMs (LLMs Tree, Examples, Papers)

    1,400 Elo −410.2k
  55. #8,601
    Eigenwise/atomic-agents

    Building AI agents, atomically

    1,371 Elo +156.3kPython
  56. #8,604
    FoundationVision/VAR

    [NeurIPS 2024 Best Paper Award][GPT beats diffusion🔥] [scaling laws in visual generation📈] Official impl. of "Visual…

    1,370 Elo +58.7kJupyter Notebook
  57. #9,115
    FMInference/FlexLLMGen

    Running large language models on a single GPU for throughput-oriented scenarios.

    1,344 Elo −259.3kPython
  58. #9,264
    WooooDyy/LLM-Agent-Paper-List

    The paper list of the 86-page SCIS cover paper "The Rise and Potential of Large Language Model Based Agents: A Survey"…

    1,335 Elo −148.2k
  59. #9,329
    01-ai/Yi

    A series of large language models trained from scratch by developers @01-ai

    1,331 Elo −37.8kJupyter Notebook
  60. #9,334
    nebuly-ai/optimate

    A collection of libraries to optimise AI model performances

    1,331 Elo −158.3kPython
  61. #9,604
    ymcui/Chinese-LLaMA-Alpaca-2

    中文LLaMA-2 & Alpaca-2大模型二期项目 + 64K超长上下文模型 (Chinese LLaMA-2 & Alpaca-2 LLMs with 64K long context models)

    1,306 Elo −177kPython
  62. #9,697
    QwenLM/Qwen-VL

    The official repo of Qwen-VL (通义千问-VL) chat & pretrained large vision language model proposed by Alibaba Cloud.

    1,294 Elo +56.7kPython