Upload a conversational model trained with gpt-j and other models to the hub
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 thehub?
2023-01-31T10:19:54Z
Hello@BerkanDogan,There’s multiple ways to upload a model. You can usemodel.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 usingPushToHubCallback.Seeherefor other ways to push the models. (also includingmodel.push_to_hub())Alternatively, if you want more control, you can usehuggingface-hub client side python libraryto push any file to the Hub.