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