Instructions to use s-nlp/bart-base-detox with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use s-nlp/bart-base-detox with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("s-nlp/bart-base-detox") model = AutoModelForSeq2SeqLM.from_pretrained("s-nlp/bart-base-detox", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signaturec1d588a
-
Update README.md
Verified signatured2e5900
-
Update README.md
4f0cffa -
Update README.md
110f191
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (f2c49afab5d9e97c562f56edfab7248da09401f0) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>eb48f6e
-
Update README.md
d0177c3 -
Update README.md
d6ef577 -
Update README.md
9670a72
-
Create README.md
423d9ea
-
The first commit
7de719b -
initial commit
01d34f4