mide7x commited on
Commit
2d7c1c4
·
verified ·
1 Parent(s): 000b3da

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -31,8 +31,8 @@ This model is fine-tuned to correct grammatical errors in English text. It's bas
31
  from transformers import T5ForConditionalGeneration, T5Tokenizer
32
 
33
  # Load model and tokenizer
34
- model = T5ForConditionalGeneration.from_pretrained("mide7x/grammar-correction-model")
35
- tokenizer = T5Tokenizer.from_pretrained("mide7x/grammar-correction-model")
36
 
37
  # Prepare input (add the prefix "correct grammar: ")
38
  incorrect_text = "She dont like to eat vegetables but she like fruits."
@@ -63,6 +63,6 @@ If you use this model in your research, please cite:
63
  title = {Grammar Correction Model},
64
  year = {2025},
65
  publisher = {Hugging Face},
66
- howpublished = {\url{https://huggingface.co/mide7x/grammar-correction-model}}
67
  }
68
  ```
 
31
  from transformers import T5ForConditionalGeneration, T5Tokenizer
32
 
33
  # Load model and tokenizer
34
+ model = T5ForConditionalGeneration.from_pretrained("Tegence/grammar-correction-model")
35
+ tokenizer = T5Tokenizer.from_pretrained("Tegence/grammar-correction-model")
36
 
37
  # Prepare input (add the prefix "correct grammar: ")
38
  incorrect_text = "She dont like to eat vegetables but she like fruits."
 
63
  title = {Grammar Correction Model},
64
  year = {2025},
65
  publisher = {Hugging Face},
66
+ howpublished = {\url{https://huggingface.co/Tegence/grammar-correction-model}}
67
  }
68
  ```