debug
Browse filesSigned-off-by: n1ck-guo <heng.guo@intel.com>
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 |
|