parquet-converter commited on
Commit
c2e9031
1 Parent(s): fe41864

Update parquet files

Browse files
.gitattributes CHANGED
@@ -14,3 +14,4 @@
14
  *.pb filter=lfs diff=lfs merge=lfs -text
15
  *.pt filter=lfs diff=lfs merge=lfs -text
16
  *.pth filter=lfs diff=lfs merge=lfs -text
 
 
14
  *.pb filter=lfs diff=lfs merge=lfs -text
15
  *.pt filter=lfs diff=lfs merge=lfs -text
16
  *.pth filter=lfs diff=lfs merge=lfs -text
17
+ plain_text/vox_diy-rus_news-train.parquet filter=lfs diff=lfs merge=lfs -text
README.md DELETED
@@ -1,39 +0,0 @@
1
- ---
2
- annotations_creators:
3
- - found
4
- language_creators:
5
- - crowdsourced
6
- language:
7
- - ru
8
- license:
9
- - cc-by-4.0
10
- multilinguality:
11
- - monolingual
12
- size_categories:
13
- - unknown
14
- source_datasets:
15
- - original
16
- task_categories:
17
- - summarization
18
- - automatic-speech-recognition
19
- - text2text-generation
20
- task_ids: []
21
- pretty_name: VoxDIY RusNews
22
- language_bcp47:
23
- - ru-RU
24
- tags:
25
- - conditional-text-generation
26
- - stuctured-to-text
27
- - speech-recognition
28
- ---
29
-
30
- # Dataset Card for VoxDIY RusNews
31
-
32
- ## Dataset Description
33
- - **Repository:** [GitHub](https://github.com/Toloka/CrowdSpeech)
34
- - **Paper:** [Paper](https://openreview.net/forum?id=3_hgF1NAXU7)
35
- - **Point of Contact:** research@toloka.ai
36
-
37
- ### Dataset Summary
38
-
39
- VoxDIY RusNews is a dataset for crowdsourced text aggregation collected via VoxDIY pipeline. RusNews dataset was used as a source for the speech generation step.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
VoxDIY-RusNews.py DELETED
@@ -1,105 +0,0 @@
1
- # coding=utf-8
2
- # Copyright 2021 YANDEX LLC.
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
- """VoxDIY: Benchmark Dataset for Russian Crowdsourced Audio Transcription."""
18
-
19
-
20
- import json
21
-
22
- import datasets
23
- from datasets.tasks import Summarization
24
-
25
-
26
- logger = datasets.logging.get_logger(__name__)
27
-
28
- _DESCRIPTION = """\
29
- VoxDIY: Benchmark Dataset for Russian Crowdsourced Audio Transcription.
30
- """
31
-
32
- _URL = "https://raw.githubusercontent.com/pilot7747/VoxDIY/main/data/huggingface/"
33
- _URLS = {
34
- "train": _URL + "vox-diy-rusnews.json"
35
- }
36
-
37
-
38
- class VoxDIYRusNewsConfig(datasets.BuilderConfig):
39
- """BuilderConfig for VoxDIY-RusNews."""
40
-
41
- def __init__(self, **kwargs):
42
- """BuilderConfig for VoxDIY-RusNews.
43
-
44
- Args:
45
- **kwargs: keyword arguments forwarded to super.
46
- """
47
- super(VoxDIYRusNewsConfig, self).__init__(**kwargs)
48
-
49
-
50
- class VoxDIYRusNews(datasets.GeneratorBasedBuilder):
51
- """VoxDIY: Benchmark Dataset for Russian Crowdsourced Audio Transcription."""
52
-
53
- BUILDER_CONFIGS = [
54
- VoxDIYRusNewsConfig(
55
- name="plain_text",
56
- version=datasets.Version("1.0.0", ""),
57
- description="Plain text",
58
- ),
59
- ]
60
-
61
- def _info(self):
62
- return datasets.DatasetInfo(
63
- description=_DESCRIPTION,
64
- features=datasets.Features(
65
- {
66
- "task": datasets.Value("string"),
67
- "transcriptions": datasets.Value("string"),
68
- "performers": datasets.Value("string"),
69
- "gt": datasets.Value("string"),
70
- }
71
- ),
72
- supervised_keys=None,
73
- homepage="https://github.com/pilot7747/VoxDIY/",
74
- # citation=_CITATION,
75
- task_templates=[
76
- Summarization(
77
- text_column="transcriptions", summary_column="gt"
78
- )
79
- ],
80
- )
81
-
82
- def _split_generators(self, dl_manager):
83
- downloaded_files = dl_manager.download_and_extract(_URLS)
84
-
85
- return [
86
- datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": downloaded_files["train"]}),
87
- ]
88
-
89
- def _generate_examples(self, filepath):
90
- """This function returns the examples in the raw (text) form."""
91
- logger.info("generating examples from = %s", filepath)
92
- with open(filepath, encoding="utf-8") as f:
93
- crowdspeech = json.load(f)
94
- for audio in crowdspeech["data"]:
95
- task = audio.get("task", "")
96
- transcriptions = audio.get("transcriptions", "")
97
- performers = audio.get("performers", "")
98
- gt = audio.get("gt", "")
99
-
100
- yield task, {
101
- "task": task,
102
- "transcriptions": transcriptions,
103
- "performers": performers,
104
- "gt": gt,
105
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dataset_infos.json DELETED
@@ -1 +0,0 @@
1
- {"plain_text": {"description": "VoxDIY: Benchmark Dataset for Russian Crowdsourced Audio Transcription.\n", "citation": "", "homepage": "https://github.com/pilot7747/VoxDIY/", "license": "", "features": {"task": {"dtype": "string", "id": null, "_type": "Value"}, "transcriptions": {"dtype": "string", "id": null, "_type": "Value"}, "performers": {"dtype": "string", "id": null, "_type": "Value"}, "gt": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": [{"task": "summarization", "text_column": "transcriptions", "summary_column": "gt"}], "builder_name": "vox_diy_rus_news", "config_name": "plain_text", "version": {"version_str": "1.0.0", "description": "", "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 4847274, "num_examples": 3091, "dataset_name": "vox_diy_rus_news"}}, "download_checksums": {"https://raw.githubusercontent.com/pilot7747/VoxDIY/main/data/huggingface/vox-diy-rusnews.json": {"num_bytes": 13223752, "checksum": "623a9a24bc19c000402206e04fddaa76f640ab675364e845947a4bd1501792c8"}}, "download_size": 13223752, "post_processing_size": null, "dataset_size": 4847274, "size_in_bytes": 18071026}}
 
 
plain_text/vox_diy-rus_news-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52ccf7bd2c495d63aeb5b7777e97712b869fc54bb4fc13d395375790b043cec6
3
+ size 1053413