borisdayma / huggingtweets

Tweet Generation with Huggingface
407 stars 61 forks source link

Creating a Dashboard #17

Open gagan3012 opened 3 years ago

gagan3012 commented 3 years ago

Hello, I was very impressed with the work that has been done on this repository. I think we can create a fast API and deploy it on server and then create a dashboard on streamlit to get the results and visualizations.

Streamlit: https://github.com/streamlit/streamlit Fast API: https://github.com/tiangolo/fastapi

borisdayma commented 3 years ago

At the moment, all the datasets and models are available as W&B artifacts: see here.

For inference, models are publicly available on Hugging Face model hub.

But feel free to build any other viz tools with huggingtweets and let me know if you have any questions!

gagan3012 commented 3 years ago

Hello, I have been trying to create an API for HuggingTweets but I am unable to do so can you help me?

borisdayma commented 3 years ago

Of course! You can see some examples on how to use it on this model page for example: https://huggingface.co/huggingtweets/elonmusk

After that there are also a few ways to list all models currently available.

Feel free if you have any specific issue I can help you with.

gagan3012 commented 3 years ago

Hello, I actually wanted to include the option of fine tuning the model in the api too. How can that be achieved here?

borisdayma commented 3 years ago

For fine-tuning you need GPU. That is why the program is done with Colab.