albertvillanova HF staff commited on
Commit
ad22bfa
1 Parent(s): 1f45c80

Support streaming (#4)

Browse files

- Host data file (1c5c35f511a7d39090feb309ef4a27f352d8931a)
- Update loading script (6f921a2bc3b802278cb5764c896740c95428959d)

Files changed (2) hide show
  1. WikiTables-WithLinks.zip +3 -0
  2. hybrid_qa.py +2 -4
WikiTables-WithLinks.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d0f950ea93487c6bd37bdd79b57dc372593b7ea41e6d0cb45bfa6729f80c2822
3
+ size 190466379
hybrid_qa.py CHANGED
@@ -43,9 +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 = (
47
- "https://github.com/wenhuchen/WikiTables-WithLinks/archive/f4ed68e54e25c495f63d309de0b89c0f97b3c508.zip"
48
- )
49
 
50
  _QA_DATA_BASE_URL = "https://raw.githubusercontent.com/wenhuchen/HybridQA/master/released_data"
51
  _URLS = {
@@ -101,7 +99,7 @@ class HybridQa(datasets.GeneratorBasedBuilder):
101
  extracted_path = dl_manager.download_and_extract(_WIKI_TABLES_GIT_ARCHIVE_URL)
102
  downloaded_files = dl_manager.download(_URLS)
103
 
104
- repo_path = os.path.join(extracted_path, "WikiTables-WithLinks-f4ed68e54e25c495f63d309de0b89c0f97b3c508")
105
  tables_path = os.path.join(repo_path, "tables_tok")
106
  requests_path = os.path.join(repo_path, "request_tok")
107
 
 
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
  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