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