Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
json
Sub-tasks:
semantic-similarity-classification
Languages:
English
Size:
1K - 10K
ArXiv:
Tags:
arxiv:2609.20593
word-in-context
wic
word-sense-disambiguation
lexical-semantics
lexical-ambiguity
License:
Rename pair_id to target_index and document it as WiC-style target word positions
Browse files- README.md +7 -5
- data/coarse_grained/test.jsonl +0 -0
README.md
CHANGED
|
@@ -70,8 +70,8 @@ The label distribution is exactly balanced.
|
|
| 70 |
|---|---|---|
|
| 71 |
| `id` | int | Row index (0-based). |
|
| 72 |
| `word` | string | Target word (one of 20 nouns). |
|
| 73 |
-
| `
|
| 74 |
-
| `sentence1` | string | First context
|
| 75 |
| `sentence2` | string | Second context. |
|
| 76 |
| `label` | string | `"True"` if the target word has the same coarse sense in both sentences, else `"False"`. |
|
| 77 |
|
|
@@ -104,7 +104,7 @@ Per-word statistics (from the paper, Table 8):
|
|
| 104 |
Example:
|
| 105 |
|
| 106 |
```json
|
| 107 |
-
{"word": "apple", "
|
| 108 |
"sentence1": "the local economy includes forestry , apple orchard and sheep and dairy farming .",
|
| 109 |
"sentence2": "symbol is one of the four standard fonts available on all postscript - based printers , starting with apple 's original laserwriter ( 1985 ) .",
|
| 110 |
"label": "False"}
|
|
@@ -145,7 +145,7 @@ Example:
|
|
| 145 |
```
|
| 146 |
data/coarse_grained/test.jsonl # 2,798 rows
|
| 147 |
data/fine_grained/test.jsonl # 1,185 rows
|
| 148 |
-
raw/coarse_grained_WiC.tsv # original release file, no header: word,
|
| 149 |
raw/fine_grained_WiC.tsv # original release file, with header; labels are T / F
|
| 150 |
```
|
| 151 |
|
|
@@ -156,8 +156,10 @@ The raw TSV files are the original release files and are otherwise unchanged.
|
|
| 156 |
## Notes
|
| 157 |
|
| 158 |
- Sentences in `coarse_grained` are lower-cased and tokenised (punctuation separated by spaces), as in CoarseWSD-20.
|
| 159 |
-
- `coarse_grained` contains one exact duplicate pair (`bank`, `
|
| 160 |
counts match the paper.
|
|
|
|
|
|
|
| 161 |
- These are evaluation sets. There is no training split.
|
| 162 |
|
| 163 |
## Source datasets
|
|
|
|
| 70 |
|---|---|---|
|
| 71 |
| `id` | int | Row index (0-based). |
|
| 72 |
| `word` | string | Target word (one of 20 nouns). |
|
| 73 |
+
| `target_index` | string | Position of the target word in `sentence1` and `sentence2`, as `index1-index2`. Indices are 0-based and count whitespace-separated tokens, following the original WiC data format. |
|
| 74 |
+
| `sentence1` | string | First context: a sentence from CoarseWSD-20, whose text comes from Wikipedia. Text is lower-cased and pre-tokenised, with tokens separated by single spaces. |
|
| 75 |
| `sentence2` | string | Second context. |
|
| 76 |
| `label` | string | `"True"` if the target word has the same coarse sense in both sentences, else `"False"`. |
|
| 77 |
|
|
|
|
| 104 |
Example:
|
| 105 |
|
| 106 |
```json
|
| 107 |
+
{"word": "apple", "target_index": "6-18",
|
| 108 |
"sentence1": "the local economy includes forestry , apple orchard and sheep and dairy farming .",
|
| 109 |
"sentence2": "symbol is one of the four standard fonts available on all postscript - based printers , starting with apple 's original laserwriter ( 1985 ) .",
|
| 110 |
"label": "False"}
|
|
|
|
| 145 |
```
|
| 146 |
data/coarse_grained/test.jsonl # 2,798 rows
|
| 147 |
data/fine_grained/test.jsonl # 1,185 rows
|
| 148 |
+
raw/coarse_grained_WiC.tsv # original release file, no header: word, target_index, sentence1, sentence2, label
|
| 149 |
raw/fine_grained_WiC.tsv # original release file, with header; labels are T / F
|
| 150 |
```
|
| 151 |
|
|
|
|
| 156 |
## Notes
|
| 157 |
|
| 158 |
- Sentences in `coarse_grained` are lower-cased and tokenised (punctuation separated by spaces), as in CoarseWSD-20.
|
| 159 |
+
- `coarse_grained` contains one exact duplicate pair (`bank`, `target_index` `12-5`). It is kept so that the
|
| 160 |
counts match the paper.
|
| 161 |
+
- In `coarse_grained`, `target_index` points at the target word in 2,797 of 2,798 rows. In one `club` row
|
| 162 |
+
(`target_index` `85-19`) the first index is off because of a tokenisation irregularity in the source sentence.
|
| 163 |
- These are evaluation sets. There is no training split.
|
| 164 |
|
| 165 |
## Source datasets
|
data/coarse_grained/test.jsonl
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|