mnist-custom-keras-model / push-model-to-huggingface-with-cli.sh
Manu
update gitignore and cli push
b44a008
raw
history blame
348 Bytes
#/bin/bash
# PUSH model to HuggingFace using CLI
# HUGGINGFACE_TOKEN should be set on your environment variables
# commit message is not customizable
# https://huggingface.co/docs/huggingface_hub/guides/upload
huggingface-cli upload manufy/mnist_model_keras saved_model . --commit-description "Uploaded model using CLI" --token $HUGGINGFACE_TOKEN