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