Add comprehensive README with tags and documentation
Browse files
README.md
CHANGED
|
@@ -1,39 +1,20 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
dataset_size: 6640173
|
| 19 |
-
- config_name: questions
|
| 20 |
-
features:
|
| 21 |
-
- name: id
|
| 22 |
-
dtype: string
|
| 23 |
-
- name: paper_id
|
| 24 |
-
dtype: string
|
| 25 |
-
- name: question
|
| 26 |
-
dtype: string
|
| 27 |
-
- name: answer
|
| 28 |
-
dtype: string
|
| 29 |
-
- name: chunk-must-contain
|
| 30 |
-
dtype: string
|
| 31 |
-
splits:
|
| 32 |
-
- name: train
|
| 33 |
-
num_bytes: 941967
|
| 34 |
-
num_examples: 1146
|
| 35 |
-
download_size: 445065
|
| 36 |
-
dataset_size: 941967
|
| 37 |
configs:
|
| 38 |
- config_name: corpus
|
| 39 |
data_files:
|
|
@@ -44,3 +25,100 @@ configs:
|
|
| 44 |
- split: train
|
| 45 |
path: questions/train-*
|
| 46 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- question-answering
|
| 5 |
+
- text-retrieval
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
tags:
|
| 9 |
+
- chunking
|
| 10 |
+
- scientific
|
| 11 |
+
- academic-papers
|
| 12 |
+
- nlp
|
| 13 |
+
- qasper
|
| 14 |
+
- rag
|
| 15 |
+
- retrieval
|
| 16 |
+
size_categories:
|
| 17 |
+
- 1K<n<10K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
configs:
|
| 19 |
- config_name: corpus
|
| 20 |
data_files:
|
|
|
|
| 25 |
- split: train
|
| 26 |
path: questions/train-*
|
| 27 |
---
|
| 28 |
+
|
| 29 |
+
<div align="center">
|
| 30 |
+
|
| 31 |
+
# 🍵 Sencha: Scientific Paper Chunking Assessment
|
| 32 |
+
|
| 33 |
+
**S**ci**en**tific **Cha**llenges - A dataset for evaluating chunking algorithms on academic papers.
|
| 34 |
+
|
| 35 |
+
</div>
|
| 36 |
+
|
| 37 |
+
## Overview
|
| 38 |
+
|
| 39 |
+
Sencha is designed to test how well chunking algorithms handle **long-form scientific documents**. It contains full-text NLP research papers with questions that require finding specific information across multiple sections.
|
| 40 |
+
|
| 41 |
+
### Key Challenges
|
| 42 |
+
|
| 43 |
+
- Handling structured sections (Abstract, Methods, Results, etc.)
|
| 44 |
+
- Preserving citation context (BIBREF tags)
|
| 45 |
+
- Managing hierarchical section headers
|
| 46 |
+
- Chunking technical content with equations and terminology
|
| 47 |
+
|
| 48 |
+
## Dataset Structure
|
| 49 |
+
|
| 50 |
+
### Corpus
|
| 51 |
+
|
| 52 |
+
The `corpus` config contains 250 full-text NLP papers.
|
| 53 |
+
|
| 54 |
+
| Column | Type | Description |
|
| 55 |
+
|--------|------|-------------|
|
| 56 |
+
| `id` | string | ArXiv paper ID |
|
| 57 |
+
| `title` | string | Paper title |
|
| 58 |
+
| `text` | string | Full paper text in markdown format |
|
| 59 |
+
| `num_sections` | int | Number of sections in the paper |
|
| 60 |
+
|
| 61 |
+
### Questions
|
| 62 |
+
|
| 63 |
+
The `questions` config contains 1,146 questions about paper content.
|
| 64 |
+
|
| 65 |
+
| Column | Type | Description |
|
| 66 |
+
|--------|------|-------------|
|
| 67 |
+
| `id` | string | Unique question identifier |
|
| 68 |
+
| `paper_id` | string | Reference to corpus document (ArXiv ID) |
|
| 69 |
+
| `question` | string | Question about the paper content |
|
| 70 |
+
| `answer` | string | Answer to the question |
|
| 71 |
+
| `chunk-must-contain` | string | Evidence passage that answers the question |
|
| 72 |
+
|
| 73 |
+
## Statistics
|
| 74 |
+
|
| 75 |
+
| Metric | Value |
|
| 76 |
+
|--------|-------|
|
| 77 |
+
| Papers | 250 |
|
| 78 |
+
| Questions | 1,146 |
|
| 79 |
+
| Avg paper length | ~26,400 chars (~5,300 words) |
|
| 80 |
+
| Min paper length | ~5,600 chars |
|
| 81 |
+
| Max paper length | ~98,500 chars |
|
| 82 |
+
| Avg must-contain length | 613 chars |
|
| 83 |
+
| Domain | NLP/Computational Linguistics |
|
| 84 |
+
|
| 85 |
+
## Usage
|
| 86 |
+
|
| 87 |
+
```python
|
| 88 |
+
from datasets import load_dataset
|
| 89 |
+
|
| 90 |
+
# Load the corpus
|
| 91 |
+
corpus = load_dataset("chonkie-ai/sencha", "corpus", split="train")
|
| 92 |
+
|
| 93 |
+
# Load the questions
|
| 94 |
+
questions = load_dataset("chonkie-ai/sencha", "questions", split="train")
|
| 95 |
+
|
| 96 |
+
# Use with MTCB evaluator
|
| 97 |
+
from mtcb import SenchaEvaluator
|
| 98 |
+
from chonkie import RecursiveChunker
|
| 99 |
+
|
| 100 |
+
evaluator = SenchaEvaluator(
|
| 101 |
+
chunker=RecursiveChunker(chunk_size=512),
|
| 102 |
+
embedding_model="voyage-3-large"
|
| 103 |
+
)
|
| 104 |
+
result = evaluator.evaluate(k=[1, 3, 5, 10])
|
| 105 |
+
```
|
| 106 |
+
|
| 107 |
+
## Sample Topics
|
| 108 |
+
|
| 109 |
+
The papers cover various NLP topics including:
|
| 110 |
+
- Sentiment analysis and affective computing
|
| 111 |
+
- Word embeddings and language models
|
| 112 |
+
- Text classification and NER
|
| 113 |
+
- Question answering systems
|
| 114 |
+
- Machine translation
|
| 115 |
+
- Social media analysis
|
| 116 |
+
- Clinical NLP
|
| 117 |
+
|
| 118 |
+
## Source
|
| 119 |
+
|
| 120 |
+
Derived from [QASPER](https://allenai.org/data/qasper) (NAACL 2021) by Allen AI - a dataset for question answering on scientific research papers.
|
| 121 |
+
|
| 122 |
+
## License
|
| 123 |
+
|
| 124 |
+
CC-BY-4.0 (following QASPER license)
|