Update README.md
Browse files
README.md
CHANGED
|
@@ -99,14 +99,12 @@ size_categories:
|
|
| 99 |
---
|
| 100 |
|
| 101 |
# Dataset Card for EntityCS
|
| 102 |
-
|
| 103 |
-
## Dataset Description
|
| 104 |
|
| 105 |
- Repository: https://github.com/huawei-noah/noah-research/tree/master/NLP/EntityCS
|
| 106 |
- Paper: https://aclanthology.org/2022.findings-emnlp.499.pdf
|
| 107 |
- Point of Contact: [Fenia Christopoulou](mailto:[email protected]), [Chenxi Whitehouse](mailto:[email protected])
|
| 108 |
|
| 109 |
-
|
| 110 |
|
| 111 |
We use the English Wikipedia and leverage entity information from Wikidata to construct an entity-based Code Switching corpus.
|
| 112 |
To achieve this, we make use of wikilinks in Wikipedia, i.e. links from one page to another.
|
|
@@ -122,18 +120,16 @@ Otherwise, we randomly select five target languages from the candidates.
|
|
| 122 |
If no candidate languages can be found, we do not code-switch the sentence, instead, we keep it as part of the English corpus.
|
| 123 |
Finally, we surround each entity with entity indicators (`<e>`, `</e>`).
|
| 124 |
|
| 125 |
-
|
| 126 |
|
| 127 |
The dataset was developped for intermediate pre-training of language models.
|
| 128 |
In the paper we further fine-tune models on entity-centric downstream tasks, such as NER.
|
| 129 |
|
| 130 |
-
|
| 131 |
|
| 132 |
The dataset covers 93 languages in total, including English.
|
| 133 |
|
| 134 |
-
##
|
| 135 |
-
|
| 136 |
-
### Data Statistics
|
| 137 |
|
| 138 |
| Statistic | Count |
|
| 139 |
|:------------------------------|------------:|
|
|
@@ -146,15 +142,15 @@ The dataset covers 93 languages in total, including English.
|
|
| 146 |
| CS Sentences | 231,124,422 |
|
| 147 |
| CS Entities | 420,907,878 |
|
| 148 |
|
| 149 |
-
|
| 150 |
|
| 151 |
-
Each instance contains
|
| 152 |
- `id`: Unique ID of each sentence
|
| 153 |
- `language`: The language of choice for entity code-switching of the given sentence
|
| 154 |
- `en_sentence`: The original English sentence
|
| 155 |
- `cs_sentence`: The code-switched sentence
|
| 156 |
|
| 157 |
-
In the case of the English subset, the `cs_sentence` field does not exist.
|
| 158 |
|
| 159 |
An example of what a data instance looks like:
|
| 160 |
```
|
|
@@ -166,12 +162,12 @@ An example of what a data instance looks like:
|
|
| 166 |
}
|
| 167 |
```
|
| 168 |
|
| 169 |
-
|
| 170 |
|
| 171 |
There is a single data split for each language. You can randomly select a few examples from each language to serve as validation set.
|
| 172 |
|
| 173 |
|
| 174 |
-
|
| 175 |
|
| 176 |
An important limitation of the work is that before code-switching an entity, its morphological inflection is not checked.
|
| 177 |
This can lead to potential errors as the form of the CS entity might not agree with the surrounding context (e.g. plural).
|
|
@@ -180,7 +176,9 @@ Secondly, the diversity of languages used to construct the EntityCS corpus is re
|
|
| 180 |
This choice was for a better comparison between models, however it is possible to extend the corpus with more languages that XLM-R does not cover, following
|
| 181 |
the procedure presented in the paper.
|
| 182 |
|
| 183 |
-
|
|
|
|
|
|
|
| 184 |
|
| 185 |
```html
|
| 186 |
@inproceedings{whitehouse-etal-2022-entitycs,
|
|
@@ -197,3 +195,8 @@ the procedure presented in the paper.
|
|
| 197 |
pages = "6698--6714"
|
| 198 |
}
|
| 199 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
---
|
| 100 |
|
| 101 |
# Dataset Card for EntityCS
|
|
|
|
|
|
|
| 102 |
|
| 103 |
- Repository: https://github.com/huawei-noah/noah-research/tree/master/NLP/EntityCS
|
| 104 |
- Paper: https://aclanthology.org/2022.findings-emnlp.499.pdf
|
| 105 |
- Point of Contact: [Fenia Christopoulou](mailto:[email protected]), [Chenxi Whitehouse](mailto:[email protected])
|
| 106 |
|
| 107 |
+
## Dataset Description
|
| 108 |
|
| 109 |
We use the English Wikipedia and leverage entity information from Wikidata to construct an entity-based Code Switching corpus.
|
| 110 |
To achieve this, we make use of wikilinks in Wikipedia, i.e. links from one page to another.
|
|
|
|
| 120 |
If no candidate languages can be found, we do not code-switch the sentence, instead, we keep it as part of the English corpus.
|
| 121 |
Finally, we surround each entity with entity indicators (`<e>`, `</e>`).
|
| 122 |
|
| 123 |
+
## Supported Tasks and Leaderboards
|
| 124 |
|
| 125 |
The dataset was developped for intermediate pre-training of language models.
|
| 126 |
In the paper we further fine-tune models on entity-centric downstream tasks, such as NER.
|
| 127 |
|
| 128 |
+
## Languages
|
| 129 |
|
| 130 |
The dataset covers 93 languages in total, including English.
|
| 131 |
|
| 132 |
+
## Data Statistics
|
|
|
|
|
|
|
| 133 |
|
| 134 |
| Statistic | Count |
|
| 135 |
|:------------------------------|------------:|
|
|
|
|
| 142 |
| CS Sentences | 231,124,422 |
|
| 143 |
| CS Entities | 420,907,878 |
|
| 144 |
|
| 145 |
+
## Data Fields
|
| 146 |
|
| 147 |
+
Each instance contains 4 fields:
|
| 148 |
- `id`: Unique ID of each sentence
|
| 149 |
- `language`: The language of choice for entity code-switching of the given sentence
|
| 150 |
- `en_sentence`: The original English sentence
|
| 151 |
- `cs_sentence`: The code-switched sentence
|
| 152 |
|
| 153 |
+
In the case of the English subset, the `cs_sentence` field does not exist as the sentences are not code-switched.
|
| 154 |
|
| 155 |
An example of what a data instance looks like:
|
| 156 |
```
|
|
|
|
| 162 |
}
|
| 163 |
```
|
| 164 |
|
| 165 |
+
## Data Splits
|
| 166 |
|
| 167 |
There is a single data split for each language. You can randomly select a few examples from each language to serve as validation set.
|
| 168 |
|
| 169 |
|
| 170 |
+
## Limitations
|
| 171 |
|
| 172 |
An important limitation of the work is that before code-switching an entity, its morphological inflection is not checked.
|
| 173 |
This can lead to potential errors as the form of the CS entity might not agree with the surrounding context (e.g. plural).
|
|
|
|
| 176 |
This choice was for a better comparison between models, however it is possible to extend the corpus with more languages that XLM-R does not cover, following
|
| 177 |
the procedure presented in the paper.
|
| 178 |
|
| 179 |
+
## Citation
|
| 180 |
+
|
| 181 |
+
**BibTeX**
|
| 182 |
|
| 183 |
```html
|
| 184 |
@inproceedings{whitehouse-etal-2022-entitycs,
|
|
|
|
| 195 |
pages = "6698--6714"
|
| 196 |
}
|
| 197 |
```
|
| 198 |
+
|
| 199 |
+
**APA**
|
| 200 |
+
```html
|
| 201 |
+
Whitehouse, C., Christopoulou, F., & Iacobacci, I. (2022). EntityCS: Improving Zero-Shot Cross-lingual Transfer with Entity-Centric Code Switching. In Findings of the Association for Computational Linguistics: EMNLP 2022.
|
| 202 |
+
```
|