chroma-core/context-rot
소개
This repository contains the toolkit for replicating results from our technical report.
AI 및 머신러닝측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +2
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalContext Rot: How Increasing Input Tokens Impacts LLM Performance
This repository contains the toolkit for replicating results from our technical report.
Motivation
Large Language Models (LLMs) are typically presumed to process context uniformly—that is, the model should handle the 10,000th token just as reliably as the 100th. However, in practice, this assumption does not hold. We observe that model performance varies significantly as input length changes, even on simple tasks.

Latest Models on Repeated Words Task
Experiments
Our experiments are organized under the experiments/ folder:
1. NIAH Extension (experiments/niah_extension/)
Extension of Needle in a Haystack to examine the effects of needles with semantic, rather than direct lexical matches, as well as the effects of introducing variations to the haystack content.
2. LongMemEval (experiments/longmemeval/)
LongMemEval task.
3. Repeated Words (experiments/repeated_words/)
Tests model performance on replicating a sequence of repeated words.
Each experiment contains detailed instructions in their respective README.md files.
Data
Datasets can be downloaded here.
Quick Start
Clone the repository
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activateInstall dependencies:
pip install -r requirements.txtSet up environment variables:
- OpenAI:
OPENAI_API_KEY - Anthropic:
ANTHROPIC_API_KEY - Google:
GOOGLE_APPLICATION_CREDENTIALSandGOOGLE_MODEL_PATH
- OpenAI:
Navigate to specific experiment folder and follow README instructions
Citation
If you find this work useful, please cite our technical report:
@techreport{hong2025context,
title = {Context Rot: How Increasing Input Tokens Impacts LLM Performance},
author = {Hong, Kelly and Troynikov, Anton and Huber, Jeff},
year = {2025},
month = {July},
institution = {Chroma},
url = {https://research.trychroma.com/context-rot},
}
관련 프로젝트 살펴보기
불러오는 중…