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