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")# pip install -U transformers accelerate # 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
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.64e180a
-
End of training
bf47c7f -
Training in progress, epoch 5
429b0ab -
Training in progress, epoch 4
ace1558 -
Training in progress, epoch 3
06fd8d1 -
Training in progress, epoch 2
ba047b1 -
Training in progress, epoch 1
9714db3 -
Training in progress, epoch 6
bd4a0f5 -
Training in progress, epoch 5
d391465 -
Training in progress, epoch 4
16bdfca -
Training in progress, epoch 3
3ecf6bc -
Training in progress, epoch 2
4ddb3b5 -
Training in progress, epoch 1
bcf27f4 -
Training in progress, epoch 3
1493188 -
Training in progress, epoch 2
f2a0fee -
Training in progress, epoch 1
02c15a3 -
Training in progress, epoch 3
4b51f43 -
Training in progress, epoch 2
8f9b2ce -
Training in progress, epoch 1
3f577a8 -
Training in progress, epoch 5
6e920c8 -
Training in progress, epoch 4
6525abf -
Training in progress, epoch 3
3c29571 -
Training in progress, epoch 2
40279d4 -
Training in progress, epoch 1
3f7cf80 -
Training in progress, epoch 5
1b1292e -
Training in progress, epoch 4
06821ae -
Training in progress, epoch 3
3b2d233 -
Training in progress, epoch 2
c157f58 -
Training in progress, epoch 1
2dbb928 -
Training in progress, epoch 1
a3f7928
-
End of training
a006e7d -
Training in progress, epoch 5
3d8f39a -
Training in progress, epoch 4
1bb8685 -
Training in progress, epoch 3
01b4ad8 -
Training in progress, epoch 2
54bd7a0 -
Training in progress, epoch 1
b7f73cc -
End of training
d0f8c92 -
Training in progress, epoch 5
2241767 -
Training in progress, epoch 4
b7e4441 -
Training in progress, epoch 3
d10ae11 -
Training in progress, epoch 2
885b3a6 -
Training in progress, epoch 1
b7960a4 -
Update README.md
3ee9627
-
End of training
8fae34a -
Training in progress, epoch 5
6647a19 -
Training in progress, epoch 4
e04f0da -
Training in progress, epoch 3
e5fabc6 -
Training in progress, epoch 2
7dfd40f -
Training in progress, epoch 1
1bf35c5 -
initial commit
091fcb7