Datasets:

Modalities:
Tabular
Text
Languages:
Chinese
ArXiv:
Libraries:
Datasets
License:
File size: 3,951 Bytes
68169d5
1c8989d
 
 
 
 
 
 
 
 
 
 
 
015caba
1c8989d
 
 
 
 
 
 
 
 
 
 
f0338e1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28f4e7c
f0338e1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28f4e7c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68169d5
27b13e1
 
f0338e1
27b13e1
f0338e1
 
 
 
 
 
 
27b13e1
f0338e1
 
 
 
 
27b13e1
 
 
 
 
f0338e1
27b13e1
ce3c4b1
 
f0338e1
27b13e1
 
f0338e1
27b13e1
 
 
 
 
 
 
 
 
 
 
f0338e1
 
 
 
 
 
 
 
 
27b13e1
 
f0338e1
27b13e1
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
---
annotations_creators:
- crowdsourced
- found
language:
- zh
language_creators:
- found
- crowdsourced
license:
- cc-by-sa-4.0
multilinguality:
- monolingual
paperswithcode_id: hansel
pretty_name: Hansel
size_categories:
- 1M<n<10M
- 1K<n<10K
source_datasets:
- original
tags: []
task_categories:
- text-retrieval
task_ids:
- entity-linking-retrieval
dataset_info:
  - config_name: wiki
    features:
      - name: id
        dtype: string
      - name: text
        dtype: string
      - name: start
        dtype: int64
      - name: end
        dtype: int64
      - name: mention
        dtype: string
      - name: gold_id
        dtype: string
    splits:
      - name: train
      - name: validation
  - config_name: hansel-few-shot
    features:
      - name: id
        dtype: string
      - name: text
        dtype: string
      - name: start
        dtype: int64
      - name: end
        dtype: int64
      - name: mention
        dtype: string
      - name: gold_id
        dtype: string
      - name: source
        dtype: string
      - name: domain
        dtype: string
    splits:
      - name: test
  - config_name: hansel-zero-shot
    features:
      - name: id
        dtype: string
      - name: text
        dtype: string
      - name: start
        dtype: int64
      - name: end
        dtype: int64
      - name: mention
        dtype: string
      - name: gold_id
        dtype: string
      - name: source
        dtype: string
      - name: domain
        dtype: string
    splits:
      - name: test
---


# Dataset Card for "Hansel"

## Table of Contents
- [Table of Contents](#table-of-contents)
- [Dataset Description](#dataset-description)
- [Dataset Structure](#dataset-structure)
  - [Data Instances](#data-instances)
  - [Data Splits](#data-splits)
- [Citation](#citation)


## Dataset Description

- **Homepage:** https://github.com/HITsz-TMG/Hansel
- **Paper:** https://arxiv.org/abs/2207.13005

Hansel is a high-quality human-annotated Chinese entity linking (EL) dataset, focusing on tail entities and emerging entities:
- The test set contains Few-shot (FS) and zero-shot (ZS) slices, has 10K examples and uses Wikidata as the corresponding knowledge base.
- The training and validation sets are from Wikipedia hyperlinks, useful for large-scale pretraining of Chinese EL systems.
  
Please see our [WSDM 2023](https://www.wsdm-conference.org/2023/) paper [**"Hansel: A Chinese Few-Shot and Zero-Shot Entity Linking Benchmark"**](https://arxiv.org/abs/2207.13005) to learn more about our dataset.

For models in the paper and our processed knowledge base, please see our [Github repository](https://github.com/HITsz-TMG/Hansel).

## Dataset Structure


### Data Instances

    {"id": "hansel-eval-zs-1463", 
     "text": "1905电影网讯 已经筹备了十余年的吉尔莫·德尔·托罗的《匹诺曹》,在上个月顺利被网飞公司买下,成为了流媒体巨头旗下的新片。近日,这部备受关注的影片确定了自己的档期:2021年。虽然具体时间未定,但影片却已经实实在在地向前迈出了一步。", 
     "start": 29, 
     "end": 32, 
     "mention": "匹诺曹", 
     "gold_id": "Q73895818", 
     "source": "https://www.1905.com/news/20181107/1325389.shtml", 
     "domain": "news"
    }

### Data Splits

|     | # Mentions |  # Entities | Domain |
| ----  | ---- | ---- | ---- |
|  Train   | 9,879,813 | 541,058 | Wikipedia |
|  Validation   | 9,674 | 6,320  | Wikipedia |
|  Hansel-FS   | 5,260 | 2,720 | News, Social Media |
|  Hansel-ZS  | 4,715  | 4,046 | News, Social Media, E-books, etc.|

## Citation

If you find our dataset useful, please cite us.

```bibtex
@misc{xu2022hansel,
  title = {Hansel: A Chinese Few-Shot and Zero-Shot Entity Linking Benchmark},
  author = {Xu, Zhenran and Shan, Zifei and Li, Yuxin and Hu, Baotian and Qin, Bing},
  publisher = {arXiv},
  year = {2022},
  url = {https://arxiv.org/abs/2207.13005}
}
```