This project is a FastAPI wrapper for the Roberta Sentiment Analysis Model using the cardiffnlp/twitter-roberta-base-sentiment-latest
model from Hugging Face's Transformers library. The Roberta model is a powerful language model that has been fine-tuned specifically for sentiment analysis tasks. With this FastAPI wrapper, you can easily perform sentiment analysis on text inputs with just a few API calls.
- Python3
- Git
-
Clone the repo to your local machine
git clone https://github.com/pelpuo/yolov3_api.git
-
Switch to the project directory in your terminal
cd yolov3_api
-
Create a python virtual environment to manage packages
python -m venv env
-
Activate the virtual environment
//ON WINDOWS .\env\Scripts\activate //ON LINUX source env\bin\activate
-
Install the packages
pip install -r requirements.txt
-
Start the project
py main.py