Commit
5935473
1 Parent(s): 2500fde

update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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(500)),
50
- "Positive_Negatives_Dataset": load_dataset("Omartificial-Intelligence-Space/re-ar-query-candidate" , token =HF_TOKEN )["train"].select(range(500))
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)