Text Classification
Transformers
Safetensors
English
bert
sentiment-analysis
text-embeddings-inference
Instructions to use POKWIR/Bert_sentiment_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use POKWIR/Bert_sentiment_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="POKWIR/Bert_sentiment_classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("POKWIR/Bert_sentiment_classifier") model = AutoModelForSequenceClassification.from_pretrained("POKWIR/Bert_sentiment_classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update Readme
Browse files
README.md
CHANGED
|
@@ -8,11 +8,11 @@ license: mit
|
|
| 8 |
pipeline_tag: text-classification
|
| 9 |
library_name: transformers
|
| 10 |
widget:
|
| 11 |
-
- text: "
|
| 12 |
example_title: "Positive"
|
| 13 |
- text: "I received the update and will review it later this week."
|
| 14 |
example_title: "Neutral"
|
| 15 |
-
- text: "
|
| 16 |
example_title: "Negative"
|
| 17 |
base_model:
|
| 18 |
- google/bert_uncased_L-2_H-128_A-2
|
|
|
|
| 8 |
pipeline_tag: text-classification
|
| 9 |
library_name: transformers
|
| 10 |
widget:
|
| 11 |
+
- text: "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"
|
| 12 |
example_title: "Positive"
|
| 13 |
- text: "I received the update and will review it later this week."
|
| 14 |
example_title: "Neutral"
|
| 15 |
+
- text: "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."
|
| 16 |
example_title: "Negative"
|
| 17 |
base_model:
|
| 18 |
- google/bert_uncased_L-2_H-128_A-2
|