Instructions to use lmsys/toxicchat-t5-large-v1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lmsys/toxicchat-t5-large-v1.0 with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("lmsys/toxicchat-t5-large-v1.0") model = AutoModelForSeq2SeqLM.from_pretrained("lmsys/toxicchat-t5-large-v1.0") - Notebooks
- Google Colab
- Kaggle
How do I calculate the `decoder_input_ids` for calling the model?
1
#2 opened about 2 years ago
by
basrah
The 'use in transformers' tab has an error
#1 opened about 2 years ago
by
basrah