shibing624 commited on
Commit
fa966ba
·
1 Parent(s): 74a6de2

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +184 -3
README.md CHANGED
@@ -1,3 +1,184 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ annotations_creators:
3
+ - shibing624
4
+ language_creators:
5
+ - shibing624
6
+ languages:
7
+ - zh
8
+ licenses:
9
+ - cc-by-4-0
10
+ multilinguality:
11
+ - monolingual
12
+ size_categories:
13
+ - 100K<n<20M
14
+ source_datasets:
15
+ - extended|other-flicker-30k
16
+ - https://github.com/IceFlameWorm/NLP_Datasets/tree/master/ATEC
17
+ - http://icrc.hitsz.edu.cn/info/1037/1162.htm
18
+ - http://icrc.hitsz.edu.cn/Article/show/171.html
19
+ - https://arxiv.org/abs/1908.11828
20
+ - https://github.com/pluto-junzeng/CNSD
21
+ task_categories:
22
+ - text-classification
23
+ - text-scoring
24
+ task_ids:
25
+ - natural-language-inference
26
+ - semantic-similarity-scoring
27
+ paperswithcode_id: snli
28
+ pretty_name: Stanford Natural Language Inference
29
+ ---
30
+ # Dataset Card for NLI_zh
31
+ ## Table of Contents
32
+ - [Dataset Description](#dataset-description)
33
+ - [Dataset Summary](#dataset-summary)
34
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
35
+ - [Languages](#languages)
36
+ - [Dataset Structure](#dataset-structure)
37
+ - [Data Instances](#data-instances)
38
+ - [Data Fields](#data-fields)
39
+ - [Data Splits](#data-splits)
40
+ - [Dataset Creation](#dataset-creation)
41
+ - [Curation Rationale](#curation-rationale)
42
+ - [Source Data](#source-data)
43
+ - [Annotations](#annotations)
44
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
45
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
46
+ - [Social Impact of Dataset](#social-impact-of-dataset)
47
+ - [Discussion of Biases](#discussion-of-biases)
48
+ - [Other Known Limitations](#other-known-limitations)
49
+ - [Additional Information](#additional-information)
50
+ - [Dataset Curators](#dataset-curators)
51
+ - [Licensing Information](#licensing-information)
52
+ - [Citation Information](#citation-information)
53
+ - [Contributions](#contributions)
54
+ ## Dataset Description
55
+ - **Repository:** [Chinese NLI dataset](https://github.com/shibing624/text2vec)
56
+ - **Leaderboard:** [NLI_zh leaderboard](https://github.com/shibing624/text2vec) (located on the homepage)
57
+ - **Size of downloaded dataset files:** 16 MB
58
+ - **Total amount of disk used:** 42 MB
59
+ ### Dataset Summary
60
+ 常见中文语义匹配数据集,包含[ATEC](https://github.com/IceFlameWorm/NLP_Datasets/tree/master/ATEC)、[BQ](http://icrc.hitsz.edu.cn/info/1037/1162.htm)、[LCQMC](http://icrc.hitsz.edu.cn/Article/show/171.html)、[PAWSX](https://arxiv.org/abs/1908.11828)、[STS-B](https://github.com/pluto-junzeng/CNSD)共5个任务。
61
+ 可以从数据集对应的链接自行下载,也可以从[百度网盘(提取码:qkt6)](https://pan.baidu.com/s/1d6jSiU1wHQAEMWJi7JJWCQ)下载。其中senteval_cn目录是评测数据集汇总,senteval_cn.zip是senteval目录的打包,两者下其一就好。
62
+
63
+ ATEC: https://github.com/IceFlameWorm/NLP_Datasets/tree/master/ATEC (重新划分了train、valid和test)
64
+ BQ: http://icrc.hitsz.edu.cn/info/1037/1162.htm
65
+ LCQMC: http://icrc.hitsz.edu.cn/Article/show/171.html
66
+ PAWSX: https://arxiv.org/abs/1908.11828 (只保留了中文部分)
67
+ STS-B: https://github.com/pluto-junzeng/CNSD
68
+
69
+
70
+ ### Supported Tasks and Leaderboards
71
+ - Supported Tasks: 支持中文文本匹配任务,文本相似度计算等相关任务。
72
+
73
+ 中文匹配任务的结果目前在顶会paper上出现较少,我罗列一个我自己训练的结果:
74
+
75
+ - **Leaderboard:** [NLI_zh leaderboard](https://github.com/shibing624/text2vec)
76
+ ### Languages
77
+ 数据集均是简体中文文本。
78
+
79
+ ## Dataset Structure
80
+ ### Data Instances
81
+ An example of 'train' looks as follows.
82
+ ```
83
+ {
84
+ "sentence1": "刘诗诗杨幂谁漂亮",
85
+ "sentence2": "刘诗诗和杨幂谁漂亮",
86
+ "label": 1,
87
+ }
88
+ {
89
+ "sentence1": "汇理财怎么样",
90
+ "sentence2": "怎么样去理财",
91
+ "label": 0,
92
+ }
93
+ ```
94
+
95
+ ### Data Fields
96
+ The data fields are the same among all splits.
97
+
98
+ - `sentence1`: a `string` feature.
99
+ - `sentence2`: a `string` feature.
100
+ - `label`: a classification label, with possible values including `similarity` (1), `dissimilarity` (0).
101
+ ### Data Splits
102
+ #### ATEC
103
+ ```shell
104
+ $ wc -l ATEC/*
105
+ 20000 ATEC/ATEC.test.data
106
+ 62477 ATEC/ATEC.train.data
107
+ 20000 ATEC/ATEC.valid.data
108
+ 102477 total
109
+ ```
110
+ #### BQ
111
+ ```shell
112
+ $ wc -l BQ/*
113
+ 10000 BQ/BQ.test.data
114
+ 100000 BQ/BQ.train.data
115
+ 10000 BQ/BQ.valid.data
116
+ 120000 total
117
+ ```
118
+ #### LCQMC
119
+ ```shell
120
+ $ wc -l LCQMC/*
121
+ 12500 LCQMC/LCQMC.test.data
122
+ 238766 LCQMC/LCQMC.train.data
123
+ 8802 LCQMC/LCQMC.valid.data
124
+ 260068 total
125
+ ```
126
+
127
+ #### PAWSX
128
+ ```shell
129
+ $ wc -l PAWSX/*
130
+ 2000 PAWSX/PAWSX.test.data
131
+ 49401 PAWSX/PAWSX.train.data
132
+ 2000 PAWSX/PAWSX.valid.data
133
+ 53401 total
134
+ ```
135
+
136
+ #### STS-B
137
+ ```shell
138
+ $ wc -l STS-B/*
139
+ 1361 STS-B/STS-B.test.data
140
+ 5231 STS-B/STS-B.train.data
141
+ 1458 STS-B/STS-B.valid.data
142
+ 8050 total
143
+ ```
144
+
145
+ ## Dataset Creation
146
+ ### Curation Rationale
147
+ 作为中文NLI(natural langauge inference)数据集,这里把这个数据集上传到huggingface的datasets,方便大家使用。
148
+ ### Source Data
149
+ #### Initial Data Collection and Normalization
150
+ The hypotheses were elicited by presenting crowdworkers with captions from preexisting datasets without the associated photos, but the vocabulary of the hypotheses still reflects the content of the photos as well as the caption style of writing (e.g. mostly present tense). The dataset developers report 37,026 distinct words in the corpus, ignoring case. They allowed bare NPs as well as full sentences. Using the Stanford PCFG Parser 3.5.2 (Klein and Manning, 2003) trained on the standard training set as well as on the Brown Corpus (Francis and Kucera 1979), the authors report that 74% of the premises and 88.9% of the hypotheses result in a parse rooted with an 'S'. The corpus was developed between 2014 and 2015.
151
+ Crowdworkers were presented with a caption without the associated photo and asked to produce three alternate captions, one that is definitely true, one that might be true, and one that is definitely false. See Section 2.1 and Figure 1 for details (Bowman et al., 2015).
152
+ The corpus includes content from the [Flickr 30k corpus](http://shannon.cs.illinois.edu/DenotationGraph/) and the [VisualGenome corpus](https://visualgenome.org/). The photo captions used to prompt the data creation were collected on Flickr by [Young et al. (2014)](https://www.aclweb.org/anthology/Q14-1006.pdf), who extended the Flickr 8K dataset developed by [Hodosh et al. (2013)](https://www.jair.org/index.php/jair/article/view/10833). Hodosh et al. collected photos from the following Flickr groups: strangers!, Wild-Child (Kids in Action), Dogs in Action (Read the Rules), Outdoor Activities, Action Photography, Flickr-Social (two or more people in the photo). Young et al. do not list the specific groups they collected photos from. The VisualGenome corpus also contains images from Flickr, originally collected in [MS-COCO](https://cocodataset.org/#home) and [YFCC100M](http://projects.dfki.uni-kl.de/yfcc100m/).
153
+ The premises from the Flickr 30k corpus corrected for spelling using the Linux spell checker and ungrammatical sentences were removed. Bowman et al. do not report any normalization, though they note that punctuation and capitalization are often omitted.
154
+ #### Who are the source language producers?
155
+ 数据集的版权归原作者所有,使用各数据集时请尊重原数据集的版权。
156
+
157
+ BQ: Jing Chen, Qingcai Chen, Xin Liu, Haijun Yang, Daohe Lu, Buzhou Tang, The BQ Corpus: A Large-scale Domain-specific Chinese Corpus For Sentence Semantic Equivalence Identification EMNLP2018.
158
+ ### Annotations
159
+ #### Annotation process
160
+
161
+ #### Who are the annotators?
162
+ 原作者。
163
+
164
+ ### Personal and Sensitive Information
165
+
166
+ ## Considerations for Using the Data
167
+ ### Social Impact of Dataset
168
+ This dataset was developed as a benchmark for evaluating representational systems for text, especially including those induced by representation learning methods, in the task of predicting truth conditions in a given context.
169
+
170
+ Systems that are successful at such a task may be more successful in modeling semantic representations.
171
+ ### Discussion of Biases
172
+ ### Other Known Limitations
173
+ ## Additional Information
174
+ ### Dataset Curators
175
+ - 苏剑林对文件名称有整理
176
+ - 我上传到huggingface的datasets
177
+ ### Licensing Information
178
+ 用于学术研究。
179
+
180
+ The BQ corpus is free to the public for academic research.
181
+
182
+ ```
183
+ ### Contributions
184
+ Thanks to [@shibing624](https://github.com/shibing624) add this dataset.