Juypter Notebook to play around with pre-trained sentiment analysis models using HuggingFace and transformers pipelines. Next I would like to train my own model which would require finding labelled data somewhere...
- Python 3.10+
- pip 22.2.2+
- Clone the respository
git clone
-
Setup Twitter API credentials by following this guide
-
Create a new python file called "twitterKeys.py" and paste the API keys into a dict
keys = {
"apiKey": "xxxx-xxxx",
"secretKey": "xxxx-xxxx",
"bearerToken": "xxxx-xxxx"
}
- Run the Jupyter Notebook!