YAML Metadata
Warning:
empty or missing yaml metadata in repo card
(https://huggingface.co/docs/hub/model-cards#model-card-metadata)
Sentiment Analysis Model
This is a fine-tuned DistilBERT model for sentiment analysis.
Usage
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.
- Downloads last month
- 11