Instructions to use vennify/t5-base-grammar-correction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vennify/t5-base-grammar-correction with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("vennify/t5-base-grammar-correction") model = AutoModelForSeq2SeqLM.from_pretrained("vennify/t5-base-grammar-correction") - Notebooks
- Google Colab
- Kaggle
Extraction Word
#1
by japy - opened
Hi all,
Please anyone can guide me to extract the word that is grammar wrong in text using this model.
Much appreciated for any help!
Hi guys,
Can anybody say how to extract the types and locations of the grammar errors in the given grammatically wrong text, using this model
Wouldn’t you best using a different tool like languagetool to do this? I’m not sure the model alone could do this but I’d love to be corrected. https://pypi.org/project/language-check/