n1ck-guo commited on
Commit
60be2b9
1 Parent(s): 9b044c2

Signed-off-by: n1ck-guo <heng.guo@intel.com>

Files changed (1) hide show
  1. src/submission/check_validity.py +2 -0
src/submission/check_validity.py CHANGED
@@ -55,6 +55,8 @@ def is_model_on_hub(model_name: str, revision: str, token: str = None, trust_rem
55
  None
56
  )
57
  except Exception as e:
 
 
58
  return (False, "'s tokenizer cannot be loaded. Is your tokenizer class in a stable transformers release, and correctly configured?", None)
59
  return True, None, config
60
 
 
55
  None
56
  )
57
  except Exception as e:
58
+ import traceback
59
+ print(traceback.format_exc())
60
  return (False, "'s tokenizer cannot be loaded. Is your tokenizer class in a stable transformers release, and correctly configured?", None)
61
  return True, None, config
62