mirror of
https://github.com/wassname/ray.git
synced 2026-08-11 11:24:51 +08:00
[Tune] Update URL to fix 403 not found error in PBT tranformers test case (#13131)
This commit is contained in:
@@ -29,10 +29,7 @@ def download_data(task_name, data_dir="./data"):
|
|||||||
import urllib
|
import urllib
|
||||||
import zipfile
|
import zipfile
|
||||||
if task_name == "rte":
|
if task_name == "rte":
|
||||||
url = "https://firebasestorage.googleapis.com/v0/b/" \
|
url = "https://dl.fbaipublicfiles.com/glue/data/RTE.zip"
|
||||||
"mtl-sentence-representations.appspot.com" \
|
|
||||||
"/o/data%2FRTE.zip?alt=media" \
|
|
||||||
"&token=5efa7e85-a0bb-4f19-8ea2-9e1840f077fb"
|
|
||||||
else:
|
else:
|
||||||
raise ValueError("Unknown task: {}".format(task_name))
|
raise ValueError("Unknown task: {}".format(task_name))
|
||||||
data_file = os.path.join(data_dir, "{}.zip".format(task_name))
|
data_file = os.path.join(data_dir, "{}.zip".format(task_name))
|
||||||
|
|||||||
Reference in New Issue
Block a user