Downloads · 30 days
6
32% of all-time downloads
Rcids/my-finetuned-model
my-finetuned-model is a text classification model from Rcids. Use it when you need a label for a piece of text. The card lists the license as mit.
This model is a fine-tuned version of DistilBERT designed for sentiment analysis. It analyzes text and predicts whether the sentiment is POSITIVE or NEGATIVE (or specific labels depending on your training).
Downloads · 30 days
6
32% of all-time downloads
All-time downloads
19
Public
Parameters
67M
268 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors268 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of DistilBERT designed for sentiment analysis. It analyzes text and predicts whether the sentiment is POSITIVE or NEGATIVE (or specific labels depending on your training).
You can use this model directly with the Hugging Face pipeline in just a few lines of code:
from transformers import pipeline
# 1. Load the pipeline
classifier = pipeline("text-classification", model="Rcids/my-finetuned-model")
# 2. Test it out
text = "I absolutely loved this product! It was amazing."
result = classifier(text)
print(result)
# Output: [{'label': 'POSITIVE', 'score': 0.99}]
## 🔧 Training Details
This model was fine-tuned on a custom dataset to improve performance on specific sentiment tasks compared to the base generic model.
- **Optimizer:** AdamW
- **Framework:** PyTorch
- **Base Model:** [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased)
## ⚠️ Limitations
- The model performance depends on the domain of the data it was trained on.
- It may not detect sarcasm or subtle nuances in complex sentences.