File size: 544 Bytes
8a69abe f7af4ef 8a69abe f7af4ef 8a69abe f7af4ef 8a69abe f7af4ef 8a69abe f7af4ef 8a69abe f7af4ef 8a69abe f7af4ef 8a69abe f7af4ef |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# Sentiment Analysis Model
This is a fine-tuned DistilBERT model for sentiment analysis.
## Usage
```python
from transformers import pipeline
# Load the model
classifier = pipeline("text-classification", model="andyfe/sentiment-distilbert")
# Make predictions
text = "Your text here"
result = classifier(text)
print(result)
```
## Labels
- 0: Strong Negative
- 1: Mild Negative
- 2: Neutral
- 3: Mild Positive
- 4: Strong Positive
## Model Details
This model is fine-tuned on sentiment analysis data using DistilBERT as the base model.
|