Despina commited on
Commit
17ddccb
·
verified ·
1 Parent(s): bcb5890

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +57 -74
README.md CHANGED
@@ -57,30 +57,39 @@ configs:
57
  - split: test
58
  path: data/test-*
59
  ---
60
- # Dataset Card for "gids"
61
-
62
- ## Dataset Description
63
- - **Paper:** [Improving Distantly Supervised Relation Extraction using Word and Entity Based Attention](https://arxiv.org/abs/1804.06987)
64
- - **Size of downloaded dataset files:** 8.94 MB
65
- - **Size of the generated dataset:** 11.82 MB
66
-
67
- ### Dataset Summary
68
- This is the GIDS dataset (see information below) reformatted into entity1, entity2, text, entity1Type, entity2Type, and relation label features to facilitate downstream applications.
69
- The Google-IISc Distant Supervision (GIDS) is a new dataset for distantly-supervised relation extraction.
70
- GIDS is seeded from the human-judged Google relation extraction corpus.
71
- See the paper for full details: [Improving Distantly Supervised Relation Extraction using Word and Entity Based Attention](https://arxiv.org/abs/1804.06987)
72
-
73
- ### Supported Tasks and Leaderboards
74
- - **Tasks:** Relation Classification
75
- - **Leaderboards:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
76
- ### Languages
77
- The language in the dataset is English.
78
- ## Dataset Structure
79
- ### Data Instances
80
-
81
- #### gids
82
- - **Size of downloaded dataset files:** 8.94 MB
83
- - **Size of the generated dataset:** 8.5 MB
 
 
 
 
 
 
 
 
 
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
- ### Data Splits
98
 
99
  | | Train | Dev | Test |
100
  |------|-------|------|------|
101
  | GIDS | 11297 | 1864 | 5663 |
102
 
103
- ## Dataset Creation
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
- [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
 
122
 
123
- #### Who are the annotators?
124
-
125
- [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
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
- [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
150
 
151
- ### Licensing Information
 
 
 
152
 
153
- [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
154
 
155
- ### Citation Information
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
  ```