Updating hard-coded environment variables to variables set by users in envs.py

#1
by meg HF staff - opened
Files changed (1) hide show
  1. scripts/create_request_file.py +1 -3
scripts/create_request_file.py CHANGED
@@ -7,9 +7,7 @@ from datetime import datetime, timezone
7
  import click
8
  from colorama import Fore
9
  from huggingface_hub import HfApi, snapshot_download
10
-
11
- EVAL_REQUESTS_PATH = "eval-queue"
12
- QUEUE_REPO = "open-llm-leaderboard/requests"
13
 
14
  precisions = ("float16", "bfloat16", "8bit (LLM.int8)", "4bit (QLoRA / FP4)", "GPTQ")
15
  model_types = ("pretrained", "fine-tuned", "RL-tuned", "instruction-tuned")
 
7
  import click
8
  from colorama import Fore
9
  from huggingface_hub import HfApi, snapshot_download
10
+ from src.envs import QUEUE_REPO, EVAL_REQUESTS_PATH
 
 
11
 
12
  precisions = ("float16", "bfloat16", "8bit (LLM.int8)", "4bit (QLoRA / FP4)", "GPTQ")
13
  model_types = ("pretrained", "fine-tuned", "RL-tuned", "instruction-tuned")