Datasets:
aembryonic commited on
Commit ·
2e41bb6
1
Parent(s): f64bc27
loading script
Browse files
humset.py
CHANGED
|
@@ -43,7 +43,7 @@ _LICENSE = "The GitHub repository which houses this dataset has an Apache Licens
|
|
| 43 |
|
| 44 |
|
| 45 |
_URLs = {
|
| 46 |
-
"1.0": {
|
| 47 |
"train": "./train.jsonl",
|
| 48 |
"dev": "./validation.jsonl",
|
| 49 |
"test": "./test.jsonl",
|
|
@@ -53,7 +53,7 @@ _URLs = {
|
|
| 53 |
|
| 54 |
_SUPPORTED_VERSIONS = [
|
| 55 |
# Using cased version.
|
| 56 |
-
datasets.Version("1.0", "Only primary tags"),
|
| 57 |
# Same data as 0.0.2
|
| 58 |
#datasets.Version("1.0.0", ""),
|
| 59 |
# Having the model predict newline separators makes it easier to evaluate
|
|
@@ -62,7 +62,7 @@ _SUPPORTED_VERSIONS = [
|
|
| 62 |
]
|
| 63 |
|
| 64 |
|
| 65 |
-
DEFAULT_CONFIG_NAME = "1.0" #datasets.Version("1.0", "Using cased version.")
|
| 66 |
|
| 67 |
## COMMON FEATURES
|
| 68 |
MAIN_FEATURES = datasets.Features(
|
|
|
|
| 43 |
|
| 44 |
|
| 45 |
_URLs = {
|
| 46 |
+
"1.0.0": {
|
| 47 |
"train": "./train.jsonl",
|
| 48 |
"dev": "./validation.jsonl",
|
| 49 |
"test": "./test.jsonl",
|
|
|
|
| 53 |
|
| 54 |
_SUPPORTED_VERSIONS = [
|
| 55 |
# Using cased version.
|
| 56 |
+
datasets.Version("1.0.0", "Only primary tags"),
|
| 57 |
# Same data as 0.0.2
|
| 58 |
#datasets.Version("1.0.0", ""),
|
| 59 |
# Having the model predict newline separators makes it easier to evaluate
|
|
|
|
| 62 |
]
|
| 63 |
|
| 64 |
|
| 65 |
+
DEFAULT_CONFIG_NAME = "1.0.0" #datasets.Version("1.0", "Using cased version.")
|
| 66 |
|
| 67 |
## COMMON FEATURES
|
| 68 |
MAIN_FEATURES = datasets.Features(
|