tathagataraha commited on
Commit
6e7d4aa
·
verified ·
1 Parent(s): d0f53af

Update src/submission/submit.py

Browse files
Files changed (1) hide show
  1. src/submission/submit.py +1 -1
src/submission/submit.py CHANGED
@@ -171,7 +171,7 @@ def add_new_eval(
171
  OUT_DIR = f"{EVAL_REQUESTS_PATH}/offline"
172
  model_path = model_path[1:] if model_path.startswith("/") else model_path
173
  model_path = model_path.replace("/", "+-+")
174
- out_path = f"{OUT_DIR}/{model_path}_{revision}_{precision}_{weight_type}_eval_request.json"
175
  os.makedirs(OUT_DIR, exist_ok=True)
176
  with open(out_path, "w") as f:
177
  f.write(json.dumps(eval_entry))
 
171
  OUT_DIR = f"{EVAL_REQUESTS_PATH}/offline"
172
  model_path = model_path[1:] if model_path.startswith("/") else model_path
173
  model_path = model_path.replace("/", "+-+")
174
+ out_path = f"{OUT_DIR}/{model_path}_{revision}_{precision}_{weight_type}_eval_request.json"
175
  os.makedirs(OUT_DIR, exist_ok=True)
176
  with open(out_path, "w") as f:
177
  f.write(json.dumps(eval_entry))