We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd9f92b commit f31ec12Copy full SHA for f31ec12
convert-hf-to-gguf-update.py
@@ -49,6 +49,10 @@ class TOKENIZER_TYPE(IntEnum):
49
50
if len(sys.argv) == 2:
51
token = sys.argv[1]
52
+ if not token.startswith("hf_"):
53
+ logger.info("Huggingface token seems invalid")
54
+ logger.info("Usage: python convert-hf-to-gguf-update.py <huggingface_token>")
55
+ sys.exit(1)
56
else:
57
logger.info("Usage: python convert-hf-to-gguf-update.py <huggingface_token>")
58
sys.exit(1)
0 commit comments