API for applying sentiment analysis using BERT or BETO model.
- python >= 3.9 (download it here)
-
Clone this project to a local folder and go to root folder
git clone https://github.com/twittersentimentanalysis/TSA-BERT.git
-
Install required libraries with
pip
pip install -r requirements.txt
-
Run the project
py RestAPI.py
-
Make API requests
Base URL:
http://127.0.0.1:5000/api/v1/