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:
- 46a1c70c175ad0c16ee1d0c771b9cb14236c02d59ccf1fced3add08e082c275e
- Size of remote file:
- 3.71 kB
- SHA256:
- b131849be53621d28aa96baf0e1ec16f398c525d64eebf0b3ed9f5788a406e31
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.