Doing simple retrieval from LLM models at various context lengths to measure accuracy
☆2,346Jun 8, 2026Updated last month
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,212Jan 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☆387Sep 25, 2024Updated last year
- A framework for few-shot evaluation of language models.☆13,340Jul 13, 2026Updated last week
- This repo contains the source code for RULER: What’s the Real Context Size of Your Long-Context Language Models?☆1,582Jun 25, 2026Updated 3 weeks ago
- 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.
- [EMNLP 2024] LongAlign: A Recipe for Long Context Alignment of LLMs☆261Dec 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,737Apr 17, 2024Updated 2 years ago
- BABILong is a benchmark for LLM evaluation using the needle-in-a-haystack approach.☆250Jun 1, 2026Updated last month
- Counting-Stars (★)☆83Nov 24, 2025Updated 7 months ago
- Positional Skip-wise Training for Efficient Context Window Extension of LLMs to Extremely Length (ICLR 2024)☆208May 20, 2024Updated 2 years ago
- open-source code for paper: Retrieval Head Mechanistically Explains Long-Context Factuality☆241Aug 2, 2024Updated last year
- 📰 Must-read papers and blogs on LLM based Long Context Modeling 🔥☆2,146Jul 1, 2026Updated 2 weeks ago
- Robust recipes to align language models with human and AI preferences☆5,639May 26, 2026Updated last month
- 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.
- An Easy-to-use, Scalable and High-performance Agentic RL Framework based on Ray (PPO & DAPO & REINFORCE++ & VLM & TIS & vLLM & Ray & Asy…☆9,828Jul 14, 2026Updated last week
- Homepage for ProLong (Princeton long-context language models) and paper "How to Train Long-Context Language Models (Effectively)"☆260Sep 12, 2025Updated 10 months ago
- Fast and memory-efficient exact attention☆24,497Updated this week
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆7,248Jul 11, 2024Updated 2 years ago
- Official repository for LongChat and LongEval☆536May 24, 2024Updated 2 years ago
- ACL 2024 | LooGLE: Long Context Evaluation for Long-Context Language Models☆199Oct 8, 2024Updated last year
- An automatic evaluator for instruction-following language models. Human-validated, high-quality, cheap, and fast.☆2,005Aug 9, 2025Updated 11 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,246Jun 17, 2026Updated last month
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- Code and data for "Lost in the Middle: How Language Models Use Long Contexts"☆385Jan 4, 2024Updated 2 years ago
- Code and documents of LongLoRA and LongAlpaca (ICLR 2024 Oral)☆2,689Aug 14, 2024Updated last year
- Memory optimization and training recipes to extrapolate language models' context length to 1 million tokens, with minimal hardware.☆759Sep 27, 2024Updated last year
- Train transformer language models with reinforcement learning.☆18,892Updated this week
- verl/HybridFlow: A Flexible and Efficient RL Post-Training Framework☆22,571Updated this week
- AllenAI's post-training codebase☆3,801Updated this week
- [NeurIPS'24 Spotlight, ICLR'25, ICML'25] To speed up Long-context LLMs' inference, approximate and dynamic sparse calculate the attention…☆1,221Apr 8, 2026Updated 3 months ago
- Benchmarking large language models' complex reasoning ability with chain-of-thought prompting☆2,777Aug 4, 2024Updated last year
- Minimalistic large language model 3D-parallelism training☆2,755May 26, 2026Updated last month
- 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.
- OpenCompass is an LLM evaluation platform, supporting a wide range of models (Llama3, Mistral, InternLM2,GPT-4,LLaMa2, Qwen,GLM, Claude, …☆7,218Updated this week
- Lighteval is your all-in-one toolkit for evaluating LLMs across multiple backends☆2,486Jun 29, 2026Updated 3 weeks ago
- Medusa: Simple Framework for Accelerating LLM Generation with Multiple Decoding Heads☆2,757Jun 25, 2024Updated 2 years ago
- Ring attention implementation with flash attention☆1,037Sep 10, 2025Updated 10 months ago
- [ICML'24 Spotlight] LLM Maybe LongLM: Self-Extend LLM Context Window Without Tuning☆668Jun 1, 2024Updated 2 years ago
- ☆324Jul 10, 2025Updated last year
- An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.☆39,494May 1, 2026Updated 2 months ago