Instructions to use jaumefib/datathon-against-racism with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jaumefib/datathon-against-racism with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="jaumefib/datathon-against-racism")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("jaumefib/datathon-against-racism") model = AutoModelForSequenceClassification.from_pretrained("jaumefib/datathon-against-racism", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#3 opened over 2 years ago
by
SFconvertbot
Define an `id2label` mapping so labels are more explicit than `LABEL_0` and `LABEL_1`
#2 opened about 4 years ago
by
julien-c