Instructions to use brettclaus/Hospital_Reviews with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use brettclaus/Hospital_Reviews with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="brettclaus/Hospital_Reviews")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("brettclaus/Hospital_Reviews") model = AutoModelForSequenceClassification.from_pretrained("brettclaus/Hospital_Reviews", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -4,7 +4,7 @@ pipeline_tag: text-classification
|
|
| 4 |
widget:
|
| 5 |
- text: Great doctors and nurses! Saved my Life!
|
| 6 |
example_title: Hospital Review 1
|
| 7 |
-
- text:
|
| 8 |
example_title: Hospital Review 2
|
| 9 |
- text: I think someone left a pair of scissors in me.
|
| 10 |
example_title: Hospital Review 3
|
|
|
|
| 4 |
widget:
|
| 5 |
- text: Great doctors and nurses! Saved my Life!
|
| 6 |
example_title: Hospital Review 1
|
| 7 |
+
- text: Some nurses were good, some doctors were bad.
|
| 8 |
example_title: Hospital Review 2
|
| 9 |
- text: I think someone left a pair of scissors in me.
|
| 10 |
example_title: Hospital Review 3
|