leonli66 commited on
Commit
524af34
·
verified ·
1 Parent(s): b159c29

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +67 -0
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ configs:
3
+ - config_name: memwrap
4
+ data_files:
5
+ - split: test
6
+ path: memwrap/qasper.jsonl
7
+ - config_name: plain
8
+ data_files:
9
+ - split: test
10
+ path: plain/qasper.jsonl
11
+ ---
12
+
13
+ # QASPER Benchmark
14
+
15
+ Question Answering on Scientific Papers - NLP research paper comprehension benchmark.
16
+
17
+ ## Overview
18
+
19
+ | Metric | Value |
20
+ |--------|-------|
21
+ | Papers | 416 (test set) |
22
+ | Questions | 1,370 (answerable) |
23
+ | Answer Types | Free-form, extractive, yes/no |
24
+ | Context | Full paper (title, abstract, sections) |
25
+
26
+ ## Source
27
+
28
+ Based on [QASPER](https://allenai.org/data/qasper) dataset by AllenAI.
29
+
30
+ Paper: [A Dataset of Information-Seeking Questions and Answers Anchored in Research Papers](https://aclanthology.org/2021.naacl-main.365/)
31
+
32
+ ## Variants
33
+
34
+ - **memwrap**: Paper content wrapped with `<|memory_start|>` / `<|memory_end|>` tags
35
+ - **plain**: Raw paper content without memory tags
36
+
37
+ ## Usage
38
+
39
+ ```python
40
+ from datasets import load_dataset
41
+
42
+ # Load memwrap variant
43
+ ds = load_dataset("tonychenxyz/qasper", "memwrap", split="test")
44
+
45
+ # Load plain variant
46
+ ds = load_dataset("tonychenxyz/qasper", "plain", split="test")
47
+ ```
48
+
49
+ ## Scoring
50
+
51
+ Uses `qasper_log_perplexity` scoring function:
52
+ - Evaluates model performance using log perplexity of generated answer tokens
53
+ - Lower log perplexity indicates better performance
54
+ - Matches the perplexity-based evaluation used in cardridge baselines
55
+
56
+ Target answers are stored in `extra_info.ground_truth.answer`.
57
+
58
+ ## Citation
59
+
60
+ ```bibtex
61
+ @inproceedings{dasigi2021qasper,
62
+ title={A Dataset of Information-Seeking Questions and Answers Anchored in Research Papers},
63
+ author={Dasigi, Pradeep and Lo, Kyle and Beltagy, Iz and Cohan, Arman and Smith, Noah A and Gardner, Matt},
64
+ booktitle={NAACL},
65
+ year={2021}
66
+ }
67
+ ```