luoojason commited on
Commit
375550f
·
verified ·
1 Parent(s): 75d2967

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +82 -0
README.md ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - question-answering
5
+ tags:
6
+ - context-degradation
7
+ - long-context
8
+ - multi-document
9
+ - pdf
10
+ size_categories:
11
+ - 1K<n<10K
12
+ ---
13
+
14
+ # JSAJ Eval Bundle
15
+
16
+ Pre-materialized cells for the JSAJ team's context degradation evaluation on the MMLongBench-Doc derived dataset. Each cell folder contains the exact PDFs an evaluation must run against.
17
+
18
+ ## Structure
19
+
20
+ ```
21
+ q0/
22
+ control_k0/ source.pdf + question.json
23
+ hard_negative_k2/ source.pdf + hn_1.pdf + hn_2.pdf + question.json
24
+ hard_negative_k4/ source.pdf + hn_1.pdf .. hn_4.pdf + question.json
25
+ random_k2/ source.pdf + random_1.pdf + random_2.pdf + question.json
26
+ random_k4/ source.pdf + random_1.pdf .. random_4.pdf + question.json
27
+ q1/
28
+ ...
29
+ manifest.json cell_id -> folder path lookup
30
+ ```
31
+
32
+ 286 questions, 5 conditions each = 1,430 cells. Source PDF is always position 0.
33
+
34
+ ## Cells
35
+
36
+ - **control_k0** — source document only
37
+ - **hard_negative_k2 / k4** — source + 2 or 4 topical HN PDFs (curated per question)
38
+ - **random_k2 / k4** — source + 2 or 4 HN PDFs sampled from other questions (one HN per other question; never from the source question's own HN pool)
39
+
40
+ Distractor selection is deterministic, seeded at `20260523`. Cells are byte-identical for every model that consumes this bundle.
41
+
42
+ ## Per-cell metadata
43
+
44
+ `question.json` in each cell folder contains:
45
+
46
+ ```json
47
+ {
48
+ "cell_id": "q0_random_k4",
49
+ "doc_id": "PH_2016.06.08_Economy-Final.pdf",
50
+ "question": "...",
51
+ "answer": "...",
52
+ "answer_format": "Str",
53
+ "condition": "random",
54
+ "k": 4,
55
+ "n_pages": 165,
56
+ "est_tokens": 66000,
57
+ "bundle_filenames": ["source.pdf", "random_1.pdf", ...],
58
+ "original_filenames": ["PH_2016...pdf", "web_e6e2...pdf", ...]
59
+ }
60
+ ```
61
+
62
+ ## How to use
63
+
64
+ ```python
65
+ import json
66
+ from pathlib import Path
67
+
68
+ # load a single cell
69
+ cell = json.load(open("q0/random_k4/question.json"))
70
+ pdfs = [Path(f"q0/random_k4/{name}") for name in cell["bundle_filenames"]]
71
+ # send pdfs to your model with cell["question"]; score against cell["answer"]
72
+ ```
73
+
74
+ For batch evaluation, iterate over `manifest.json` to get all cell folders.
75
+
76
+ ## Source dataset
77
+
78
+ Derived from MMLongBench-Doc with a 286-row text-safe filter. Source + HN PDFs originally curated at [`luoojason/mmlongbench-text-only`](https://huggingface.co/datasets/luoojason/mmlongbench-text-only).
79
+
80
+ ## Citation
81
+
82
+ Part of the JSAJ team's Algoverse March 2026 cohort research on long-context degradation. Code: [SaibililaA/JSAJ](https://github.com/SaibililaA/JSAJ).