Push_to_hub() makes Inference Endpoint not working
There’s no progress bar or any indication when using thepush_to_hubcallback in keras/tensorflow- making it kind of a pain.To mitigate this, I usedmodel.push_to_hub() and tokenizer.push_to_hub()after training.But for some reason, after uploading to the hub, the API gives me anInternal Server Error. Yet somehow, using theTrainer APIdoes not give me this problem. Furthermore, theTrainer APIcorrectly determines the task (translation) and the former classifies it as aText2TextGeneration(using the same model checkpoint).So how do I properly upload my model to the hub using tensorflow/keras? I’m not sure where I am doing wrong here but for more information, I was just following this notebooktranslation-tfon my own colab file.
2023-01-16T08:35:10Z
This seems to be unrelated to inference endpoint, Would open a thread in the#beginnerssection?