- Deskripsi :
XNLI adalah bagian dari beberapa ribu contoh dari MNLI yang telah diterjemahkan ke dalam 14 bahasa berbeda (beberapa sumber daya rendah). Seperti MNLI, tujuannya adalah untuk memprediksi entailment tekstual (apakah kalimat A menyiratkan / bertentangan / bukan kalimat B) dan merupakan tugas klasifikasi (diberi dua kalimat, prediksi salah satu dari tiga label).
Situs web : https://www.nyu.edu/projects/bowman/xnli/
Kode sumber :
tfds.text.Xnli
Versi :
-
1.1.0
(default): Tidak ada catatan rilis.
-
Ukuran unduhan :
17.04 MiB
Ukuran
29.62 MiB
data :29.62 MiB
Cache otomatis ( dokumentasi ): Ya
Split :
Membagi | Contoh |
---|---|
'test' | 5.010 |
'validation' | 2.490 |
- Fitur :
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),
}),
})
Kunci yang diawasi (Lihat
as_supervised
doc ):None
Kutipan :
@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",
}
Gambar ( tfds.show_examples ): Tidak didukung.
Contoh ( tfds.as_dataframe ):