--- license: apache-2.0 pretty_name: coref-data/gap_raw (mirror) source_datasets: - coref-data/gap_raw tags: - laya - laya-finetune - mirror - domain-general - use-permissive - genre-encyclopedia - label-binary - annot-unknown --- # coref-data/gap_raw(複製) ## データの内容 Wikipedia からサンプリングした、性別のバランスが取れた共参照解決のデータ。曖昧な代名詞と候補の名前 A・B の組に、共参照かどうかのラベル(A-coref、B-coref)が付いている。1 行が文章 `Text`、代名詞 `Pronoun`、候補 A・B とそれぞれの位置を持ち、Google AI Language が公開した。論文は Webster らの Mind the GAP(2018)である。 ## データの概要 | 項目 | 値 | |---|---| | 行数 | 4,454(1 構成・3 分割の合計) | | 列数 | 11 | | 容量 | 1.62 MB(ファイル 5 本) | | ファイルの形式 | parquet 3 | | 公開 | public | ### 構成と分割 | 構成(config) | 分割(split)ごとの行数 | 列数 | |---|---|---:| | `default` | `train` 2,000、`validation` 454、`test` 2,000 | 11 | ### 列(構成 `default`・分割 `train`) | 列 | 型 | 先頭の行の値 | |---|---|---| | `ID` | `string` | `development-1` | | `Text` | `string` | `Zoe Telford -- played the police officer girlfri…` | | `Pronoun` | `string` | `her` | | `Pronoun-offset` | `int32` | `274` | | `A` | `string` | `Cheryl Cassidy` | | `A-offset` | `int32` | `191` | | `A-coref` | `bool` | `True` | | `B` | `string` | `Pauline` | | `B-offset` | `int32` | `207` | | `B-coref` | `bool` | `False` | | `URL` | `string` | `http://en.wikipedia.org/wiki/List_of_Teachers_(U…` | 行数と列は HF のデータセットビューアの集計(元のデータセットの現在の版で数えたもの)。全データセットの一覧は [HYUKI5/dataset-catalog](https://huggingface.co/datasets/HYUKI5/dataset-catalog) にある。 ## 複製について [`coref-data/gap_raw`](https://huggingface.co/datasets/coref-data/gap_raw) をリビジョン `b3cb9f80cfade3374e73ecea63da8957eb125b3c` の時点でそのまま複製したもの。中身は変えていない。判断モデル Laya(`convaiinnovations/laya`)の微調整に使う候補として、調査メモ(`Laya 学習用データセット調査`)に載せたデータを集めている。 ## 出典 - 元のデータセット: https://huggingface.co/datasets/coref-data/gap_raw - 複製したリビジョン: `b3cb9f80cfade3374e73ecea63da8957eb125b3c`(2024-01-19 00:03:40+00:00) - 元のライセンス表記: `apache-2.0` ## 論文 - https://arxiv.org/abs/1810.05201 - https://aclanthology.org/Q18-1042 ## アノテーションの方法 (元のカードに該当の見出しが無いので、ラベルの付け方に触れた段落を抜き出した) - **ホームページ:** [https://github.com/google-research-datasets/gap-coreference](https://github.com/google-research-datasets/gap-coreference) - **リポジトリ:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards) - **論文:** [Mind the GAP: A Balanced Corpus of Gendered Ambiguous Pronouns](https://arxiv.org/abs/1810.05201) - **連絡先:** [gap-coreference@google.com](mailto:gap-coreference@google.com) - **ダウンロードしたデータセットファイルの大きさ:** 2.40 MB - **生成されたデータセットの大きさ:** 2.43 MB - **ディスクの使用量の合計:** 4.83 MB - **ダウンロードしたデータセットファイルの大きさ:** 2.40 MB - **生成されたデータセットの大きさ:** 2.43 MB - **ディスクの使用量の合計:** 4.83 MB ## 微調整に使うときの注意 - 調査メモの台帳での区分: A(許諾型のライセンスだけで、疑義の注記が無い)。区分は記載の文言で機械的に付けたもので、法的な判定ではない。学習に入れる前に元のカードとライセンスの原文で確かめる。 - Laya の入力は 2,048 token まで(ModernBERT-large / mmBERT)。長い本文は先頭から黙って切られるので、切れる行は事前に除くか、要約・切り出しをしてから入れる。 - 分割は記事・文書単位で行い、同じ本文から作った別の問いを学習側と較正側に分けない。温度と閾値は学習に使っていない分割で別々に当てる。 ## 調査メモの記述 | メモ | 節 | ライセンス(記載) | 確認 | 注記 | |---|---|---|---|---| | `jev_sources_tasksource_bekko.csv` | CSV(tasksource-jev-typed-decisions) | apache-2.0, apache-2.0 (original source) / license_use=commercial | 確認済 | license_use=commercial / [Jev 元データ source] source_annotation_converted(deterministic recast; no model r | ## 元のカード(日本語訳) 以下は元のデータセットのカードの本文を日本語に訳したもの(機械翻訳)。訳に疑問があるときは、末尾の原文を確かめる。 --- # データセットカード: "gap" ## データセットの説明 - **ホームページ:** [https://github.com/google-research-datasets/gap-coreference](https://github.com/google-research-datasets/gap-coreference) - **リポジトリ:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards) - **論文:** [Mind the GAP: A Balanced Corpus of Gendered Ambiguous Pronouns](https://arxiv.org/abs/1810.05201) - **連絡先:** [gap-coreference@google.com](mailto:gap-coreference@google.com) - **ダウンロードしたデータセットファイルの大きさ:** 2.40 MB - **生成されたデータセットの大きさ:** 2.43 MB - **ディスクの使用量の合計:** 4.83 MB ### データセットの概要 GAP は、性別のバランスが取れたデータセットであり、(曖昧な代名詞, 先行詞の名前) の共参照ラベル付きの組を 8,908 件含む。Wikipedia からサンプリングされ、Google AI Language が実用的な応用における共参照解決の評価のために公開したものである。 ## データセットの構造 ### データのインスタンス #### default - **ダウンロードしたデータセットファイルの大きさ:** 2.40 MB - **生成されたデータセットの大きさ:** 2.43 MB - **ディスクの使用量の合計:** 4.83 MB 'validation' の例は次のとおりである。 ``` { "A": "aliquam ultrices sagittis", "A-coref": false, "A-offset": 208, "B": "elementum curabitur vitae", "B-coref": false, "B-offset": 435, "ID": "validation-1", "Pronoun": "condimentum mattis pellentesque", "Pronoun-offset": 948, "Text": "Lorem ipsum dolor", "URL": "sem fringilla ut" } ``` ### データのフィールド データのフィールドは、すべての分割で同じである。 #### default - `ID`: `string` 型の特徴量。 - `Text`: `string` 型の特徴量。 - `Pronoun`: `string` 型の特徴量。 - `Pronoun-offset`: `int32` 型の特徴量。 - `A`: `string` 型の特徴量。 - `A-offset`: `int32` 型の特徴量。 - `A-coref`: `bool` 型の特徴量。 - `B`: `string` 型の特徴量。 - `B-offset`: `int32` 型の特徴量。 - `B-coref`: `bool` 型の特徴量。 - `URL`: `string` 型の特徴量。 ### データの分割 | name |train|validation|test| |-------|----:|---------:|---:| |default| 2000| 454|2000| ### 引用情報 ``` @article{webster-etal-2018-mind, title = "Mind the {GAP}: A Balanced Corpus of Gendered Ambiguous Pronouns", author = "Webster, Kellie and Recasens, Marta and Axelrod, Vera and Baldridge, Jason", journal = "Transactions of the Association for Computational Linguistics", volume = "6", year = "2018", address = "Cambridge, MA", publisher = "MIT Press", url = "https://aclanthology.org/Q18-1042", doi = "10.1162/tacl_a_00240", pages = "605--617", } ``` ### 貢献者 [@thomwolf](https://github.com/thomwolf)、[@patrickvonplaten](https://github.com/patrickvonplaten)、[@otakumesi](https://github.com/otakumesi)、[@lewtun](https://github.com/lewtun) が追加したデータセットを改変したものである。
原文(英語) # Dataset Card for "gap" ## Dataset Description - **Homepage:** [https://github.com/google-research-datasets/gap-coreference](https://github.com/google-research-datasets/gap-coreference) - **Repository:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards) - **Paper:** [Mind the GAP: A Balanced Corpus of Gendered Ambiguous Pronouns](https://arxiv.org/abs/1810.05201) - **Point of Contact:** [gap-coreference@google.com](mailto:gap-coreference@google.com) - **Size of downloaded dataset files:** 2.40 MB - **Size of the generated dataset:** 2.43 MB - **Total amount of disk used:** 4.83 MB ### Dataset Summary GAP is a gender-balanced dataset containing 8,908 coreference-labeled pairs of (ambiguous pronoun, antecedent name), sampled from Wikipedia and released by Google AI Language for the evaluation of coreference resolution in practical applications. ## Dataset Structure ### Data Instances #### default - **Size of downloaded dataset files:** 2.40 MB - **Size of the generated dataset:** 2.43 MB - **Total amount of disk used:** 4.83 MB An example of 'validation' looks as follows. ``` { "A": "aliquam ultrices sagittis", "A-coref": false, "A-offset": 208, "B": "elementum curabitur vitae", "B-coref": false, "B-offset": 435, "ID": "validation-1", "Pronoun": "condimentum mattis pellentesque", "Pronoun-offset": 948, "Text": "Lorem ipsum dolor", "URL": "sem fringilla ut" } ``` ### Data Fields The data fields are the same among all splits. #### default - `ID`: a `string` feature. - `Text`: a `string` feature. - `Pronoun`: a `string` feature. - `Pronoun-offset`: a `int32` feature. - `A`: a `string` feature. - `A-offset`: a `int32` feature. - `A-coref`: a `bool` feature. - `B`: a `string` feature. - `B-offset`: a `int32` feature. - `B-coref`: a `bool` feature. - `URL`: a `string` feature. ### Data Splits | name |train|validation|test| |-------|----:|---------:|---:| |default| 2000| 454|2000| ### Citation Information ``` @article{webster-etal-2018-mind, title = "Mind the {GAP}: A Balanced Corpus of Gendered Ambiguous Pronouns", author = "Webster, Kellie and Recasens, Marta and Axelrod, Vera and Baldridge, Jason", journal = "Transactions of the Association for Computational Linguistics", volume = "6", year = "2018", address = "Cambridge, MA", publisher = "MIT Press", url = "https://aclanthology.org/Q18-1042", doi = "10.1162/tacl_a_00240", pages = "605--617", } ``` ### Contributions Modified from dataset added by [@thomwolf](https://github.com/thomwolf), [@patrickvonplaten](https://github.com/patrickvonplaten), [@otakumesi](https://github.com/otakumesi), [@lewtun](https://github.com/lewtun)