Spaces:
Running
Running
File size: 2,303 Bytes
21131b5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | ---
title: MuDABench Viewer
emoji: π
colorFrom: blue
colorTo: indigo
sdk: static
pinned: false
license: apache-2.0
---
# π MuDABench Viewer
Static viewer for **MuDABench** β a benchmark for *multi-document analytical
question answering* over large-scale financial document collections
(Chinese A-share + US market filings).
- Paper: <https://arxiv.org/abs/2604.22239> (ACL 2026 Findings)
- Code: <https://github.com/Zhanli-Li/MuDABench>
- Dataset: <https://huggingface.co/datasets/Zhanli-Li/MuDABench>
Two tabs:
- **π Corpus** β every source document (589 PDFs). A searchable dropdown selects
a document by title (`symbol Β· year Β· doctype`); filter by doc type or year.
The panel shows the document's structured metadata β every `value_*` field
observed across the questions that cite it, with its schema description β and
renders the **PDF inline** (streamed from the Hugging Face dataset CDN). A
collapsible list links to each question that references the document.
- **β Eval** β the 332 analytical questions (166 `simple` + 166 `complex`;
toggle between the two sets). Each question shows the gold **final answer**,
the **supporting facts** (`source_answer`), and the **supporting documents**
(each `value_*` field + description; click a document to jump to it in the
Corpus tab).
## Data
| File | Contents |
|---|---|
| `simple.json` | 166 questions with concise final answers (source, from HF) |
| `complex.json` | 166 questions with longer analytical final answers (source, from HF) |
| `eval.json` | 332 derived question records (Eval tab) |
| `corpus_index.json` | 589 derived document records (Corpus tab) |
The two derived files are regenerated from the source JSON with:
```bash
python scripts/build_data.py
```
**PDFs are not bundled** (the corpus is ~4 GB). Each corpus record's `pdf`
field points at the dataset CDN
(`https://huggingface.co/datasets/Zhanli-Li/MuDABench/resolve/main/data/pdf/<id>.pdf`),
which serves PDFs `inline` with permissive CORS, so the `<iframe>` renders them
directly without the Space having to host them.
## Local dev
```bash
python -m http.server 8000 # then open http://localhost:8000/
```
Serves statically β no build step. Push to the HF Space remote to deploy.
Dataset & code license: Apache-2.0.
|