Instructions to use MatricariaV/t5-grammar-corrector-5epochs-350kdata with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MatricariaV/t5-grammar-corrector-5epochs-350kdata with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("MatricariaV/t5-grammar-corrector-5epochs-350kdata") model = AutoModelForSeq2SeqLM.from_pretrained("MatricariaV/t5-grammar-corrector-5epochs-350kdata", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K