Downloads · 30 days
6
6% of all-time downloads
louijiec/sentio-model
sentio-model is a text classification model from louijiec. Use it when you need a label for a piece of text. The card lists the license as apache-2.0.
sentio-model is a distilled version of a larger language model, fine-tuned for the task of sentiment analysis. This model has been optimized for performance and efficiency, making it suitable for a wide range of appli…
Downloads · 30 days
6
6% of all-time downloads
All-time downloads
100
Public
Parameters
67M
804 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors268 MB · 100%
From the Hugging Face model README
sentio-model is a distilled version of a larger language model, fine-tuned for the task of sentiment analysis. This model has been optimized for performance and efficiency, making it suitable for a wide range of applications where understanding user sentiment is key.
This model is a DistilBERT-base-uncased model fine-tuned on the imdb dataset for sentiment analysis. DistilBERT is a smaller, faster, and lighter version of BERT, which is ideal for production environments with limited computational resources. The imdb dataset contains movie reviews labeled as either positive or negative, making it a standard benchmark for sentiment analysis tasks.
Base Model: distilbert-base-uncased
Fine-Tuning Dataset: imdb
Task: Sentiment Analysis (Text Classification)
Language: English
This model is primarily intended for binary sentiment classification of English text. It can be used in a variety of scenarios, including:
While sentio-model is a powerful tool, it's important to be aware of its limitations:
imdb dataset may contain biases present in the original reviews, which could be reflected in the model's predictions. It's recommended to evaluate the model for fairness and potential biases before deploying it in a sensitive application.You can easily use this model with the transformers library.
First, make sure you have the transformers library installed:
pip install transformers
Here's how you can use the model for inference in Python:
from transformers import pipeline
# Initialize the sentiment analysis pipeline
sentiment_pipeline = pipeline("sentiment-analysis", model="louijiec/sentio-model")
# Example texts
texts = [
"This movie was absolutely fantastic! The acting was superb.",
"I was really disappointed with the plot. It was boring and predictable."
]
# Get predictions
results = sentiment_pipeline(texts)
print(results)
The model was fine-tuned using the following hyperparameters:
The training was performed on a single NVIDIA T4 GPU.
The model achieves the following performance on the imdb evaluation set:
TODO