Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -57,30 +57,39 @@ configs:
|
|
| 57 |
- split: test
|
| 58 |
path: data/test-*
|
| 59 |
---
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
-
|
| 75 |
-
|
| 76 |
-
##
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
-
|
| 83 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
An example of 'train' looks as follows:
|
| 85 |
```json
|
| 86 |
{
|
|
@@ -94,66 +103,40 @@ An example of 'train' looks as follows:
|
|
| 94 |
```
|
| 95 |
|
| 96 |
|
| 97 |
-
##
|
| 98 |
|
| 99 |
| | Train | Dev | Test |
|
| 100 |
|------|-------|------|------|
|
| 101 |
| GIDS | 11297 | 1864 | 5663 |
|
| 102 |
|
| 103 |
-
##
|
| 104 |
-
### Curation Rationale
|
| 105 |
-
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 106 |
-
|
| 107 |
-
### Source Data
|
| 108 |
-
|
| 109 |
-
#### Initial Data Collection and Normalization
|
| 110 |
-
|
| 111 |
-
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 112 |
-
|
| 113 |
-
#### Who are the source language producers?
|
| 114 |
-
|
| 115 |
-
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 116 |
-
|
| 117 |
-
### Annotations
|
| 118 |
-
|
| 119 |
-
#### Annotation process
|
| 120 |
|
| 121 |
-
|
|
|
|
| 122 |
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
[
|
| 126 |
-
|
| 127 |
-
### Personal and Sensitive Information
|
| 128 |
-
|
| 129 |
-
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 130 |
-
|
| 131 |
-
## Considerations for Using the Data
|
| 132 |
-
|
| 133 |
-
### Social Impact of Dataset
|
| 134 |
-
|
| 135 |
-
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 136 |
-
|
| 137 |
-
### Discussion of Biases
|
| 138 |
-
|
| 139 |
-
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 140 |
-
|
| 141 |
-
### Other Known Limitations
|
| 142 |
-
|
| 143 |
-
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 144 |
-
|
| 145 |
-
## Additional Information
|
| 146 |
-
|
| 147 |
-
### Dataset Curators
|
| 148 |
|
| 149 |
-
|
| 150 |
|
| 151 |
-
|
|
|
|
|
|
|
|
|
|
| 152 |
|
| 153 |
-
|
| 154 |
|
| 155 |
-
|
| 156 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 157 |
```
|
| 158 |
-
|
| 159 |
-
```
|
|
|
|
| 57 |
- split: test
|
| 58 |
path: data/test-*
|
| 59 |
---
|
| 60 |
+
|
| 61 |
+
# GIDS (Relation Extraction)
|
| 62 |
+
|
| 63 |
+
GIDS (**Google-IISc Distant Supervision**) is a **general-domain sentence-level relation
|
| 64 |
+
extraction (RE)** dataset. Each example pairs a sentence (mentioning a head and tail entity)
|
| 65 |
+
with the relation that holds between the two entities. It was built by extending the
|
| 66 |
+
human-judged **Google Relation Extraction** corpus with additional distantly-supervised
|
| 67 |
+
sentences, and is designed so that every entity pair has at least one sentence that expresses
|
| 68 |
+
the target relation (reducing the noise typical of distant supervision).
|
| 69 |
+
|
| 70 |
+
This copy is packaged for the paper **"Sub-Billion, Super-Frontier: Fine-Tuned Small Language
|
| 71 |
+
Models Rival Zero-Shot Frontier LLMs on General and Literary Relation Extraction"**
|
| 72 |
+
(Christou & Tsoumakas, 2026) [arXiv:2606.22606](https://arxiv.org/abs/2606.22606). Rows are
|
| 73 |
+
pre-formatted as instruction prompts so the dataset can be used directly for prompt-conditioned
|
| 74 |
+
fine-tuning and evaluation.
|
| 75 |
+
|
| 76 |
+
## Dataset structure
|
| 77 |
+
|
| 78 |
+
Splits: `train`, `validation`, `test`.
|
| 79 |
+
|
| 80 |
+
| Column | Description |
|
| 81 |
+
|---|---|
|
| 82 |
+
| `prompt_0_shot` | Zero-shot instruction prompt (task instructions + the input sentence). |
|
| 83 |
+
| `prompt_2_shot` | Same prompt with 2 in-context demonstrations prepended. |
|
| 84 |
+
| `prompt_5_shot` | Same prompt with 5 in-context demonstrations prepended. |
|
| 85 |
+
| `relation` | Gold relation label (the target/completion). |
|
| 86 |
+
|
| 87 |
+
The `relation` column holds a small set of Freebase-style relation types (e.g. birth/death place
|
| 88 |
+
and education-related relations) plus a no-relation / `NA` label; inspect the column for the exact
|
| 89 |
+
set. The three `prompt_*` columns are alternative renderings of the **same** example at different
|
| 90 |
+
shot counts, so pick one shot setting per experiment rather than concatenating them.
|
| 91 |
+
|
| 92 |
+
|
| 93 |
An example of 'train' looks as follows:
|
| 94 |
```json
|
| 95 |
{
|
|
|
|
| 103 |
```
|
| 104 |
|
| 105 |
|
| 106 |
+
## Data Splits
|
| 107 |
|
| 108 |
| | Train | Dev | Test |
|
| 109 |
|------|-------|------|------|
|
| 110 |
| GIDS | 11297 | 1864 | 5663 |
|
| 111 |
|
| 112 |
+
## Usage
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
|
| 114 |
+
```python
|
| 115 |
+
from datasets import load_dataset
|
| 116 |
|
| 117 |
+
ds = load_dataset("Despina/gids")
|
| 118 |
+
print(ds["test"][0]["prompt_2_shot"]) # formatted input
|
| 119 |
+
print(ds["test"][0]["relation"]) # gold label
|
| 120 |
+
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 121 |
|
| 122 |
+
## Source and licensing
|
| 123 |
|
| 124 |
+
GIDS is derived from the **Google Relation Extraction** corpus (distantly extended over
|
| 125 |
+
Wikipedia text) and was introduced by Jat, Khandelwal & Talukdar (2018). It is available for
|
| 126 |
+
research use; please respect the terms of the underlying Google Relation Extraction corpus and
|
| 127 |
+
cite the original GIDS resource alongside the paper below.
|
| 128 |
|
| 129 |
+
## Citation
|
| 130 |
|
| 131 |
+
**If you use this dataset, please cite our paper:**
|
| 132 |
|
| 133 |
+
```bibtex
|
| 134 |
+
@article{christou2026subbillion,
|
| 135 |
+
title = {Sub-Billion, Super-Frontier: Small Language Models Rival
|
| 136 |
+
Zero-Shot Frontier LLMs on General and Literary Relation Extraction},
|
| 137 |
+
author = {Christou, Despina and Tsoumakas, Grigorios},
|
| 138 |
+
journal = {arXiv preprint arXiv:2606.22606},
|
| 139 |
+
year = {2026},
|
| 140 |
+
url = {https://arxiv.org/abs/2606.22606}
|
| 141 |
+
}
|
| 142 |
```
|
|
|
|
|
|