pszemraj commited on
Commit
aa41049
1 Parent(s): d67fed9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -1
README.md CHANGED
@@ -44,9 +44,20 @@ parameters:
44
 
45
  A fine-tuned version of [google/t5-v1_1-large](https://huggingface.co/google/t5-v1_1-large) for grammar correction on an expanded version of the [JFLEG](https://paperswithcode.com/dataset/jfleg) dataset.
46
 
 
 
 
 
 
 
 
 
 
 
 
47
  ## Model description
48
 
49
- The intent is to create a text2text language model that successfully completes "single-shot grammar correction" on a potentially grammatically incorrect text
50
 
51
  ## Intended uses & limitations
52
 
 
44
 
45
  A fine-tuned version of [google/t5-v1_1-large](https://huggingface.co/google/t5-v1_1-large) for grammar correction on an expanded version of the [JFLEG](https://paperswithcode.com/dataset/jfleg) dataset.
46
 
47
+ usage in Python:
48
+
49
+ ```
50
+ from transformers import pipeline
51
+
52
+ corrector = pipeline(
53
+ 'text2text-generation',
54
+ 'pszemraj/grammar-synthesis-large',
55
+
56
+ )
57
+ ```
58
  ## Model description
59
 
60
+ The intent is to create a text2text language model that successfully completes "single-shot grammar correction" on a potentially grammatically incorrect text **that could have a lot of mistakes** with the important qualifier of _it does not semantically change text/information that IS grammatically correct._
61
 
62
  ## Intended uses & limitations
63