Update GitTables.py
Browse files- GitTables.py +2 -2
GitTables.py
CHANGED
@@ -25,7 +25,7 @@ _LICENSE = ""
|
|
25 |
|
26 |
# The HuggingFace Datasets library doesn't host the datasets but only points to the original files.
|
27 |
# This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
|
28 |
-
_URL = "https://huggingface.co/datasets/yuansui/GitTables/resolve/main/"
|
29 |
_URLS = {
|
30 |
"dbpedia": {
|
31 |
"train": _URL + "dbpedia" + "_train.jsonl",
|
@@ -105,7 +105,7 @@ class GitTables(datasets.GeneratorBasedBuilder):
|
|
105 |
"col4": datasets.Value("string"),
|
106 |
"col5": datasets.Value("string"),
|
107 |
"col6": datasets.Value("string"),
|
108 |
-
"col7": datasets.Value("string"),
|
109 |
"col8": datasets.Value("string"),
|
110 |
"col9": datasets.Value("string"),
|
111 |
"col10": datasets.Value("string"),
|
|
|
25 |
|
26 |
# The HuggingFace Datasets library doesn't host the datasets but only points to the original files.
|
27 |
# This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
|
28 |
+
_URL = "https://huggingface.co/datasets/yuansui/GitTables/resolve/main/" # be attention to the url, use resolve instead of blob
|
29 |
_URLS = {
|
30 |
"dbpedia": {
|
31 |
"train": _URL + "dbpedia" + "_train.jsonl",
|
|
|
105 |
"col4": datasets.Value("string"),
|
106 |
"col5": datasets.Value("string"),
|
107 |
"col6": datasets.Value("string"),
|
108 |
+
#"col7": datasets.Value("string"),
|
109 |
"col8": datasets.Value("string"),
|
110 |
"col9": datasets.Value("string"),
|
111 |
"col10": datasets.Value("string"),
|