Hi guys, now I have a conversational architecture trained with gpt-j and other models, I’m managing with colab right now, how can I upload it to the hub?
There’s multiple ways to upload a model. You can use
model.push_to_hub() if it’s a model trained using transformers. (also push tokenizer itself in the same repositoryif that’s the case)
If it’s a tensorflow model, you can also push using PushToHubCallback.
See here for other ways to push the models. (also including
Alternatively, if you want more control, you can use huggingface-hub client side python library to push any file to the Hub.