Instructions to use Tobias/bert-base-uncased_English_Hotel_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Tobias/bert-base-uncased_English_Hotel_classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Tobias/bert-base-uncased_English_Hotel_classification")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Tobias/bert-base-uncased_English_Hotel_classification") model = AutoModelForSequenceClassification.from_pretrained("Tobias/bert-base-uncased_English_Hotel_classification") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,13 +5,13 @@ tags:
|
|
| 5 |
license: apache-2.0
|
| 6 |
|
| 7 |
widget:
|
| 8 |
-
- text: "
|
| 9 |
example_title: "Example 1"
|
| 10 |
-
- text: "
|
| 11 |
example_title: "Example 2"
|
| 12 |
-
- text: "
|
| 13 |
example_title: "Example 3"
|
| 14 |
-
- text: "
|
| 15 |
example_title: "Example 4"
|
| 16 |
---
|
| 17 |
|
|
|
|
| 5 |
license: apache-2.0
|
| 6 |
|
| 7 |
widget:
|
| 8 |
+
- text: "The hotel is very nicely located"
|
| 9 |
example_title: "Example 1"
|
| 10 |
+
- text: "The reception staff were extremely helpful and very welcoming"
|
| 11 |
example_title: "Example 2"
|
| 12 |
+
- text: "There is no balcony in the rooms on the mountain side"
|
| 13 |
example_title: "Example 3"
|
| 14 |
+
- text: "A bit pricey"
|
| 15 |
example_title: "Example 4"
|
| 16 |
---
|
| 17 |
|