How to use s-nlp/bart-base-detox with Transformers:
# 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")
The community tab is the place to discuss and collaborate with the HF community!