Instructions to use EliottClavier/distilbert-finetuned-text-classification-trip with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use EliottClavier/distilbert-finetuned-text-classification-trip with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="EliottClavier/distilbert-finetuned-text-classification-trip")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("EliottClavier/distilbert-finetuned-text-classification-trip") model = AutoModelForSequenceClassification.from_pretrained("EliottClavier/distilbert-finetuned-text-classification-trip", device_map="auto") - Notebooks
- Google Colab
- Kaggle