Update README.md
Browse files
README.md
CHANGED
@@ -36,7 +36,7 @@ tokenizer = T5Tokenizer.from_pretrained(model_name)
|
|
36 |
### Grammar Correction Inference
|
37 |
|
38 |
```python
|
39 |
-
paraphrase_pipeline = pipeline("text2text-generation", model=
|
40 |
test_text = "The quick brown fox jumps over the lazy dog"
|
41 |
|
42 |
# Generate paraphrases
|
|
|
36 |
### Grammar Correction Inference
|
37 |
|
38 |
```python
|
39 |
+
paraphrase_pipeline = pipeline("text2text-generation", model=model, tokenizer=tokenizer)
|
40 |
test_text = "The quick brown fox jumps over the lazy dog"
|
41 |
|
42 |
# Generate paraphrases
|