Update README.md
Browse files
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("
|
35 |
-
tokenizer = T5Tokenizer.from_pretrained("
|
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/
|
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 |
```
|