sunitha98 commited on
Commit
92e81fe
1 Parent(s): 1ead97e
Files changed (2) hide show
  1. app.py +2 -0
  2. scripts/create_request_file.py +1 -1
app.py CHANGED
@@ -35,6 +35,7 @@ def restart_space():
35
 
36
  try:
37
  print(EVAL_REQUESTS_PATH)
 
38
  snapshot_download(
39
  repo_id=QUEUE_REPO, local_dir=EVAL_REQUESTS_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30
40
  )
@@ -42,6 +43,7 @@ except Exception:
42
  restart_space()
43
  try:
44
  print(EVAL_RESULTS_PATH)
 
45
  snapshot_download(
46
  repo_id=RESULTS_REPO, local_dir=EVAL_RESULTS_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30
47
  )
 
35
 
36
  try:
37
  print(EVAL_REQUESTS_PATH)
38
+ print("Downloading eval requests")
39
  snapshot_download(
40
  repo_id=QUEUE_REPO, local_dir=EVAL_REQUESTS_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30
41
  )
 
43
  restart_space()
44
  try:
45
  print(EVAL_RESULTS_PATH)
46
+ print("Downloading results into local cache")
47
  snapshot_download(
48
  repo_id=RESULTS_REPO, local_dir=EVAL_RESULTS_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30
49
  )
scripts/create_request_file.py CHANGED
@@ -9,7 +9,7 @@ from colorama import Fore
9
  from huggingface_hub import HfApi, snapshot_download
10
 
11
  EVAL_REQUESTS_PATH = "eval-queue"
12
- QUEUE_REPO = "demo-leaderboard/requests"
13
 
14
  precisions = ("float16", "bfloat16", "8bit (LLM.int8)", "4bit (QLoRA / FP4)", "GPTQ")
15
  model_types = ("pretrained", "fine-tuned", "RL-tuned", "instruction-tuned")
 
9
  from huggingface_hub import HfApi, snapshot_download
10
 
11
  EVAL_REQUESTS_PATH = "eval-queue"
12
+ QUEUE_REPO = "PatronusAI/requests"
13
 
14
  precisions = ("float16", "bfloat16", "8bit (LLM.int8)", "4bit (QLoRA / FP4)", "GPTQ")
15
  model_types = ("pretrained", "fine-tuned", "RL-tuned", "instruction-tuned")