Python large-language-model

Open-source Python projects categorized as large-language-model

Top 23 Python large-language-model Projects

large-language-model
  1. minimind

    🧠 Train a 64M-parameter LLM from scratch in just 2h!

    Project mention: MiniMind: End-to-end GPT-style LLM training pipeline in pure PyTorch | news.ycombinator.com | 2026-03-23
  2. AppSignal

    AppSignal knows why the f*#k it crashed. Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise.

    AppSignal logo
  3. Scrapegraph-ai

    Python scraper based on AI

  4. PocketFlow-Tutorial-Codebase-Knowledge

    Pocket Flow: Codebase to Tutorial

    Project mention: Beyond Code Generation: LLMs for Code Understanding | dev.to | 2026-01-02

    My exploration of LLM-based tools for code understanding started with DeepWiki, which I have been using since its early release. As my interest shifted toward analyzing private repositories and experimenting more deeply with the underlying mechanics, I began looking for open-source alternatives. This led me to deepwiki-rs and later OpenDeepWiki. After starring OpenDeepWiki on GitHub, one of the authors of Davia reached out, which introduced me to a different, more collaborative approach to AI-assisted documentation. I later encountered PocketFlow Tutorial Codebase Knowledge through a technical report, and finally Google Code Wiki when it was publicly announced, which I followed closely given its enterprise positioning.

  5. PocketFlow

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

    Project mention: Porting from PocketFlow to Ambler TS | dev.to | 2026-05-19

    git submodule add https://github.com/The-Pocket/PocketFlow.git vendor/pocketflow

  6. KAG

    KAG is a logical form-guided reasoning and retrieval framework based on OpenSPG engine and LLMs. It is used to build logical reasoning and factual Q&A solutions for professional domain knowledge bases. It can effectively overcome the shortcomings of the traditional RAG vector similarity calculation model.

    Project mention: The AI-Native GraphDB + GraphRAG + Graph Memory Landscape & Market Catalog | dev.to | 2025-10-26

    KAG (OpenSPG) - github.com/OpenSPG/KAG

  7. opencompass

    OpenCompass is an LLM evaluation platform, supporting a wide range of models from OpenAI, Anthropic, Gemini, Qwen, GLM, DeepSeek, etc, across 100+ datasets covering knowledge, reasoning, coding, science, language, long-context, and safety.

  8. InternLM

    Official release of InternLM series (InternLM, InternLM2, InternLM2.5, InternLM3).

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. atomic-agents

    Building AI agents, atomically

    Project mention: The Plugin That Turns Your Claude Code into a Continuously Self-Improving Monster | dev.to | 2026-10-03

    And if you want this inside your own company, that’s what I do for a living. I built Atomic Agents and everything in this series, and I work with anyone who wants their AI spend to actually pay off: a solo developer, a team of five, or an engineering org that bought the licenses and is still waiting for the productivity. I train teams on AI-assisted development, build the plugins, hooks, and routing that make Claude Code productive on your own codebase and your own model budget, and audit a setup that isn’t delivering and tell you why. A one-day workshop or a standing engagement, whatever fits. Reach out and tell me what you’re stuck on.

  11. tiny-llm

    learn LLM inference system on Apple Silicon for systems engineers: build a tiny vLLM + Qwen

  12. matmulfreellm

    Implementation for MatMul-free LM.

  13. LISA

    Project Page for "LISA: Reasoning Segmentation via Large Language Model"

  14. home-llm

    A Home Assistant integration & Model to control your smart home using a Local LLM

  15. EasyJailbreak

    An easy-to-use Python framework to generate adversarial jailbreak prompts.

  16. Awesome-Story-Generation

    This repository collects an extensive list of awesome papers about Story Generation / Storytelling, exclusively focusing on the era of Large Language Models (LLMs).

  17. multilspy

    multilspy is a lsp client library in Python intended to be used to build applications around language servers.

  18. LLM-API-Key-Proxy

    Universal LLM Gateway: One API, every LLM. OpenAI/Anthropic-compatible endpoints with multi-provider translation and intelligent load-balancing.

    Project mention: LLM-API-Key-Proxy: Universal LLM Gateway: One API, Every LLM | news.ycombinator.com | 2025-12-24
  19. picollm

    On-device LLM Inference Powered by X-Bit Quantization

  20. GenRead

    Code and Checkpoints for "Generate rather than Retrieve: Large Language Models are Strong Context Generators" in ICLR 2023.

    Project mention: TIL: Notes on Knowledge Retrieval Architecture for LLMs (2023) | dev.to | 2026-01-11
  21. MixEval

    The official evaluation suite and dynamic data release for MixEval.

  22. LLaMA-8bit-LoRA

    Repository for Chat LLaMA - training a LoRA for the LLaMA (1 or 2) models on HuggingFace with 8-bit or 4-bit quantization. Research only.

  23. chat-llama-discord-bot

    A Discord Bot for chatting with LLaMA, Vicuna, Alpaca, MPT, or any other Large Language Model (LLM) supported by text-generation-webui or llama.cpp.

  24. multimind-sdk

    Your SDK solves all of this. One interface. Unified logic. Local + hosted models. Fine-tuning. Agent tools. Enterprise-ready. Hybrid RAG.Star 🌟 if you like it!

  25. circle-guard-bench

    First-of-its-kind AI benchmark for evaluating the protection capabilities of large language model (LLM) guard systems (guardrails and safeguards)

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python large-language-model discussion

Log in or Post with

Python large-language-model related posts

Index

What are some of the best open-source large-language-model projects in Python? This list will help you:

# Project Stars
1 minimind 63,417
2 Scrapegraph-ai 31,659
3 PocketFlow-Tutorial-Codebase-Knowledge 12,699
4 PocketFlow 11,228
5 KAG 9,082
6 opencompass 7,503
7 InternLM 7,278
8 atomic-agents 6,281
9 tiny-llm 4,763
10 matmulfreellm 3,093
11 LISA 2,671
12 home-llm 1,448
13 EasyJailbreak 917
14 Awesome-Story-Generation 662
15 multilspy 612
16 LLM-API-Key-Proxy 556
17 picollm 318
18 GenRead 293
19 MixEval 254
20 LLaMA-8bit-LoRA 149
21 chat-llama-discord-bot 119
22 multimind-sdk 97
23 circle-guard-bench 81

Sponsored
AppSignal knows why the f*#k it crashed.
Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise.
www.appsignal.com

Did you know that Python is
the 1st most popular programming language
based on number of references?