Instructions to use zedalef/bert1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zedalef/bert1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="zedalef/bert1")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("zedalef/bert1") model = AutoModelForSequenceClassification.from_pretrained("zedalef/bert1") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
---
|
| 2 |
pipeline_tag: text-classification
|
| 3 |
widget:
|
| 4 |
-
|
|
|
|
| 5 |
---
|
|
|
|
| 1 |
---
|
| 2 |
pipeline_tag: text-classification
|
| 3 |
widget:
|
| 4 |
+
- text: "Harry Potter is the best movie"
|
| 5 |
+
- text: "I hate summer"
|
| 6 |
---
|