choco9966 commited on
Commit
6b68af0
1 Parent(s): be34369

Update src/submission/submit.py

Browse files
Files changed (1) hide show
  1. src/submission/submit.py +1 -1
src/submission/submit.py CHANGED
@@ -69,7 +69,7 @@ def add_new_eval(
69
  return styled_error(f'Base model "{base_model}" {error}')
70
 
71
  if not weight_type == "Adapter":
72
- model_on_hub, error, _ = is_model_on_hub(model_name=model, revision=revision, test_tokenizer=True)
73
  if not model_on_hub:
74
  return styled_error(f'Model "{model}" {error}')
75
 
 
69
  return styled_error(f'Base model "{base_model}" {error}')
70
 
71
  if not weight_type == "Adapter":
72
+ model_on_hub, error, _ = is_model_on_hub(model_name=model, revision=revision, test_tokenizer=True, trust_remote_code=True if model == "KT-AI/midm-bitext-S-7B-inst-v2" else False)
73
  if not model_on_hub:
74
  return styled_error(f'Model "{model}" {error}')
75