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