- Mô tả:
XNLI là một tập hợp con của vài nghìn ví dụ từ MNLI đã được dịch sang 14 ngôn ngữ khác nhau (một số nguồn tài nguyên thấp). Như với MNLI, mục tiêu là dự đoán sự liên kết trong văn bản (câu A có ngụ ý / mâu thuẫn / không câu B) và là một nhiệm vụ phân loại (cho hai câu, dự đoán một trong ba nhãn).
Trang chủ: https://www.nyu.edu/projects/bowman/xnli/
Source code:
tfds.text.Xnli
phiên bản:
-
1.1.0
(mặc định): Không có ghi chú phát hành.
-
Dung lượng tải về:
17.04 MiB
Dataset kích thước:
29.62 MiB
Tự động lưu trữ ( tài liệu ): Có
tách:
Tách ra | Các ví dụ |
---|---|
'test' | 5,010 |
'validation' | 2.490 |
- Các tính năng:
FeaturesDict({
'hypothesis': TranslationVariableLanguages({
'language': Text(shape=(), dtype=tf.string),
'translation': Text(shape=(), dtype=tf.string),
}),
'label': ClassLabel(shape=(), dtype=tf.int64, num_classes=3),
'premise': Translation({
'ar': Text(shape=(), dtype=tf.string),
'bg': Text(shape=(), dtype=tf.string),
'de': Text(shape=(), dtype=tf.string),
'el': Text(shape=(), dtype=tf.string),
'en': Text(shape=(), dtype=tf.string),
'es': Text(shape=(), dtype=tf.string),
'fr': Text(shape=(), dtype=tf.string),
'hi': Text(shape=(), dtype=tf.string),
'ru': Text(shape=(), dtype=tf.string),
'sw': Text(shape=(), dtype=tf.string),
'th': Text(shape=(), dtype=tf.string),
'tr': Text(shape=(), dtype=tf.string),
'ur': Text(shape=(), dtype=tf.string),
'vi': Text(shape=(), dtype=tf.string),
'zh': Text(shape=(), dtype=tf.string),
}),
})
Phím giám sát (Xem
as_supervised
doc ):None
Hình ( tfds.show_examples ): Không được hỗ trợ.
Ví dụ ( tfds.as_dataframe ):
- Trích dẫn:
@InProceedings{conneau2018xnli,
author = "Conneau, Alexis
and Rinott, Ruty
and Lample, Guillaume
and Williams, Adina
and Bowman, Samuel R.
and Schwenk, Holger
and Stoyanov, Veselin",
title = "XNLI: Evaluating Cross-lingual Sentence Representations",
booktitle = "Proceedings of the 2018 Conference on Empirical Methods
in Natural Language Processing",
year = "2018",
publisher = "Association for Computational Linguistics",
location = "Brussels, Belgium",
}