Instructions to use minh21/XLNet-Toxic-Comment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use minh21/XLNet-Toxic-Comment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="minh21/XLNet-Toxic-Comment")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("minh21/XLNet-Toxic-Comment") model = AutoModelForSequenceClassification.from_pretrained("minh21/XLNet-Toxic-Comment") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 45994b9e09234df57bc2a675fa9e97573c974dc776339eb3e344577be2b906c2
- Size of remote file:
- 4.03 kB
- SHA256:
- 81c39050757256fff39a384fb840f639b50a8db8005588855cd73b4f7dde8550
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.