prithivida commited on
Commit
e79fe9e
1 Parent(s): 2af8157

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -16,7 +16,7 @@ from parrot import Parrot
16
  import warnings
17
  warnings.filterwarnings("ignore")
18
 
19
- parrot = Parrot(diversity_ranker="levenshtein", model_tag="prithivida/parrot_paraphraser_on_T5", use_gpu=False)
20
  phrases = ["Can you recommed some upscale restaurants in Rome?",
21
  "What are the famous places we should not miss in Russia?"
22
  ]
@@ -62,6 +62,7 @@ Input_phrase: What are the famous places we should not miss in Russia
62
  ```python
63
 
64
  para_phrases = parrot.augment(input_phrase=phrase,
 
65
  do_diverse=False,
66
  max_return_phrases = 10,
67
  max_length=32,
 
16
  import warnings
17
  warnings.filterwarnings("ignore")
18
 
19
+ parrot = Parrot(model_tag="prithivida/parrot_paraphraser_on_T5", use_gpu=False)
20
  phrases = ["Can you recommed some upscale restaurants in Rome?",
21
  "What are the famous places we should not miss in Russia?"
22
  ]
 
62
  ```python
63
 
64
  para_phrases = parrot.augment(input_phrase=phrase,
65
+ diversity_ranker="levenshtein"
66
  do_diverse=False,
67
  max_return_phrases = 10,
68
  max_length=32,