Spaces:
Runtime error
Runtime error
Dongfu Jiang
commited on
Commit
•
7d90e18
1
Parent(s):
9383095
Update app.py
Browse files
app.py
CHANGED
@@ -21,13 +21,11 @@ for example in SHUFFLED_EXAMPLES_DATASET.take(100):
|
|
21 |
CANDIDATE_EXAMPLES[example['instruction']+example['input']] = example['candidates']
|
22 |
|
23 |
# Download ranker checkpoint
|
24 |
-
|
25 |
-
os.
|
26 |
-
|
27 |
-
|
28 |
-
os.system("unzip pairranker-deberta-v3-large.zip")
|
29 |
-
print("Unzipped pairranker-deberta-v3-large.zip")
|
30 |
-
os.system("ls -l")
|
31 |
|
32 |
# Load Blender
|
33 |
import llm_blender
|
|
|
21 |
CANDIDATE_EXAMPLES[example['instruction']+example['input']] = example['candidates']
|
22 |
|
23 |
# Download ranker checkpoint
|
24 |
+
os.system("ls -l /home/user/.local/lib/python3.10/site-packages/llm_blender")
|
25 |
+
if not os.path.exists("pairranker-deberta-v3-large.zip"):
|
26 |
+
os.system("gdown https://drive.google.com/uc?id=1EpvFu_qYY0MaIu0BAAhK-sYKHVWtccWg")
|
27 |
+
if not os.path.exists("pairranker-deberta-v3-large"):
|
28 |
+
os.system("unzip pairranker-deberta-v3-large.zip")
|
|
|
|
|
29 |
|
30 |
# Load Blender
|
31 |
import llm_blender
|