Downloads · 30 days
24
11% of all-time downloads
POKWIR/Bert_sentiment_classifier
Bert_sentiment_classifier is a text classification model from POKWIR. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
A BERT (bert-base-uncased) model fine-tuned for 3-class sentiment classification: - Positive - Neutral - Negative
Downloads · 30 days
24
11% of all-time downloads
All-time downloads
228
Public
Parameters
109M
7 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors438 MB · 100%
From the Hugging Face model README
A BERT (bert-base-uncased) model fine-tuned for 3-class sentiment classification:
| id | label |
|---|---|
| 0 | Neutral |
| 1 | Positive |
| 2 | Negative |
Try one of these examples into the widget:
from transformers import pipeline
clf = pipeline(
"text-classification",
model="pokwir/Bert_sentiment_classifier",
tokenizer="pokwir/Bert_sentiment_classifier",
return_all_scores=True
)
texts = [
"Dirty. Generally poor attitude among the nurses, even the good know the place sucks. When patients are crying for help nurse should not be busy watching Tik-Tok. Too many mistakes made too often. Teaching nurses instructing student nurse procedures incorrectly. Yes, it is bad.",
"I had surgery last month. and I was very impressed with the quality of service from the moment I got in till I left. Also I like to mention the nurses they were out standing.",
"This hospital has been going downhill for years thanks to dr.billie and her know all attitude she should go back to her vet clinic."
]
print(clf(texts))