Run this model with HF Jobs
Run linghypshen/distilbert-toxic-classifier on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/linghypshen/distilbert-toxic-classifier. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/linghypshen/distilbert-toxic-classifier on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use linghypshen/distilbert-toxic-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use linghypshen/distilbert-toxic-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="linghypshen/distilbert-toxic-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("linghypshen/distilbert-toxic-classifier") model = AutoModelForSequenceClassification.from_pretrained("linghypshen/distilbert-toxic-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from linghypshen/distilbert-toxic-classifier: direct link, hf CLI and curl.
- Browser
- Download file 268 MB
-
https://huggingface.co/linghypshen/distilbert-toxic-classifier/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://linghypshen/distilbert-toxic-classifier/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/linghypshen/distilbert-toxic-classifier/resolve/main/pytorch_model.bin
268 MB
- Xet hash:
- 01e6a7ab6312e096699b1ad23bfe3031c4843510e06a31f50b09b87024c9876e
- Size of remote file:
- 268 MB
- SHA256:
- 3cde1dddb0e425907d9e93f5487d7a97426a1a14df0ac17edb425a0a6850c677
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.