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 training_args.bin from ChrisZeng/bart-base-detox: direct link, hf CLI and curl.
- Browser
- Download file 3.18 kB
-
https://huggingface.co/ChrisZeng/bart-base-detox/resolve/main/training_args.bin
- Command line
-
hf download hf://ChrisZeng/bart-base-detox/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/ChrisZeng/bart-base-detox/resolve/main/training_args.bin
3.18 kB
- Xet hash:
- 2a59205fc14f355da406f4bff2bdb6fe262048809470c7ee062107a659b6a4c7
- Size of remote file:
- 3.18 kB
- SHA256:
- abd235b48e5708905b15febf940f8c469a46192ae834301997bdf033c3918692
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.