Doing simple retrieval from LLM models at various context lengths to measure accuracy
☆2,306May 30, 2026Updated last week
Alternatives and similar repositories for needle-in-a-haystack
Users that are interested in needle-in-a-haystack are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- LongBench v2 and LongBench (ACL 25'&24')☆1,185Jan 15, 2025Updated last year
- Implementation of paper Data Engineering for Scaling Language Models to 128K Context☆496Mar 19, 2024Updated 2 years ago
- Codes for the paper "∞Bench: Extending Long Context Evaluation Beyond 100K Tokens": https://arxiv.org/abs/2402.13718☆386Sep 25, 2024Updated last year
- A framework for few-shot evaluation of language models.☆12,783May 11, 2026Updated 3 weeks ago
- This repo contains the source code for RULER: What’s the Real Context Size of Your Long-Context Language Models?☆1,552Nov 13, 2025Updated 6 months ago
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- [EMNLP 2024] LongAlign: A Recipe for Long Context Alignment of LLMs☆261Dec 16, 2024Updated last year
- YaRN: Efficient Context Window Extension of Large Language Models☆1,724Apr 17, 2024Updated 2 years ago
- [ACL'24 Outstanding] Data and code for L-Eval, a comprehensive long context language models evaluation benchmark☆404Jul 9, 2024Updated last year
- BABILong is a benchmark for LLM evaluation using the needle-in-a-haystack approach.☆249Jun 1, 2026Updated last week
- Counting-Stars (★)☆83Nov 24, 2025Updated 6 months ago
- Positional Skip-wise Training for Efficient Context Window Extension of LLMs to Extremely Length (ICLR 2024)☆209May 20, 2024Updated 2 years ago
- open-source code for paper: Retrieval Head Mechanistically Explains Long-Context Factuality☆240Aug 2, 2024Updated last year
- 📰 Must-read papers and blogs on LLM based Long Context Modeling 🔥☆2,111Updated this week
- Robust recipes to align language models with human and AI preferences☆5,604May 26, 2026Updated 2 weeks ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- An Easy-to-use, Scalable and High-performance Agentic RL Framework based on Ray (PPO & DAPO & REINFORCE++ & VLM & TIS & vLLM & Ray & Asy…☆9,594May 28, 2026Updated last week
- Homepage for ProLong (Princeton long-context language models) and paper "How to Train Long-Context Language Models (Effectively)"☆253Sep 12, 2025Updated 8 months ago
- Fast and memory-efficient exact attention☆24,037Updated this week
- ACL 2024 | LooGLE: Long Context Evaluation for Long-Context Language Models☆195Oct 8, 2024Updated last year
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆7,230Jul 11, 2024Updated last year
- Official repository for LongChat and LongEval☆534May 24, 2024Updated 2 years ago
- An automatic evaluator for instruction-following language models. Human-validated, high-quality, cheap, and fast.☆1,993Aug 9, 2025Updated 10 months ago
- [ICML'24] Data and code for our paper "Training-Free Long-Context Scaling of Large Language Models"☆450Oct 16, 2024Updated last year
- Tools for merging pretrained large language models.☆7,108May 6, 2026Updated last month
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Code and data for "Lost in the Middle: How Language Models Use Long Contexts"☆383Jan 4, 2024Updated 2 years ago
- verl/HybridFlow: A Flexible and Efficient RL Post-Training Framework☆21,699Jun 2, 2026Updated last week
- Code and documents of LongLoRA and LongAlpaca (ICLR 2024 Oral)☆2,692Aug 14, 2024Updated last year
- Memory optimization and training recipes to extrapolate language models' context length to 1 million tokens, with minimal hardware.☆760Sep 27, 2024Updated last year
- Train transformer language models with reinforcement learning.☆18,547Updated this week
- A high-throughput and memory-efficient inference and serving engine for LLMs☆81,909Updated this week
- SGLang is a high-performance serving framework for large language models and multimodal models.☆28,886Updated this week
- AllenAI's post-training codebase☆3,740Jun 1, 2026Updated last week
- [NeurIPS'24 Spotlight, ICLR'25, ICML'25] To speed up Long-context LLMs' inference, approximate and dynamic sparse calculate the attention…☆1,219Apr 8, 2026Updated 2 months ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- OpenCompass is an LLM evaluation platform, supporting a wide range of models (Llama3, Mistral, InternLM2,GPT-4,LLaMa2, Qwen,GLM, Claude, …☆7,056Updated this week
- Minimalistic large language model 3D-parallelism training☆2,711May 26, 2026Updated 2 weeks ago
- Benchmarking large language models' complex reasoning ability with chain-of-thought prompting☆2,773Aug 4, 2024Updated last year
- Medusa: Simple Framework for Accelerating LLM Generation with Multiple Decoding Heads☆2,748Jun 25, 2024Updated last year
- [ICML'24 Spotlight] LLM Maybe LongLM: Self-Extend LLM Context Window Without Tuning☆666Jun 1, 2024Updated 2 years ago
- Lighteval is your all-in-one toolkit for evaluating LLMs across multiple backends☆2,437May 29, 2026Updated last week
- Ring attention implementation with flash attention☆1,024Sep 10, 2025Updated 8 months ago