Instructions to use dbourget/phil-or-not-classifier-3.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dbourget/phil-or-not-classifier-3.0 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, XLMRobertaWithExtraLayers tokenizer = AutoTokenizer.from_pretrained("dbourget/phil-or-not-classifier-3.0") model = XLMRobertaWithExtraLayers.from_pretrained("dbourget/phil-or-not-classifier-3.0", device_map="auto") - Notebooks
- Google Colab
- Kaggle