paws_x_wiki
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
このデータセットには、人間が翻訳した 23,659 の PAWS 評価ペアと、類型的に異なる 6 つの言語による機械翻訳された 296,406 のトレーニング ペアが含まれています。
詳細については、付属の論文を参照してください: PAWS-X: A Cross-lingual Adversarial Dataset for Paraphrase Identification ( https://arxiv.org/abs/1908.11828)
PAWS データセットと同様に、例はトレーニング/開発/テストのセクションに分かれています。すべてのファイルは、次の 4 つの列を持つ tsv 形式です。
-
id
: 各ペアの一意の ID。 -
sentence1
1 : 最初の文。 -
sentence2
2 : 2番目の文。 -
(noisy_)label
: 各ペアの (Noisy) ラベル。
各ラベルには 2 つの可能な値があります。0 はペアが異なる意味を持つことを示し、1 はペアが言い換えであることを示します。
FeaturesDict({
'label': ClassLabel(shape=(), dtype=int64, num_classes=2),
'sentence1': Text(shape=(), dtype=string),
'sentence2': Text(shape=(), dtype=string),
})
特徴 | クラス | 形 | Dtype | 説明 |
---|
| 特徴辞書 | | | |
ラベル | クラスラベル | | int64 | |
センテンス1 | 文章 | | ストリング | |
センテンス2 | 文章 | | ストリング | |
@InProceedings{pawsx2019emnlp,
title = { {PAWS-X: A Cross-lingual Adversarial Dataset for Paraphrase Identification} },
author = {Yang, Yinfei and Zhang, Yuan and Tar, Chris and Baldridge, Jason},
booktitle = {Proc. of EMNLP},
year = {2019}
}
paws_x_wiki/de (デフォルト設定)
構成の説明: de に翻訳
データセットサイズ: 15.27 MiB
スプリット:
スプリット | 例 |
---|
'test' | 2,000 |
'train' | 49,380 |
'validation' | 2,000 |
paws_x_wiki/en
構成の説明: en に翻訳
データセットのサイズ: 14.59 MiB
スプリット:
スプリット | 例 |
---|
'test' | 2,000 |
'train' | 49,175 |
'validation' | 2,000 |
paws_x_wiki/es
構成の説明: es に翻訳
データセットサイズ: 15.27 MiB
スプリット:
スプリット | 例 |
---|
'test' | 2,000 |
'train' | 49,401 |
'validation' | 1,961人 |
paws_x_wiki/fr
構成の説明: fr に翻訳
データセットのサイズ: 15.79 MiB
スプリット:
スプリット | 例 |
---|
'test' | 2,000 |
'train' | 49,399 |
'validation' | 1,988人 |
paws_x_wiki/ja
構成の説明: 日本語に翻訳
データセットのサイズ: 17.77 MiB
スプリット:
スプリット | 例 |
---|
'test' | 2,000 |
'train' | 49,401 |
'validation' | 2,000 |
paws_x_wiki/ko
構成の説明: ko に翻訳
データセットサイズ: 16.42 MiB
スプリット:
スプリット | 例 |
---|
'test' | 1,999 |
'train' | 49,164 |
'validation' | 2,000 |
paws_x_wiki/zh
構成の説明: zh に翻訳
データセットのサイズ: 13.20 MiB
スプリット:
スプリット | 例 |
---|
'test' | 2,000 |
'train' | 49,401 |
'validation' | 2,000 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2022-12-15 UTC。
[null,null,["最終更新日 2022-12-15 UTC。"],[],[],null,["# paws_x_wiki\n\n\u003cbr /\u003e\n\n- **Description**:\n\nThis dataset contains 23,659 human translated PAWS evaluation pairs and 296,406\nmachine translated training pairs in six typologically distinct languages:\n\n- French\n- Spanish\n- German\n- Chinese\n- Japanese\n- Korean\n\nFor further details, see the accompanying paper: PAWS-X: A Cross-lingual\nAdversarial Dataset for Paraphrase Identification at\n\u003chttps://arxiv.org/abs/1908.11828\u003e\n\nSimilar to PAWS Dataset, examples are split into Train/Dev/Test sections. All\nfiles are in the tsv format with four columns:\n\n1. `id`: A unique id for each pair.\n2. `sentence1`: The first sentence.\n3. `sentence2`: The second sentence.\n4. `(noisy_)label`: (Noisy) label for each pair.\n\nEach label has two possible values: 0 indicates the pair has different meaning,\nwhile 1 indicates the pair is a paraphrase.\n\n- **Additional Documentation** :\n [Explore on Papers With Code\n north_east](https://paperswithcode.com/dataset/paws-x)\n\n- **Homepage** :\n \u003chttps://github.com/google-research-datasets/paws/tree/master/pawsx\u003e\n\n- **Source code** :\n [`tfds.datasets.paws_x_wiki.Builder`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/datasets/paws_x_wiki/paws_x_wiki_dataset_builder.py)\n\n- **Versions**:\n\n - **`1.0.0`** (default): No release notes.\n- **Download size** : `28.88 MiB`\n\n- **Auto-cached**\n ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):\n Yes\n\n- **Feature structure**:\n\n FeaturesDict({\n 'label': ClassLabel(shape=(), dtype=int64, num_classes=2),\n 'sentence1': Text(shape=(), dtype=string),\n 'sentence2': Text(shape=(), dtype=string),\n })\n\n- **Feature documentation**:\n\n| Feature | Class | Shape | Dtype | Description |\n|-----------|--------------|-------|--------|-------------|\n| | FeaturesDict | | | |\n| label | ClassLabel | | int64 | |\n| sentence1 | Text | | string | |\n| sentence2 | Text | | string | |\n\n- **Supervised keys** (See\n [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):\n `None`\n\n- **Figure**\n ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):\n Not supported.\n\n- **Citation**:\n\n @InProceedings{pawsx2019emnlp,\n title = { {PAWS-X: A Cross-lingual Adversarial Dataset for Paraphrase Identification} },\n author = {Yang, Yinfei and Zhang, Yuan and Tar, Chris and Baldridge, Jason},\n booktitle = {Proc. of EMNLP},\n year = {2019}\n }\n\npaws_x_wiki/de (default config)\n-------------------------------\n\n- **Config description**: Translated to de\n\n- **Dataset size** : `15.27 MiB`\n\n- **Splits**:\n\n| Split | Examples |\n|----------------|----------|\n| `'test'` | 2,000 |\n| `'train'` | 49,380 |\n| `'validation'` | 2,000 |\n\n- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\npaws_x_wiki/en\n--------------\n\n- **Config description**: Translated to en\n\n- **Dataset size** : `14.59 MiB`\n\n- **Splits**:\n\n| Split | Examples |\n|----------------|----------|\n| `'test'` | 2,000 |\n| `'train'` | 49,175 |\n| `'validation'` | 2,000 |\n\n- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\npaws_x_wiki/es\n--------------\n\n- **Config description**: Translated to es\n\n- **Dataset size** : `15.27 MiB`\n\n- **Splits**:\n\n| Split | Examples |\n|----------------|----------|\n| `'test'` | 2,000 |\n| `'train'` | 49,401 |\n| `'validation'` | 1,961 |\n\n- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\npaws_x_wiki/fr\n--------------\n\n- **Config description**: Translated to fr\n\n- **Dataset size** : `15.79 MiB`\n\n- **Splits**:\n\n| Split | Examples |\n|----------------|----------|\n| `'test'` | 2,000 |\n| `'train'` | 49,399 |\n| `'validation'` | 1,988 |\n\n- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\npaws_x_wiki/ja\n--------------\n\n- **Config description**: Translated to ja\n\n- **Dataset size** : `17.77 MiB`\n\n- **Splits**:\n\n| Split | Examples |\n|----------------|----------|\n| `'test'` | 2,000 |\n| `'train'` | 49,401 |\n| `'validation'` | 2,000 |\n\n- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\npaws_x_wiki/ko\n--------------\n\n- **Config description**: Translated to ko\n\n- **Dataset size** : `16.42 MiB`\n\n- **Splits**:\n\n| Split | Examples |\n|----------------|----------|\n| `'test'` | 1,999 |\n| `'train'` | 49,164 |\n| `'validation'` | 2,000 |\n\n- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\npaws_x_wiki/zh\n--------------\n\n- **Config description**: Translated to zh\n\n- **Dataset size** : `13.20 MiB`\n\n- **Splits**:\n\n| Split | Examples |\n|----------------|----------|\n| `'test'` | 2,000 |\n| `'train'` | 49,401 |\n| `'validation'` | 2,000 |\n\n- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples..."]]