Doing simple retrieval from LLM models at various context lengths to measure accuracy
☆2,362Jun 8, 2026Updated 2 months ago
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,218Jan 15, 2025Updated last year
- Implementation of paper Data Engineering for Scaling Language Models to 128K Context☆501Mar 19, 2024Updated 2 years ago
- Codes for the paper "∞Bench: Extending Long Context Evaluation Beyond 100K Tokens": https://arxiv.org/abs/2402.13718☆388Sep 25, 2024Updated last year
- This repo contains the source code for RULER: What’s the Real Context Size of Your Long-Context Language Models?☆1,597Jul 22, 2026Updated 2 weeks ago
- A framework for few-shot evaluation of language models.☆13,579Updated this week
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- [EMNLP 2024] LongAlign: A Recipe for Long Context Alignment of LLMs☆262Dec 16, 2024Updated last year
- [ACL'24 Outstanding] Data and code for L-Eval, a comprehensive long context language models evaluation benchmark☆406Jul 9, 2024Updated 2 years ago
- YaRN: Efficient Context Window Extension of Large Language Models☆1,747Apr 17, 2024Updated 2 years ago
- BABILong is a benchmark for LLM evaluation using the needle-in-a-haystack approach.☆253Jun 1, 2026Updated 2 months ago
- Positional Skip-wise Training for Efficient Context Window Extension of LLMs to Extremely Length (ICLR 2024)☆208May 20, 2024Updated 2 years ago
- Counting-Stars (★)☆83Nov 24, 2025Updated 8 months ago
- open-source code for paper: Retrieval Head Mechanistically Explains Long-Context Factuality☆242Aug 2, 2024Updated 2 years ago
- Robust recipes to align language models with human and AI preferences☆5,657May 26, 2026Updated 2 months ago
- Homepage for ProLong (Princeton long-context language models) and paper "How to Train Long-Context Language Models (Effectively)"☆262Sep 12, 2025Updated 10 months ago
- Bare Metal GPUs on DigitalOcean Gradient AI • AdPurpose-built for serious AI teams training foundational models, running large-scale inference, and pushing the boundaries of what's possible.
- Fast and memory-efficient exact attention☆24,658Updated this week
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆7,258Jul 11, 2024Updated 2 years ago
- Official repository for LongChat and LongEval☆536May 24, 2024Updated 2 years ago
- 📰 Must-read papers and blogs on LLM based Long Context Modeling 🔥☆2,160Updated this week
- ACL 2024 | LooGLE: Long Context Evaluation for Long-Context Language Models☆199Updated this week
- An automatic evaluator for instruction-following language models. Human-validated, high-quality, cheap, and fast.☆2,010Aug 9, 2025Updated last year
- [ICML'24] Data and code for our paper "Training-Free Long-Context Scaling of Large Language Models"☆450Oct 16, 2024Updated last year
- An Easy-to-use, Scalable and High-performance Agentic RL Framework based on Ray (PPO & DAPO & REINFORCE++ & VLM & TIS & vLLM & Ray & Asy…☆9,898Jul 14, 2026Updated 3 weeks ago
- Tools for merging pretrained large language models.☆7,288Jun 17, 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"☆389Jan 4, 2024Updated 2 years ago
- Memory optimization and training recipes to extrapolate language models' context length to 1 million tokens, with minimal hardware.☆761Sep 27, 2024Updated last year
- Code and documents of LongLoRA and LongAlpaca (ICLR 2024 Oral)☆2,689Aug 14, 2024Updated last year
- Train transformer language models with reinforcement learning.☆19,030Updated this week
- verl/HybridFlow: A Flexible and Efficient RL Post-Training Framework☆22,877Updated this week
- AllenAI's post-training codebase☆3,821Updated this week
- [NeurIPS'24 Spotlight, ICLR'25, ICML'25] To speed up Long-context LLMs' inference, approximate and dynamic sparse calculate the attention…☆1,225Apr 8, 2026Updated 4 months ago
- Minimalistic large language model 3D-parallelism training☆2,779May 26, 2026Updated 2 months ago
- Benchmarking large language models' complex reasoning ability with chain-of-thought prompting☆2,774Aug 4, 2024Updated 2 years ago
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- OpenCompass is an LLM evaluation platform, supporting a wide range of models (Llama3, Mistral, InternLM2,GPT-4,LLaMa2, Qwen,GLM, Claude, …☆7,287Updated this week
- Lighteval is your all-in-one toolkit for evaluating LLMs across multiple backends☆2,510Jun 29, 2026Updated last month
- Medusa: Simple Framework for Accelerating LLM Generation with Multiple Decoding Heads☆2,762Jun 25, 2024Updated 2 years ago
- Ring attention implementation with flash attention☆1,045Sep 10, 2025Updated 11 months ago
- [ICML'24 Spotlight] LLM Maybe LongLM: Self-Extend LLM Context Window Without Tuning☆668Jun 1, 2024Updated 2 years ago
- ☆328Jul 10, 2025Updated last year
- An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.☆39,518May 1, 2026Updated 3 months ago