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