Datasets:
Tasks:
Text Classification
Sub-tasks:
natural-language-inference
Languages:
English
Size:
10K<n<100K
License:
Filippo B
commited on
Commit
·
ab91fd6
1
Parent(s):
bc0f4e5
Update with latest version of the dataset
Browse files- osdg_cd.py +8 -6
osdg_cd.py
CHANGED
|
@@ -35,7 +35,7 @@ _CITATION = """\
|
|
| 35 |
title = {OSDG Community Dataset (OSDG-CD)},
|
| 36 |
month = apr,
|
| 37 |
year = 2022,
|
| 38 |
-
note = {{This CSV file uses UTF-8 character encoding. For
|
| 39 |
easy access on MS Excel, open the file using Data
|
| 40 |
→ From Text/CSV. Please split CSV data into
|
| 41 |
different columns by using a TAB delimiter.}},
|
|
@@ -60,13 +60,15 @@ _VERSIONS = {
|
|
| 60 |
"2021.09": "1.0.0",
|
| 61 |
"2022.01": "1.0.1",
|
| 62 |
"2022.04": "1.0.2",
|
|
|
|
|
|
|
|
|
|
| 63 |
}
|
| 64 |
|
| 65 |
-
_VERSION = _VERSIONS["
|
| 66 |
|
| 67 |
_URLS = {
|
| 68 |
-
|
| 69 |
-
"train" :"https://zenodo.org/record/6393942/files/osdg-community-dataset-v2022-04-01.csv"
|
| 70 |
}
|
| 71 |
|
| 72 |
|
|
@@ -83,7 +85,7 @@ class OSDGCDConfig(datasets.BuilderConfig):
|
|
| 83 |
|
| 84 |
|
| 85 |
class OSDGCD(datasets.GeneratorBasedBuilder):
|
| 86 |
-
"""OSDG-CD: The OSDG Community Dataset (OSDG-CD)
|
| 87 |
|
| 88 |
# This is an example of a dataset with multiple configurations.
|
| 89 |
# If you don't want/need to define several sub-sets in your dataset,
|
|
@@ -103,7 +105,7 @@ class OSDGCD(datasets.GeneratorBasedBuilder):
|
|
| 103 |
description="Main configuration",
|
| 104 |
),
|
| 105 |
]
|
| 106 |
-
|
| 107 |
DEFAULT_CONFIG_NAME = "main_config"
|
| 108 |
|
| 109 |
def _info(self) -> datasets.DatasetInfo:
|
|
|
|
| 35 |
title = {OSDG Community Dataset (OSDG-CD)},
|
| 36 |
month = apr,
|
| 37 |
year = 2022,
|
| 38 |
+
note = {{This CSV file uses UTF-8 character encoding. For
|
| 39 |
easy access on MS Excel, open the file using Data
|
| 40 |
→ From Text/CSV. Please split CSV data into
|
| 41 |
different columns by using a TAB delimiter.}},
|
|
|
|
| 60 |
"2021.09": "1.0.0",
|
| 61 |
"2022.01": "1.0.1",
|
| 62 |
"2022.04": "1.0.2",
|
| 63 |
+
"2022.07": "1.0.3",
|
| 64 |
+
"2022.10": "1.0.4",
|
| 65 |
+
"2023.01": "1.0.5",
|
| 66 |
}
|
| 67 |
|
| 68 |
+
_VERSION = _VERSIONS["2023.01"]
|
| 69 |
|
| 70 |
_URLS = {
|
| 71 |
+
"train": "https://zenodo.org/record/7540165/files/osdg-community-data-v2023-01-01.csv"
|
|
|
|
| 72 |
}
|
| 73 |
|
| 74 |
|
|
|
|
| 85 |
|
| 86 |
|
| 87 |
class OSDGCD(datasets.GeneratorBasedBuilder):
|
| 88 |
+
"""OSDG-CD: The OSDG Community Dataset (OSDG-CD)"""
|
| 89 |
|
| 90 |
# This is an example of a dataset with multiple configurations.
|
| 91 |
# If you don't want/need to define several sub-sets in your dataset,
|
|
|
|
| 105 |
description="Main configuration",
|
| 106 |
),
|
| 107 |
]
|
| 108 |
+
|
| 109 |
DEFAULT_CONFIG_NAME = "main_config"
|
| 110 |
|
| 111 |
def _info(self) -> datasets.DatasetInfo:
|