xnli_eval_multirepr
收藏资源简介:
该数据集是一个多语言自然语言推理(NLI)数据集,包含保加利亚语(bg)、孟加拉语(bn)、英语(en)、西班牙语(es)、印地语(hi)和俄语(ru)六个语言的配置。每个语言配置包含验证集和测试集,样本数量分别为2490和5010。数据特征包括前提(premise)、假设(hypothesis)和标签(label),其中标签分为三类:蕴含(entailment)、中性(neutral)和矛盾(contradiction)。此外,还提供了前提和假设的罗马化版本(romanized)以及去除音标符号的IPA版本(ipa_stripped)。该数据集适用于多语言自然语言理解、文本蕴含识别等任务。
This dataset is a multilingual natural language inference (NLI) dataset with configurations for six languages: Bulgarian (bg), Bengali (bn), English (en), Spanish (es), Hindi (hi), and Russian (ru). Each language configuration contains a validation set and a test set, with 2490 and 5010 samples respectively. The data features include premise, hypothesis, and label. The label falls into three categories: entailment, neutral, and contradiction. Additionally, romanized versions of the premise and hypothesis, as well as IPA versions with phonetic symbols removed (ipa_stripped) are provided. This dataset is applicable to tasks such as multilingual natural language understanding and textual entailment recognition.
数据集概述:xnli_eval_multirepr
数据集基本信息
- 数据集地址:https://huggingface.co/datasets/mugezhang/xnli_eval_multirepr
- 配置数量:6种语言配置
- 任务类型:自然语言推理(文本蕴含分类)
数据集配置与语言
数据集包含以下6种语言配置:
- bg:保加利亚语
- bn:孟加拉语
- en:英语
- es:西班牙语
- hi:印地语
- ru:俄语
数据特征
所有语言配置均包含以下7个特征字段:
- premise:前提文本(字符串类型)
- hypothesis:假设文本(字符串类型)
- label:标签(分类标签)
- 标签映射:
0对应 entailment(蕴含),1对应 neutral(中立),2对应 contradiction(矛盾)
- 标签映射:
- premise_romanized:前提文本的罗马化表示(字符串类型)
- hypothesis_romanized:假设文本的罗马化表示(字符串类型)
- premise_ipa_stripped:前提文本的IPA剥离表示(字符串类型)
- hypothesis_ipa_stripped:假设文本的IPA剥离表示(字符串类型)
数据划分
每个语言配置均包含两个数据划分:
- validation(验证集)
- test(测试集)
数据规模统计
保加利亚语 (bg)
- 验证集:2,490 个样本,1,713,161 字节
- 测试集:5,010 个样本,3,476,792 字节
- 下载大小:1,695,351 字节
- 数据集总大小:5,189,953 字节
孟加拉语 (bn)
- 验证集:2,490 个样本,2,116,077 字节
- 测试集:5,010 个样本,4,281,043 字节
- 下载大小:1,740,855 字节
- 数据集总大小:6,397,120 字节
英语 (en)
- 验证集:2,490 个样本,1,363,685 字节
- 测试集:5,010 个样本,2,755,930 字节
- 下载大小:1,408,825 字节
- 数据集总大小:4,119,615 字节
西班牙语 (es)
- 验证集:2,490 个样本,1,440,816 字节
- 测试集:5,010 个样本,2,924,044 字节
- 下载大小:1,515,313 字节
- 数据集总大小:4,364,860 字节
印地语 (hi)
- 验证集:2,490 个样本,2,086,995 字节
- 测试集:5,010 个样本,4,216,475 字节
- 下载大小:1,821,008 字节
- 数据集总大小:6,303,470 字节
俄语 (ru)
- 验证集:2,490 个样本,1,864,852 字节
- 测试集:5,010 个样本,3,803,982 字节
- 下载大小:1,883,914 字节
- 数据集总大小:5,668,834 字节
文件结构
每个语言配置的数据文件按以下路径组织:
{语言代码}/validation-*{语言代码}/test-*




