Instructions to use textdetox/xlmr-large-toxicity-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textdetox/xlmr-large-toxicity-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="textdetox/xlmr-large-toxicity-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("textdetox/xlmr-large-toxicity-classifier") model = AutoModelForSequenceClassification.from_pretrained("textdetox/xlmr-large-toxicity-classifier") - Inference
- Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 778c2cf97ad5172009be09a062864e913e537b47313676c639ffc272faa6366d
- Size of remote file:
- 2.22 GB
- SHA256:
- cbe6f9573f96002fdec545ed2b9f2afe3c69d269a53ca3325da36440156d4a6c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.