Doing simple retrieval from LLM models at various context lengths to measure accuracy
☆2,386Jun 8, 2026Updated 3 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,238Jan 15, 2025Updated last year
- Implementation of paper Data Engineering for Scaling Language Models to 128K Context☆499Mar 19, 2024Updated 2 years ago
- Codes for the paper "∞Bench: Extending Long Context Evaluation Beyond 100K Tokens": https://arxiv.org/abs/2402.13718☆393Sep 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,618Jul 22, 2026Updated last month
- A framework for few-shot evaluation of language models.☆14,017Updated this week
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- [EMNLP 2024] LongAlign: A Recipe for Long Context Alignment of LLMs☆264Dec 16, 2024Updated last year
- [ACL'24 Outstanding] Data and code for L-Eval, a comprehensive long context language models evaluation benchmark☆407Jul 9, 2024Updated 2 years ago
- YaRN: Efficient Context Window Extension of Large Language Models☆1,788Apr 17, 2024Updated 2 years ago
- BABILong is a benchmark for LLM evaluation using the needle-in-a-haystack approach.☆257Jun 1, 2026Updated 3 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 (★)☆84Nov 24, 2025Updated 9 months ago
- open-source code for paper: Retrieval Head Mechanistically Explains Long-Context Factuality☆241Aug 2, 2024Updated 2 years ago
- Robust recipes to align language models with human and AI preferences☆5,680Updated this week
- Homepage for ProLong (Princeton long-context language models) and paper "How to Train Long-Context Language Models (Effectively)"☆266Sep 12, 2025Updated last year
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Fast and memory-efficient exact attention☆24,966Updated this week
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆7,267Jul 11, 2024Updated 2 years ago
- Official repository for LongChat and LongEval☆535May 24, 2024Updated 2 years ago
- 📰 Must-read papers and blogs on LLM based Long Context Modeling 🔥☆2,172Aug 17, 2026Updated last month
- ACL 2024 | LooGLE: Long Context Evaluation for Long-Context Language Models☆200Aug 6, 2026Updated last month
- An automatic evaluator for instruction-following language models. Human-validated, high-quality, cheap, and fast.☆2,015Aug 9, 2025Updated last year
- An Easy-to-use, Scalable and High-performance Agentic RL Framework based on Ray (PPO & DAPO & REINFORCE++ & VLM & TIS & vLLM & Ray & Asy…☆10,015Updated this week
- [ICML'24] Data and code for our paper "Training-Free Long-Context Scaling of Large Language Models"☆449Oct 16, 2024Updated last year
- Tools for merging pretrained large language models.☆7,357Sep 12, 2026Updated last week
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Code and data for "Lost in the Middle: How Language Models Use Long Contexts"☆393Jan 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,688Aug 14, 2024Updated 2 years ago
- Train transformer language models with reinforcement learning.☆19,339Updated this week
- verl/HybridFlow: A Flexible and Efficient RL Post-Training Framework☆23,487Updated this week
- AllenAI's post-training codebase☆3,872Updated this week
- [NeurIPS'24 Spotlight, ICLR'25, ICML'25] To speed up Long-context LLMs' inference, approximate and dynamic sparse calculate the attention…☆1,229Sep 10, 2026Updated last week
- Minimalistic large language model 3D-parallelism training☆2,825Updated this week
- Benchmarking large language models' complex reasoning ability with chain-of-thought prompting☆2,776Aug 4, 2024Updated 2 years 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.
- OpenCompass is an LLM evaluation platform, supporting a wide range of models (Llama3, Mistral, InternLM2,GPT-4,LLaMa2, Qwen,GLM, Claude, …☆7,453Updated this week
- Lighteval is your all-in-one toolkit for evaluating LLMs across multiple backends☆2,545Updated this week
- Medusa: Simple Framework for Accelerating LLM Generation with Multiple Decoding Heads☆2,772Jun 25, 2024Updated 2 years ago
- Ring attention implementation with flash attention☆1,057Sep 10, 2025Updated last year
- [ICML'24 Spotlight] LLM Maybe LongLM: Self-Extend LLM Context Window Without Tuning☆668Jun 1, 2024Updated 2 years ago
- ☆333Jul 10, 2025Updated last year
- An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.☆39,538May 1, 2026Updated 4 months ago