Modfiededition commited on
Commit
70a9f53
1 Parent(s): 965ce1c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -1
README.md CHANGED
@@ -17,8 +17,14 @@ Grammar: Your Sentence
17
  ## How to use :
18
  You can use this model directly with the pipeline for text2text-generation.
19
 
 
 
20
 
21
-
 
 
 
 
22
 
23
 
24
 
 
17
  ## How to use :
18
  You can use this model directly with the pipeline for text2text-generation.
19
 
20
+ ```
21
+ from transformers import pipeline
22
 
23
+ model_checkpoint = "Modfiededition/t5-base-fine-tuned-on-jfleg"
24
+ model = pipeline("text2text-generation", model=model_checkpoint)
25
+ text = "I am write on AI"
26
+ output = model(text)
27
+ ```
28
 
29
 
30