File size: 2,460 Bytes
d742603
 
 
 
 
 
 
 
7025aac
 
7e394b6
 
 
 
2c1d69e
7e394b6
089dc32
2c1d69e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
089dc32
3616831
7793f7a
089dc32
 
 
 
2c1d69e
7e394b6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
66
67
68
---
license: apache-2.0
language:
- en
tags:
- Natural Language Processing
- Generalize Quantifier
- Quantifier Reasoning
size_categories:
- n<1K
---


### Introduction
Generalized quantifiers (e.g., few, most) are used to indicate the proportions predicates are satisfied. QuRe is quantifier reasoning dataset from [Pragmatic Reasoning Unlocks Quantifier Semantics for Foundation Models](https://arxiv.org/pdf/2311.04659). It includes real-world sentences from Wikipedia and human annotations of generalized quantifiers from English speakers. 

### Sample
```
{
    "orig_sentence": "In order for a steel to be considered stainless it must have a Chromium content of at least 10.5%.", 
    "percentage": "10.50%", 
    "percentage_index": 0, 
    "math_expr": ">=0.105", 
    "quant_sent": "In order for a steel to be considered stainless it must have some Chromium content.", 
    "quantifier": "some", 
    "quantifier_position": 12, 
    "specificity": "unable", 
    "wiki_entity": "List of blade materials", 
    "topics": "metallurgy; steel; composition"
}
```
   * orig_sentence: the original sentence appeared in Wikipedia.
   * percentage: the percentage mentioned in the orig_sentence.
   * percentage_index: the index of the mentioned percentage in the orig_sentence.
   * math_expr: the percentage expression generated.
   * quant_sent: the annotated quantified sentence.
   * quantifier_position: the position of quantifier mentioned.
   * specificity:  the difficulty of deciphering the percentage scope of the quantifier from the sentence excluding the quantifier.
   * wiki_entity: the wikipedia entity that includes <i>orig_sentence</i> in the wikipage content.
   * topics: sentence topics.

### Load Dataset
```python
from datasets import load_dataset

ds = load_dataset("billli/QuRe")
```
     
### Reference
```
@inproceedings{li-etal-2023-pragmatic,
    title = "Pragmatic Reasoning Unlocks Quantifier Semantics for Foundation Models",
    author = "Li, Yiyuan  and
      Menon, Rakesh  and
      Ghosh, Sayan  and
      Srivastava, Shashank",
    editor = "Bouamor, Houda  and
      Pino, Juan  and
      Bali, Kalika",
    booktitle = "Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing",
    month = dec,
    year = "2023",
    address = "Singapore",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2023.emnlp-main.38",
    pages = "573--591",
}
```