Instructions to use s-nlp/mdeberta-base-formality-ranker with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use s-nlp/mdeberta-base-formality-ranker with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="s-nlp/mdeberta-base-formality-ranker")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("s-nlp/mdeberta-base-formality-ranker") model = AutoModelForSequenceClassification.from_pretrained("s-nlp/mdeberta-base-formality-ranker") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- d5032de17b396c751d4e8d1ab83be045da4343b43f7e51582c599c5c81c91b66
- Size of remote file:
- 1.12 GB
- SHA256:
- 5de49430e16b749a64efc4c2a528b4d75e463f048f886f58c362e8747bd0b6b9
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.