Instructions to use johnnydevriese/xlm-roberta-email-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use johnnydevriese/xlm-roberta-email-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="johnnydevriese/xlm-roberta-email-classification")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("johnnydevriese/xlm-roberta-email-classification") model = AutoModelForSequenceClassification.from_pretrained("johnnydevriese/xlm-roberta-email-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
d09e6dc | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:2b74f5c8d75ef9f8eafda857da12fc9f4f2dabed33fbc94a7fa9a5c83019cd61
size 5368
|