Instructions to use ChrisZeng/bart-base-detox with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ChrisZeng/bart-base-detox with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("ChrisZeng/bart-base-detox") model = AutoModelForSeq2SeqLM.from_pretrained("ChrisZeng/bart-base-detox", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from ChrisZeng/bart-base-detox: direct link, hf CLI and curl.
- Browser
- Download file 558 MB
-
https://huggingface.co/ChrisZeng/bart-base-detox/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://ChrisZeng/bart-base-detox/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/ChrisZeng/bart-base-detox/resolve/main/pytorch_model.bin
558 MB
- Xet hash:
- 870286a43af1fdc0b3c32eb24e8281c59b5a2f4ec73cd897e22213f1fa766d71
- Size of remote file:
- 558 MB
- SHA256:
- 067f06f46c3e2302edea0659d5a2d389dd0553068432d2d9a5da137f610c007c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.