File size: 1,257 Bytes
c96072a 8878bcf c96072a 8878bcf c96072a 8878bcf c96072a 8878bcf c96072a 8878bcf c96072a 69a8f3d c96072a 8878bcf c96072a 8878bcf 69a8f3d 8878bcf c96072a 8878bcf c96072a 422036f 47df084 3580d92 69a8f3d 3580d92 47df084 |
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 30 31 32 33 34 35 36 37 38 39 40 |
---
language: en
---
# Women's Clothing Reviews Sentiment Analysis with DistilBERT
## Overview
This Hugging Face repository contains a fine-tuned DistilBERT model for sentiment analysis of women's clothing reviews. The model is designed to classify reviews into positive, negative, or neutral sentiment categories, providing valuable insights into customer opinions.
## Model Details
- **Model Architecture**: Fine-tuned DistilBERT
- **Sentiment Categories**: Neutral[0], Negative[1], Positive[2]
- **Input Format**: Text-based clothing reviews
- **Output Format**: Sentiment category labels
## Usage
## Installation
To use this model, you'll need to install the Hugging Face Transformers library and any additional dependencies.
```bash
pip install transformers
pip install torch
Usage
You can easily load the pre-trained model for sentiment analysis using Hugging Face's DistilBertForSequenceClassification and DistilBertTokenizerFast.
python
Copy code
from transformers import DistilBertForSequenceClassification, DistilBertTokenizerFast
import torch
model_name = "ongaunjie/distilbert-cloths-sentiment"
tokenizer = DistilBertTokenizerFast.from_pretrained(model_name)
model = DistilBertForSequenceClassification.from_pretrained(model_name)
|