mudabench-viewer / README.md
mudabench-viewer bot
MuDABench viewer: Corpus (589 PDFs) + Eval (332 Q) static Space
21131b5
|
Raw
History Blame Contribute Delete
2.3 kB
metadata
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).

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:

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

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.