Spaces:
Running
on
Zero
Running
on
Zero
Omartificial-Intelligence-Space
commited on
Commit
•
5935473
1
Parent(s):
2500fde
update app.py
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-test-triplet" , token =HF_TOKEN )["train"].select(range(
|
50 |
-
"Positive_Negatives_Dataset": load_dataset("Omartificial-Intelligence-Space/re-ar-query-candidate" , token =HF_TOKEN )["train"].select(range(
|
51 |
}
|
52 |
|
53 |
@spaces.GPU(duration=120)
|
|
|
46 |
|
47 |
# Load datasets
|
48 |
datasets = {
|
49 |
+
"Relevance_Labels_Dataset": load_dataset("Omartificial-Intelligence-Space/re-ar-test-triplet" , token =HF_TOKEN )["train"].select(range(100)),
|
50 |
+
"Positive_Negatives_Dataset": load_dataset("Omartificial-Intelligence-Space/re-ar-query-candidate" , token =HF_TOKEN )["train"].select(range(100))
|
51 |
}
|
52 |
|
53 |
@spaces.GPU(duration=120)
|