RuolinZheng08 / twewy-discord-chatbot

Discord AI Chatbot using DialoGPT, trained on the game transcript of The World Ends With You
https://www.freecodecamp.org/news/discord-ai-chatbot/
MIT License
316 stars 158 forks source link

Trouble Uploading to HuggingFace #11

Closed rhollings closed 2 years ago

rhollings commented 2 years ago

Inside the 'model_train_upload_workflow.ipynb' file

We have the ability to upload to huggingface. However I do not have the file 'HuggingFace-API-key.txt'. Do I make the file myself? In which folder? I followed along the YT tutorial and she explains it differently than the code written. Can someone explain how they pushed it to huggingface plz.

rhollings commented 2 years ago

Hello again, So I figured out how to upload my work to huggingface. Instead of the code here MY_MODEL_NAME = 'DialoGPT-small-joshua'

I used !huggingface-cli login to login then !huggingface-cli repo create DialoGPT_small_modelname to create the repo clone the repo, then move the contents of 'output-small' into the repo now you should be able to git add . and everything

Hopefully this helps