This is a Python script that performs sentiment analysis on a given sentence using the BERTweet model. It predicts the sentiment of the sentence as positive, neutral, or negative.
- gradio
- torch
- transformers
- Clone the repository:
git clone https://github.com/ShadowDominator/sentence-sentiment-analysis.git
- Install the required dependencies:
pip install -r requirements.txt
- Usage
gradio app.py
- Example