Instructions to use the-hir0/pegasus-detoxify with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use the-hir0/pegasus-detoxify with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("the-hir0/pegasus-detoxify") model = AutoModelForSeq2SeqLM.from_pretrained("the-hir0/pegasus-detoxify") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1 opened over 1 year ago
by
SFconvertbot