albertvillanova HF staff commited on
Commit
27cd56d
1 Parent(s): b6e6f2a

Add missing JSON data files (#9)

Browse files

- Replace data file containing the missing JSON files (24a68b602bc612cd41c78817c4c034efe96e2737)
- Update loading script (bf9f3c4fdffb0696eb02782b31016b473dc457a3)
- Update metadata in dataset card (3a54868854f81f308829babfd67f7892a689ba77)

README.md CHANGED
@@ -61,16 +61,16 @@ dataset_info:
61
  dtype: string
62
  splits:
63
  - name: train
64
- num_bytes: 2717098352
65
- num_examples: 62104
66
  - name: validation
67
- num_bytes: 151476865
68
- num_examples: 3432
69
  - name: test
70
- num_bytes: 147058022
71
- num_examples: 3428
72
- download_size: 214370025
73
- dataset_size: 3015633239
74
  ---
75
 
76
  # Dataset Card for HybridQA
 
61
  dtype: string
62
  splits:
63
  - name: train
64
+ num_bytes: 2745712265
65
+ num_examples: 62682
66
  - name: validation
67
+ num_bytes: 153511944
68
+ num_examples: 3466
69
  - name: test
70
+ num_bytes: 148795847
71
+ num_examples: 3463
72
+ download_size: 217436855
73
+ dataset_size: 3048020056
74
  ---
75
 
76
  # Dataset Card for HybridQA
WikiTables-WithLinks.zip → WikiTables-WithLinks-f4ed68e54e25c495f63d309de0b89c0f97b3c508.zip RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d0f950ea93487c6bd37bdd79b57dc372593b7ea41e6d0cb45bfa6729f80c2822
3
- size 190466379
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f8f708f485e38a6114cf7d246e6ac00eb6f7705a9e5b740ab2ef499b864da43
3
+ size 193533209
hybrid_qa.py CHANGED
@@ -43,7 +43,7 @@ lack of either form would render the question unanswerable.
43
 
44
  _HOMEPAGE = "https://hybridqa.github.io/index.html"
45
 
46
- _WIKI_TABLES_GIT_ARCHIVE_URL = "WikiTables-WithLinks.zip"
47
 
48
  _QA_DATA_BASE_URL = "https://raw.githubusercontent.com/wenhuchen/HybridQA/master/released_data"
49
  _URLS = {
@@ -99,7 +99,7 @@ class HybridQa(datasets.GeneratorBasedBuilder):
99
  extracted_path = dl_manager.download_and_extract(_WIKI_TABLES_GIT_ARCHIVE_URL)
100
  downloaded_files = dl_manager.download(_URLS)
101
 
102
- repo_path = os.path.join(extracted_path, "WikiTables-WithLinks")
103
  tables_path = os.path.join(repo_path, "tables_tok")
104
  requests_path = os.path.join(repo_path, "request_tok")
105
 
 
43
 
44
  _HOMEPAGE = "https://hybridqa.github.io/index.html"
45
 
46
+ _WIKI_TABLES_GIT_ARCHIVE_URL = "WikiTables-WithLinks-f4ed68e54e25c495f63d309de0b89c0f97b3c508.zip"
47
 
48
  _QA_DATA_BASE_URL = "https://raw.githubusercontent.com/wenhuchen/HybridQA/master/released_data"
49
  _URLS = {
 
99
  extracted_path = dl_manager.download_and_extract(_WIKI_TABLES_GIT_ARCHIVE_URL)
100
  downloaded_files = dl_manager.download(_URLS)
101
 
102
+ repo_path = os.path.join(extracted_path, "WikiTables-WithLinks-f4ed68e54e25c495f63d309de0b89c0f97b3c508")
103
  tables_path = os.path.join(repo_path, "tables_tok")
104
  requests_path = os.path.join(repo_path, "request_tok")
105