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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
fae8b64 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:5507700044cbc870111366df7ae321200fa15cf76246da729f665619c35e759d
size 497846253
|