Daniel Kantor commited on
Commit
bbc2ce3
·
1 Parent(s): b134c4d

rename data sources

Browse files
backend/app/config/hf_config.py CHANGED
@@ -19,10 +19,10 @@ if not HF_TOKEN:
19
  API = HfApi(token=HF_TOKEN)
20
 
21
  # Repository configuration
22
- QUEUE_REPO = f"{HF_ORGANIZATION}/requests"
23
- AGGREGATED_REPO = f"{HF_ORGANIZATION}/contents"
24
- VOTES_REPO = f"{HF_ORGANIZATION}/votes"
25
- OFFICIAL_PROVIDERS_REPO = f"{HF_ORGANIZATION}/official-providers"
26
 
27
  logger.info(f"QUEUE_REPO: {QUEUE_REPO}")
28
  logger.info(f"AGGREGATED_REPO: {AGGREGATED_REPO}")
 
19
  API = HfApi(token=HF_TOKEN)
20
 
21
  # Repository configuration
22
+ QUEUE_REPO = f"{HF_ORGANIZATION}/llm-security-leaderboard-requests"
23
+ AGGREGATED_REPO = f"{HF_ORGANIZATION}/llm-security-leaderboard-results"
24
+ VOTES_REPO = f"{HF_ORGANIZATION}/llm-security-leaderboard-votes"
25
+ OFFICIAL_PROVIDERS_REPO = f"{HF_ORGANIZATION}/llm-security-leaderboard-official-providers"
26
 
27
  logger.info(f"QUEUE_REPO: {QUEUE_REPO}")
28
  logger.info(f"AGGREGATED_REPO: {AGGREGATED_REPO}")
backend/utils/sync_datasets_locally.py CHANGED
@@ -26,11 +26,10 @@ logger = logging.getLogger(__name__)
26
 
27
  # List of dataset names to sync
28
  DATASET_NAMES = [
29
- "votes",
30
- "results",
31
- "requests",
32
- "contents",
33
- "official-providers",
34
  ]
35
 
36
  # Build list of datasets with their source and destination paths
 
26
 
27
  # List of dataset names to sync
28
  DATASET_NAMES = [
29
+ "llm-security-leaderboard-votes",
30
+ "llm-security-leaderboard-requests",
31
+ "llm-security-leaderboard-results",
32
+ "llm-security-leaderboard-official-providers",
 
33
  ]
34
 
35
  # Build list of datasets with their source and destination paths