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
|
@@ -4,4 +4,6 @@ language:
|
|
| 4 |
pipeline_tag: text-classification
|
| 5 |
widget:
|
| 6 |
- text: "langar þér í sígó"
|
|
|
|
|
|
|
| 7 |
---
|
|
|
|
| 4 |
pipeline_tag: text-classification
|
| 5 |
widget:
|
| 6 |
- text: "langar þér í sígó"
|
| 7 |
+
- text: "Frumvarpið hafi verið samþykkt til framlagningar af ríkisstjórn 24. febrúar. "
|
| 8 |
+
|
| 9 |
---
|