Update README.md
Browse files
README.md
CHANGED
|
@@ -68,24 +68,56 @@ configs:
|
|
| 68 |
# BEAR Dataset
|
| 69 |
|
| 70 |
|
| 71 |
-
Dataset to evaluate common factual knowledge in language models. This dataset was created as part of the [paper "BEAR: A Unified Framework for Evaluating Relational Knowledge in Causal and Masked Language Models"](https://
|
| 72 |
|
| 73 |
|
| 74 |
For more information visit the [LM Pub Quiz website](https://lm-pub-quiz.github.io/).
|
| 75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
## Citation
|
| 77 |
|
| 78 |
When using the dataset or library, please cite the following paper:
|
| 79 |
|
| 80 |
```
|
| 81 |
-
@
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
}
|
| 91 |
```
|
|
|
|
| 68 |
# BEAR Dataset
|
| 69 |
|
| 70 |
|
| 71 |
+
Dataset to evaluate common factual knowledge in language models. This dataset was created as part of the [paper "BEAR: A Unified Framework for Evaluating Relational Knowledge in Causal and Masked Language Models"](https://aclanthology.org/2024.findings-naacl.155/).
|
| 72 |
|
| 73 |
|
| 74 |
For more information visit the [LM Pub Quiz website](https://lm-pub-quiz.github.io/).
|
| 75 |
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
|
| 79 |
+
## Dataset Structure
|
| 80 |
+
|
| 81 |
+
### Data Instances
|
| 82 |
+
|
| 83 |
+
For each instance, there is a template string, a subject to be filled in, and a list of object strings (one of which is correct), as well as a template used to create the specific multiple choice item.
|
| 84 |
+
|
| 85 |
+
|
| 86 |
+
### Data Fields
|
| 87 |
+
|
| 88 |
+
- `composite_id`: A unique string (each part of the dataset) identifying the item within the dataset. The string is made up from `relation`, `item`, and `template_index`.
|
| 89 |
+
- `relation`: An string identifiying the wikidata relation (between the subject and the answer options).
|
| 90 |
+
- `item`: The indext of the item within the relation.
|
| 91 |
+
- `template_index`: The index of the template used for this instance.
|
| 92 |
+
- `template`: The template used to create the `text_options`.
|
| 93 |
+
- `subject`: The subject of the relation.
|
| 94 |
+
- `answer_options`: Possible objects in the relation.
|
| 95 |
+
- `correct`: The index of the correct object (index of the answer in `answer_options` / correct statement in `text_options`).
|
| 96 |
+
- `text_options`: Alternative textual statements one of which is correct (identified by the index in `correct`).
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
|
| 100 |
+
|
| 101 |
## Citation
|
| 102 |
|
| 103 |
When using the dataset or library, please cite the following paper:
|
| 104 |
|
| 105 |
```
|
| 106 |
+
@inproceedings{wiland-etal-2024-bear,
|
| 107 |
+
title = "{BEAR}: A Unified Framework for Evaluating Relational Knowledge in Causal and Masked Language Models",
|
| 108 |
+
author = "Wiland, Jacek and
|
| 109 |
+
Ploner, Max and
|
| 110 |
+
Akbik, Alan",
|
| 111 |
+
editor = "Duh, Kevin and
|
| 112 |
+
Gomez, Helena and
|
| 113 |
+
Bethard, Steven",
|
| 114 |
+
booktitle = "Findings of the Association for Computational Linguistics: NAACL 2024",
|
| 115 |
+
month = jun,
|
| 116 |
+
year = "2024",
|
| 117 |
+
address = "Mexico City, Mexico",
|
| 118 |
+
publisher = "Association for Computational Linguistics",
|
| 119 |
+
url = "https://aclanthology.org/2024.findings-naacl.155/",
|
| 120 |
+
doi = "10.18653/v1/2024.findings-naacl.155",
|
| 121 |
+
pages = "2393--2411"
|
| 122 |
}
|
| 123 |
```
|