albertvillanova HF staff commited on
Commit
6f921a2
1 Parent(s): 1c5c35f

Update loading script

Browse files
Files changed (1) hide show
  1. hybrid_qa.py +2 -4
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