Modfiededition
commited on
Commit
•
42e659d
1
Parent(s):
70a9f53
Update README.md
Browse files
README.md
CHANGED
@@ -15,7 +15,7 @@ Grammar: Your Sentence
|
|
15 |
```
|
16 |
|
17 |
## How to use :
|
18 |
-
You can use this model directly with the pipeline for
|
19 |
|
20 |
```
|
21 |
from transformers import pipeline
|
@@ -25,6 +25,11 @@ model = pipeline("text2text-generation", model=model_checkpoint)
|
|
25 |
text = "I am write on AI"
|
26 |
output = model(text)
|
27 |
```
|
|
|
|
|
|
|
|
|
|
|
28 |
|
29 |
|
30 |
|
|
|
15 |
```
|
16 |
|
17 |
## How to use :
|
18 |
+
You can use this model directly with the pipeline for for detecting and correcting grammatical mistakes.
|
19 |
|
20 |
```
|
21 |
from transformers import pipeline
|
|
|
25 |
text = "I am write on AI"
|
26 |
output = model(text)
|
27 |
```
|
28 |
+
Result(s)
|
29 |
+
```
|
30 |
+
I am writing on AI.
|
31 |
+
```
|
32 |
+
|
33 |
|
34 |
|
35 |
|