Open-source AI repos
Open-source AI, all in one place.
13,356 open-source AI repositories for learning, teaching, research and building. Kept up to date by the community: anyone can add a repo with a pull request.
18 repos matching “long-context”
Learn AI
Stars:2.2kAwesome-LLM-Long-Context-Modeling
Must-read papers and blogs on LLM based Long Context Modeling
MIT · updated 18 days agoDetails›Chat interfaces
Stars:7.6kopencompass
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.
Python · Apache-2.0 · updated 13 days agoDetails›Chat interfaces
Stars:7.3kInternLM
Official release of InternLM series (InternLM, InternLM2, InternLM2.5, InternLM3).
Python · Apache-2.0 · updated 1 year agoDetails›Image generation
Stars:2.7kLongLoRA
Code and documents of LongLoRA and LongAlpaca (ICLR 2024 Oral)
Python · Apache-2.0 · updated 2 years agoDetails›Run models locally
Stars:2.2kMoBA
MoBA: Mixture of Block Attention for Long-Context LLMs
Python · MIT · updated 1 year agoDetails›Open models
Stars:1.9kLongWriter
[ICLR 2025] LongWriter: Unleashing 10,000+ Word Generation from Long Context LLMs
Python · Apache-2.0 · updated 1 year agoDetails›Robotics & driving
Stars:1.6kmemorilla
🦍 Memorilla: Latent Semantic Memory for LLMs
Python · Apache-2.0 · updated 10 days agoDetails›Run models locally
Stars:1.3kkvpress
LLM KV cache compression made easy
Python · Apache-2.0 · updated 15 days agoDetails›Open models
Stars:831LongMem
Official implementation of our NeurIPS 2023 paper "Augmenting Language Models with Long-Term Memory".
Python · Apache-2.0 · updated 2 years agoDetails›Open models
Stars:778ringattention
Large Context Attention
Python · Apache-2.0 · updated 1 year agoDetails›Open models
Stars:659MEGABYTE-pytorch
Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch
Python · MIT · updated 1 year agoDetails›Open models
Stars:523LongCite
LongCite: Enabling LLMs to Generate Fine-grained Citations in Long-context QA
Python · Apache-2.0 · updated 1 year agoDetails›Run models locally
Stars:521KVarN
KVarN is a native vLLM KV-cache quantization backend for your agents: 3-5x more context, throughput above FP16, and FP16-level accuracy. Calibration-free, one flag.
Python · Apache-2.0 · updated 5 months agoDetails›LLM & RAG frameworks
Stars:426recurrent-memory-transformer-pytorch
Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch
Python · MIT · updated 1 year agoDetails›Open models
Stars:406InfLLM
The code of our paper "InfLLM: Unveiling the Intrinsic Capacity of LLMs for Understanding Extremely Long Sequences with Training-Free Memory"
Python · MIT · updated 2 years agoDetails›Skills & prompts
Stars:395prompt-tower
Context management for long-context LLMs, agents, and vibe coding. Instantly build context for an entire repo, selected files, folders, and GitHub issues to generate structured AI-XML context with real-time token counting.
TypeScript · AGPL-3.0 · updated 11 months agoDetails›Open models
Stars:394InfiniteBench
Codes for the paper "∞Bench: Extending Long Context Evaluation Beyond 100K Tokens": https://arxiv.org/abs/2402.13718
Python · MIT · updated 2 years agoDetails›MCP servers
Stars:264TOMC
TOMC Memory: CPU context compression and task memory for Codex, Claude Code, Cursor, TRAE, WorkBuddy and other MCP clients.
Python · MIT · updated 10 days agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.