Datasets:

Modalities:
Text
Formats:
parquet
Languages:
Russian
ArXiv:
Libraries:
Datasets
Dask
License:
parquet-converter commited on
Commit
565e71a
·
1 Parent(s): b0995ad

Update parquet files

Browse files
README.md DELETED
@@ -1,203 +0,0 @@
1
- ---
2
- YAML tags:
3
- annotations_creators:
4
- - expert-generated
5
- - found
6
- language_creators:
7
- - expert-generated
8
- - found
9
- language:
10
- - ru
11
- language_bcp47:
12
- - ru-RU
13
- license:
14
- - unknown
15
- multilinguality:
16
- - monolingual
17
- pretty_name: Gazeta
18
- size_categories:
19
- - 10K<n<100K
20
- source_datasets:
21
- - original
22
- task_categories:
23
- - conditional-text-generation
24
- task_ids:
25
- - summarization
26
- paperswithcode_id: gazeta
27
- ---
28
-
29
- # Dataset Card for Gazeta
30
-
31
- ## Table of Contents
32
- - [Table of Contents](#table-of-contents)
33
- - [Dataset Description](#dataset-description)
34
- - [Dataset Summary](#dataset-summary)
35
- - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
36
- - [Languages](#languages)
37
- - [Dataset Structure](#dataset-structure)
38
- - [Data Instances](#data-instances)
39
- - [Data Fields](#data-fields)
40
- - [Data Splits](#data-splits)
41
- - [Dataset Creation](#dataset-creation)
42
- - [Curation Rationale](#curation-rationale)
43
- - [Source Data](#source-data)
44
- - [Annotations](#annotations)
45
- - [Personal and Sensitive Information](#personal-and-sensitive-information)
46
- - [Considerations for Using the Data](#considerations-for-using-the-data)
47
- - [Social Impact of Dataset](#social-impact-of-dataset)
48
- - [Discussion of Biases](#discussion-of-biases)
49
- - [Other Known Limitations](#other-known-limitations)
50
- - [Additional Information](#additional-information)
51
- - [Dataset Curators](#dataset-curators)
52
- - [Licensing Information](#licensing-information)
53
- - [Citation Information](#citation-information)
54
- - [Contributions](#contributions)
55
-
56
- ## Dataset Description
57
-
58
- - **Homepage:** https://github.com/IlyaGusev/gazeta
59
- - **Paper:** [Dataset for Automatic Summarization of Russian News](https://arxiv.org/abs/2006.11063)
60
- - **Leaderboard:** https://paperswithcode.com/sota/text-summarization-on-gazeta
61
- - **Point of Contact:** [Ilya Gusev]([email protected])
62
-
63
- ### Dataset Summary
64
-
65
- Dataset for automatic summarization of Russian news. News and their summaries are from the Gazeta website. Summaries were parsed as the content of an HTML tag with “description” property. Additional selection of good summaries was performed. There are two versions of this dataset.
66
-
67
- ### Supported Tasks and Leaderboards
68
-
69
- Leaderboard on Papers With Code: [text-summarization-on-gazeta](https://paperswithcode.com/sota/text-summarization-on-gazeta).
70
-
71
- Please use the original [evaluation script](https://github.com/IlyaGusev/summarus/blob/master/evaluate.py) with the same parameters. Example:
72
- ```
73
- python3 evaluate.py --predicted-path predictions.txt --gold-path targets.txt --language ru --tokenize-after --lower
74
- ```
75
-
76
- ### Languages
77
-
78
- The dataset is in Russian.
79
-
80
- ### Usage
81
-
82
- Loading version 1.0:
83
- ```python
84
- from datasets import load_dataset
85
- dataset = load_dataset('IlyaGusev/gazeta', revision="v1.0")
86
- ```
87
-
88
- Loading version 2.0:
89
- ```python
90
- from datasets import load_dataset
91
- dataset = load_dataset('IlyaGusev/gazeta', revision="v2.0")
92
- ```
93
-
94
- ### Other datasets
95
- Other Russian summarization datasets:
96
- * Russian part of [XL-Sum](https://huggingface.co/datasets/csebuetnlp/xlsum), parsed from www.bbc.com/russian, 77803 samples
97
- * Russian part of [MLSUM](https://huggingface.co/datasets/mlsum), parsed from www.mk.ru, 27063 samples
98
-
99
- ## Dataset Structure
100
-
101
- ### Data Instances
102
- For each instance, there is a string for the article, a string for the summary, and a string for the url. Additionally, a string for the title and a date are provided.
103
-
104
- ```
105
- {
106
- 'date': '2019-10-01 15:14:05',
107
- 'url': 'https://www.gazeta.ru/tech/2019/10/01/12698923/whatsapp_pls.shtml',
108
- 'title': 'На последнем издыхании: у кого отключится WhatsApp',
109
- 'summary': 'Мессенджер WhatsApp перестанет работать на ряде смартфонов — речь идет о гаджетах на базе операционных систем Android 2.3.7 и iOS 8, которые считаются устаревшими. В компании отмечают, что сервис на этих устройствах может отключиться в любой момент, поэтому будет целесообразно сменить устройство либо обновить ОС.',
110
- 'text': 'На официальном сайте мессенджера WhatsApp появилось сообщение о том, что с 1 февраля 2020 года сервис прекратит свою работу на некоторых устаревших смартфонах. Речь идет об устройствах, работающих на базе операционных систем Android 2.3.7 и iOS 8. При этом руководство WhatsApp предупреждает, что даже до обозначенного выше дедлайна функционал мессенджера на этих ОС может быть ограничен. «В связи с тем, что мы не планируем обновлять данные операционные системы, некоторые функции могут перестать работать на них в любое время», — говорится в пресс-релизе компании. Чтобы сохранить возможность пользоваться мессенджером без проблем, следует обновить версию прошивки или приобрести новое, более современное устройство. Сообщается, что на старых версиях операционных систем уже не получится завести новый аккаунт WhatsApp или верифицировать уже существующий. При этом в WhatsApp порекомендовали пользоваться устройствами с Android 4.0.3 и более поздними версиями, а также iOS 9 и более поздними версиями. Ранее стало известно о том, что с 31 декабря 2019 года WhatsApp прекращает поддержку устройств на базе операционной системы Windows Phone, от разработки которой пришлось отказаться. Впрочем, если верить статистике , эти меры вряд ли затронут большое количество пользователей. По состоянию на май 2019 года лишь 0,3% всех владельцев Android все еще пользуются ОС версий 2.3.3–2.3.7. Что же касается iOS, то версия под номером «10» или старше установлена на 5% устройств Apple. Как уже упоминалось выше, выпуск новых гаджетов на Windows Phone и вовсе прекращен ее создателем. В середине сентября экс-сотрудник АНБ Эдвард Сноуден раскритиковал WhatsApp за несовершенную систему защиты, порекомендовав политикам пользоваться другими средствами связи. Журналист французской радиостанции France Inter отметил, что президент Франции Эмманюэль Макрон для связи использует Telegram, а премьер-министр страны Эдуар Филипп — WhatsApp. Сноуден назвал такое решение «большой ошибкой», учитывая серьезные посты, которые занимают Макрон и Филипп. По словам Сноудена, эти сервисы безопаснее обычных SMS-сообщений, но все еще «чрезвычайно опасны, если вы премьер-министр». Больше всего претензий у информатора к WhatsApp, который стал частью активов корпорации Facebook в 2014 году. Эдвард Сноуден отметил, что после приобретения мессенджера Facebook «слой за слоем» снимает различные уровни защиты сервиса, чтобы при необходимости читать переписку своих пользователей. Ранее с критикой в адрес WhatsApp выступил и глава Telegram Павел Дуров. По словам предпринимателя, после устранения одной «дыры» в мессенджере тут же появляются новые. «Все выявленные проблемы позволяют вести слежку, выглядят и функционируют как бэкдоры», — заявил Дуров. При этом Дуров подчеркнул, что WhatsApp мог быть вынужден установить бэкдоры по указанию ФБР. В июне руководство WhatsApp заявило о том, что их сервис готов судиться с юзерами за нарушение правил пользования. В список нарушений входит использование программы «не в личных целях» и применение автоматической рассылки сообщений. По данным пресс-службы WhatsApp, уже сейчас обнаружены и заморожены «миллионы аккаунтов», пойманных на «злоупотреблении». «Наша платформа изначально создавалась, чтобы помогать людям общаться с их друзьями и любимыми... Используя информацию приложения, мы нашли и заблокировали миллионы злоупотребляющих аккаунтов от использования нашей сети», – заявили в WhatsApp. В частности, нарушение происходит, если компания публично заявляет о возможности использовать WhatsApp, нарушая при этом правила пользования мессенджером. «Ничто в этом объявлении не ограничивает право WhatsApp от применения своих условий с использованием технологий. Классификаторы на основе machine learning нам в этом помогают, и мы продолжим их использовать», – добавили в команде приложения.',
111
- }
112
- ```
113
-
114
- Some dataset statistics are below:
115
-
116
- | Feature | Mean Token Count | Mean Sentence Count |
117
- |:---------|:---------|--------------------------------------------------|
118
- | Text | 767 | 37 |
119
- | Summary | 50 | 3 |
120
-
121
- ### Data Splits
122
-
123
- | Dataset Split | v1, Number of Instances in Split | v2, Number of Instances in Split |
124
- |:---------|:---------|:---------|
125
- | Train | 52,400 | 60,964 |
126
- | Validation | 5,265 | 6,369 |
127
- | Test | 5,770 | 6,793 |
128
-
129
- ## Dataset Creation
130
-
131
- ### Curation Rationale
132
-
133
- When the first version of the dataset was collected, there were no other datasets for Russian text summarization. Even now, it is one of the few datasets for this task.
134
-
135
- ### Source Data
136
-
137
- #### Initial Data Collection and Normalization
138
-
139
- * The source of data is the [Gazeta](https://www.gazeta.ru/) website.
140
- * Parsing scripts are [here](https://github.com/IlyaGusev/gazeta/tree/master/parser).
141
- * Cleaning and normalization Colab notebook is [here](https://colab.research.google.com/drive/1Ed_chVrslp_7vJNS3PmRC0_ZJrRQYv0C)
142
-
143
- #### Who are the source language producers?
144
-
145
- Texts and summaries were written by journalists at [Gazeta](https://www.gazeta.ru/).
146
-
147
- ### Annotations
148
-
149
- #### Annotation process
150
-
151
- [N/A]
152
-
153
- #### Who are the annotators?
154
-
155
- [N/A]
156
-
157
- ### Personal and Sensitive Information
158
-
159
- The dataset is not anonymized, so individuals' names can be found in the dataset. Information about the original author is not included in the dataset.
160
-
161
- ## Considerations for Using the Data
162
-
163
- ### Social Impact of Dataset
164
-
165
- [More Information Needed]
166
-
167
- ### Discussion of Biases
168
-
169
- It is a dataset from a single source. Thus it has a constrained text style and event perspective.
170
-
171
- ### Other Known Limitations
172
-
173
- [More Information Needed]
174
-
175
- ## Additional Information
176
-
177
- ### Dataset Curators
178
-
179
- The data was collected by Ilya Gusev.
180
-
181
- ### Licensing Information
182
-
183
- Legal basis for distribution of the dataset: https://www.gazeta.ru/credits.shtml, paragraph 2.1.2. All rights belong to "www.gazeta.ru". Usage of this dataset is possible only for personal purposes on a non-commercial basis.
184
-
185
- ### Citation Information
186
-
187
- ```bibtex
188
- @InProceedings{10.1007/978-3-030-59082-6_9,
189
- author="Gusev, Ilya",
190
- editor="Filchenkov, Andrey and Kauttonen, Janne and Pivovarova, Lidia",
191
- title="Dataset for Automatic Summarization of Russian News",
192
- booktitle="Artificial Intelligence and Natural Language",
193
- year="2020",
194
- publisher="Springer International Publishing",
195
- address="Cham",
196
- pages="122--134",
197
- isbn="978-3-030-59082-6"
198
- }
199
- ```
200
-
201
- ### Contributions
202
-
203
- [N/A]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dataset_infos.json DELETED
@@ -1 +0,0 @@
1
- {"default": {"description": "Gazeta: Dataset for Automatic Summarization of Russian News", "citation": "\n@InProceedings{10.1007/978-3-030-59082-6_9,\n author=\"Gusev, Ilya\",\n editor=\"Filchenkov, Andrey and Kauttonen, Janne and Pivovarova, Lidia\",\n title=\"Dataset for Automatic Summarization of Russian News\",\n booktitle=\"Artificial Intelligence and Natural Language\",\n year=\"2020\",\n publisher=\"Springer International Publishing\",\n address=\"Cham\",\n pages=\"122--134\",\n isbn=\"978-3-030-59082-6\"\n}\n", "homepage": "https://github.com/IlyaGusev/gazeta", "license": "", "features": {"text": {"dtype": "string", "id": null, "_type": "Value"}, "summary": {"dtype": "string", "id": null, "_type": "Value"}, "title": {"dtype": "string", "id": null, "_type": "Value"}, "date": {"dtype": "string", "id": null, "_type": "Value"}, "url": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "text", "output": "summary"}, "task_templates": null, "builder_name": "gazeta_dataset", "config_name": "default", "version": {"version_str": "2.0.0", "description": null, "major": 2, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 547118576, "num_examples": 60964, "dataset_name": "gazeta_dataset"}, "test": {"name": "test", "num_bytes": 60816841, "num_examples": 6793, "dataset_name": "gazeta_dataset"}, "validation": {"name": "validation", "num_bytes": 55784073, "num_examples": 6369, "dataset_name": "gazeta_dataset"}}, "download_checksums": {"gazeta_train.jsonl": {"num_bytes": 549801555, "checksum": "678ce0eab9b3026c9f3388c6f8b2e5a48c84590819e175a462cf15749bc0c60e"}, "gazeta_val.jsonl": {"num_bytes": 56064530, "checksum": "bb1e1edd75b9de85af193de473e301655f59e345be3c29ce9087326adada24fd"}, "gazeta_test.jsonl": {"num_bytes": 61115756, "checksum": "3963ca7e2313c4bb75a4140abd614e17d98199c9f03f03490ab6afb19bfbf6cf"}}, "download_size": 666981841, "post_processing_size": null, "dataset_size": 663719490, "size_in_bytes": 1330701331}}
 
 
gazeta_val.jsonl → default/gazeta-test.parquet RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bb1e1edd75b9de85af193de473e301655f59e345be3c29ce9087326adada24fd
3
- size 56064530
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28bc68881562392d3471cc5bd417c84757df02235dd72084aaddb976c4daeb20
3
+ size 30276384
gazeta_train.jsonl → default/gazeta-train-00000-of-00002.parquet RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:678ce0eab9b3026c9f3388c6f8b2e5a48c84590819e175a462cf15749bc0c60e
3
- size 549801555
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ee596ba2b448db5183172950ffbe275d1ccde01ae95c76792cc983b2df541cf
3
+ size 251643353
gazeta_test.jsonl → default/gazeta-train-00001-of-00002.parquet RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3963ca7e2313c4bb75a4140abd614e17d98199c9f03f03490ab6afb19bfbf6cf
3
- size 61115756
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed6d5dc9ed59dd48c89c86098a3459d31b5446c06ba57ea6c8b73a6a02986116
3
+ size 22741669
default/gazeta-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:724f100aa32622bd4739bf15e7bb94c1c35286238428cd432d2cedb25c43a05a
3
+ size 27825208
gazeta.py DELETED
@@ -1,92 +0,0 @@
1
- # coding=utf-8
2
- # Copyright 2020 The HuggingFace Datasets Authors and Ilya Gusev
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
-
16
- # Lint as: python3
17
- """Gazeta: Dataset for Automatic Summarization of Russian News"""
18
-
19
-
20
- import json
21
- import os
22
-
23
- import datasets
24
-
25
-
26
- _CITATION = """
27
- @InProceedings{10.1007/978-3-030-59082-6_9,
28
- author="Gusev, Ilya",
29
- editor="Filchenkov, Andrey and Kauttonen, Janne and Pivovarova, Lidia",
30
- title="Dataset for Automatic Summarization of Russian News",
31
- booktitle="Artificial Intelligence and Natural Language",
32
- year="2020",
33
- publisher="Springer International Publishing",
34
- address="Cham",
35
- pages="122--134",
36
- isbn="978-3-030-59082-6"
37
- }
38
- """
39
-
40
- _DESCRIPTION = "Dataset for automatic summarization of Russian news"
41
- _HOMEPAGE = "https://github.com/IlyaGusev/gazeta"
42
- _URLS = {
43
- "train": "gazeta_train.jsonl",
44
- "val": "gazeta_val.jsonl",
45
- "test": "gazeta_test.jsonl"
46
- }
47
- _DOCUMENT = "text"
48
- _SUMMARY = "summary"
49
-
50
-
51
- class GazetaDataset(datasets.GeneratorBasedBuilder):
52
- """Gazeta Dataset"""
53
-
54
- VERSION = datasets.Version("2.0.0")
55
-
56
- BUILDER_CONFIGS = [
57
- datasets.BuilderConfig(name="default", version=VERSION, description=""),
58
- ]
59
-
60
- DEFAULT_CONFIG_NAME = "default"
61
-
62
- def _info(self):
63
- features = datasets.Features(
64
- {
65
- _DOCUMENT: datasets.Value("string"),
66
- _SUMMARY: datasets.Value("string"),
67
- "title": datasets.Value("string"),
68
- "date": datasets.Value("string"),
69
- "url": datasets.Value("string")
70
- }
71
- )
72
- return datasets.DatasetInfo(
73
- description=_DESCRIPTION,
74
- features=features,
75
- supervised_keys=(_DOCUMENT, _SUMMARY),
76
- homepage=_HOMEPAGE,
77
- citation=_CITATION,
78
- )
79
-
80
- def _split_generators(self, dl_manager):
81
- downloaded_files = dl_manager.download_and_extract(_URLS)
82
- return [
83
- datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": downloaded_files["train"]}),
84
- datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={"filepath": downloaded_files["test"]}),
85
- datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={"filepath": downloaded_files["val"]}),
86
- ]
87
-
88
- def _generate_examples(self, filepath):
89
- with open(filepath, encoding="utf-8") as f:
90
- for id_, row in enumerate(f):
91
- data = json.loads(row)
92
- yield id_, data