Update gazeta.py
Browse files
gazeta.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
# coding=utf-8
|
2 |
-
# Copyright 2020 The HuggingFace Datasets Authors and
|
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.
|
@@ -36,15 +36,14 @@ _CITATION = """
|
|
36 |
}
|
37 |
"""
|
38 |
|
39 |
-
_DESCRIPTION = "
|
40 |
-
"""
|
41 |
|
42 |
_HOMEPAGE = "https://github.com/IlyaGusev/gazeta"
|
43 |
|
44 |
_LICENSE = ""
|
45 |
|
46 |
_URLs = {
|
47 |
-
|
48 |
}
|
49 |
|
50 |
|
@@ -54,10 +53,10 @@ class GazetaDataset(datasets.GeneratorBasedBuilder):
|
|
54 |
VERSION = datasets.Version("1.0.0")
|
55 |
|
56 |
BUILDER_CONFIGS = [
|
57 |
-
datasets.BuilderConfig(name="
|
58 |
]
|
59 |
|
60 |
-
DEFAULT_CONFIG_NAME = "
|
61 |
|
62 |
def _info(self):
|
63 |
features = datasets.Features(
|
|
|
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.
|
|
|
36 |
}
|
37 |
"""
|
38 |
|
39 |
+
_DESCRIPTION = "Dataset for automatic summarization of Russian news"
|
|
|
40 |
|
41 |
_HOMEPAGE = "https://github.com/IlyaGusev/gazeta"
|
42 |
|
43 |
_LICENSE = ""
|
44 |
|
45 |
_URLs = {
|
46 |
+
"default": "https://github.com/IlyaGusev/gazeta/releases/download/1.0/gazeta_jsonl.tar.gz",
|
47 |
}
|
48 |
|
49 |
|
|
|
53 |
VERSION = datasets.Version("1.0.0")
|
54 |
|
55 |
BUILDER_CONFIGS = [
|
56 |
+
datasets.BuilderConfig(name="default", version=VERSION, description=""),
|
57 |
]
|
58 |
|
59 |
+
DEFAULT_CONFIG_NAME = "default"
|
60 |
|
61 |
def _info(self):
|
62 |
features = datasets.Features(
|