Instructions to use deepBiz/distilbert-toxic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use deepBiz/distilbert-toxic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="deepBiz/distilbert-toxic")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("deepBiz/distilbert-toxic") model = AutoModelForSequenceClassification.from_pretrained("deepBiz/distilbert-toxic", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from deepBiz/distilbert-toxic: direct link, hf CLI and curl.
- Browser
- Download file 268 MB
-
https://huggingface.co/deepBiz/distilbert-toxic/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://deepBiz/distilbert-toxic/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/deepBiz/distilbert-toxic/resolve/main/pytorch_model.bin
268 MB
- Xet hash:
- b7f10cc96d89b432ce07366ec0436939b3a42d9afe2018bf72d3bdd08eba713d
- Size of remote file:
- 268 MB
- SHA256:
- 78029294f55a15582acd5f7d9d45c61255fc133f420b3db1dff814a53ad5751c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.