Spaces:
Running
on
Zero
Running
on
Zero
Omartificial-Intelligence-Space
commited on
Commit
•
86b486d
1
Parent(s):
5de31b9
update app
Browse files
app.py
CHANGED
@@ -46,8 +46,8 @@ def ndcg_at_k(relevance_labels, scores, k=10):
|
|
46 |
|
47 |
# Load datasets
|
48 |
datasets = {
|
49 |
-
"Relevance_Labels_Dataset": load_dataset("Omartificial-Intelligence-Space/re-ar-
|
50 |
-
"Positive_Negatives_Dataset": load_dataset("Omartificial-Intelligence-Space/re-ar-
|
51 |
}
|
52 |
|
53 |
@spaces.GPU(duration=120)
|
|
|
46 |
|
47 |
# Load datasets
|
48 |
datasets = {
|
49 |
+
"Relevance_Labels_Dataset": load_dataset("Omartificial-Intelligence-Space/re-ar-query-candidate" , token =HF_TOKEN )["train"].select(range(300)),
|
50 |
+
"Positive_Negatives_Dataset": load_dataset("Omartificial-Intelligence-Space/re-ar-test-triplet" , token =HF_TOKEN )["train"].select(range(300))
|
51 |
}
|
52 |
|
53 |
@spaces.GPU(duration=120)
|