GitHub READMEs for Evaluating Chunking Algorithms
Macha is a dataset of GitHub README files from popular open-source repositories, designed to evaluate how well chunking algorithms handle technical documentation with mixed content types.
This dataset tests chunking algorithms on:
| Field | Description |
|---|---|
rank | Repository popularity rank |
repo | Repository name (owner/repo) |
stars | GitHub star count |
text | Full README content |
token-count | Token count |
score | Quality score |
| Field | Description |
|---|---|
question | Question about the README |
answer | Answer to the question |
chunk-must-contain | Text passage that must be in the retrieved chunk |
repo | Source repository |
from datasets import load_dataset
# Load corpus
corpus = load_dataset("chonkie-ai/macha", "corpus", split="train")
# Load questions
questions = load_dataset("chonkie-ai/macha", "questions", split="train")
Macha is part of the Massive Text Chunking Benchmark (MTCB), a comprehensive benchmark for evaluating RAG chunking strategies.
CC-BY-4.0
19 commits
GitHub READMEs for Evaluating Chunking Algorithms
Macha is a dataset of GitHub README files from popular open-source repositories, designed to evaluate how well chunking algorithms handle technical documentation with mixed content types.
This dataset tests chunking algorithms on:
| Field | Description |
|---|---|
rank | Repository popularity rank |
repo | Repository name (owner/repo) |
stars | GitHub star count |
text | Full README content |
token-count | Token count |
score | Quality score |
| Field | Description |
|---|---|
question | Question about the README |
answer | Answer to the question |
chunk-must-contain | Text passage that must be in the retrieved chunk |
repo | Source repository |
from datasets import load_dataset
# Load corpus
corpus = load_dataset("chonkie-ai/macha", "corpus", split="train")
# Load questions
questions = load_dataset("chonkie-ai/macha", "questions", split="train")
Macha is part of the Massive Text Chunking Benchmark (MTCB), a comprehensive benchmark for evaluating RAG chunking strategies.
CC-BY-4.0
19 commits