Text Classification
Transformers
Safetensors
English
bert
sentiment analysis
text classification
news
reviews
text-embeddings-inference
Instructions to use mervp/SentimentBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mervp/SentimentBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mervp/SentimentBERT")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mervp/SentimentBERT") model = AutoModelForSequenceClassification.from_pretrained("mervp/SentimentBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -2,8 +2,8 @@
|
|
| 2 |
language: en
|
| 3 |
license: apache-2.0
|
| 4 |
tags:
|
| 5 |
-
- sentiment
|
| 6 |
-
- text
|
| 7 |
- bert
|
| 8 |
- transformers
|
| 9 |
- news
|
|
@@ -21,7 +21,7 @@ This model has been trained on a ** 130K large and diverse dataset of news artic
|
|
| 21 |
## Model Highlights
|
| 22 |
|
| 23 |
- **Base model**: `bert-base-uncased`
|
| 24 |
-
- **Fine
|
| 25 |
- **Accuracy**: > 86%
|
| 26 |
- **Classes**: Positive, Neutral, Negative
|
| 27 |
- **Language**: English
|
|
|
|
| 2 |
language: en
|
| 3 |
license: apache-2.0
|
| 4 |
tags:
|
| 5 |
+
- sentiment analysis
|
| 6 |
+
- text classification
|
| 7 |
- bert
|
| 8 |
- transformers
|
| 9 |
- news
|
|
|
|
| 21 |
## Model Highlights
|
| 22 |
|
| 23 |
- **Base model**: `bert-base-uncased`
|
| 24 |
+
- **Fine tuned for**: Sentiment classification (3-class)
|
| 25 |
- **Accuracy**: > 86%
|
| 26 |
- **Classes**: Positive, Neutral, Negative
|
| 27 |
- **Language**: English
|