Amardeep Kumar
commited on
Commit
·
491ed14
1
Parent(s):
2d69510
add data and ldkp3k.py
Browse files
ldkp3k.py
CHANGED
|
@@ -24,9 +24,9 @@ _LICENSE = ""
|
|
| 24 |
# TODO: Add link to the official dataset URLs here
|
| 25 |
|
| 26 |
_URLS = {
|
| 27 |
-
"test": "data/test.jsonl",
|
| 28 |
"train": "train.jsonl",
|
| 29 |
-
"valid": "data/valid.jsonl",
|
| 30 |
|
| 31 |
}
|
| 32 |
|
|
@@ -49,7 +49,7 @@ class LDKP3k(datasets.GeneratorBasedBuilder):
|
|
| 49 |
|
| 50 |
def _info(self):
|
| 51 |
|
| 52 |
-
_URLS['train']="data/"+str(self.config.name)+"/train.jsonl"
|
| 53 |
|
| 54 |
|
| 55 |
features = datasets.Features(
|
|
|
|
| 24 |
# TODO: Add link to the official dataset URLs here
|
| 25 |
|
| 26 |
_URLS = {
|
| 27 |
+
"test": "/data/test.jsonl",
|
| 28 |
"train": "train.jsonl",
|
| 29 |
+
"valid": "/data/valid.jsonl",
|
| 30 |
|
| 31 |
}
|
| 32 |
|
|
|
|
| 49 |
|
| 50 |
def _info(self):
|
| 51 |
|
| 52 |
+
_URLS['train']="/data/"+str(self.config.name)+"/train.jsonl"
|
| 53 |
|
| 54 |
|
| 55 |
features = datasets.Features(
|