Spaces:
Sleeping
Sleeping
orionweller
commited on
Commit
·
e2a8566
1
Parent(s):
440f2b1
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def load_jsonl(f):
|
|
34 |
|
35 |
|
36 |
|
37 |
-
def get_beir(
|
38 |
url = "https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/{}.zip".format(dataset)
|
39 |
out_dir = os.path.join(pathlib.Path(__file__).parent.absolute(), "datasets")
|
40 |
data_path = util.download_and_unzip(url, out_dir)
|
|
|
34 |
|
35 |
|
36 |
|
37 |
+
def get_beir(dataset: str):
|
38 |
url = "https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/{}.zip".format(dataset)
|
39 |
out_dir = os.path.join(pathlib.Path(__file__).parent.absolute(), "datasets")
|
40 |
data_path = util.download_and_unzip(url, out_dir)
|