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