Instructions to use svanhvit/formality-classification-icebert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use svanhvit/formality-classification-icebert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="svanhvit/formality-classification-icebert")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("svanhvit/formality-classification-icebert") model = AutoModelForSequenceClassification.from_pretrained("svanhvit/formality-classification-icebert") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -3,7 +3,10 @@ language:
|
|
| 3 |
- is
|
| 4 |
pipeline_tag: text-classification
|
| 5 |
widget:
|
| 6 |
-
- text:
|
| 7 |
-
- text:
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
| 9 |
---
|
|
|
|
| 3 |
- is
|
| 4 |
pipeline_tag: text-classification
|
| 5 |
widget:
|
| 6 |
+
- text: langar þér í sígó
|
| 7 |
+
- text: >-
|
| 8 |
+
Frumvarpið hafi verið samþykkt til framlagningar af ríkisstjórn 24.
|
| 9 |
+
febrúar.
|
| 10 |
+
metrics:
|
| 11 |
+
- accuracy
|
| 12 |
---
|