Instructions to use orzhan/rut5-base-detox-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use orzhan/rut5-base-detox-v2 with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("orzhan/rut5-base-detox-v2") model = AutoModelForSeq2SeqLM.from_pretrained("orzhan/rut5-base-detox-v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1 opened about 3 years ago
by
SFconvertbot