Update README.md
This commit is contained in:
parent
d3c1083155
commit
2af815790a
|
@ -16,7 +16,7 @@ from parrot import Parrot
|
||||||
import warnings
|
import warnings
|
||||||
warnings.filterwarnings("ignore")
|
warnings.filterwarnings("ignore")
|
||||||
|
|
||||||
parrot = Parrot(diversity_ranker="euclidean", model_tag="prithivida/parrot_paraphraser_on_T5", use_gpu=False)
|
parrot = Parrot(diversity_ranker="levenshtein", model_tag="prithivida/parrot_paraphraser_on_T5", use_gpu=False)
|
||||||
phrases = ["Can you recommed some upscale restaurants in Rome?",
|
phrases = ["Can you recommed some upscale restaurants in Rome?",
|
||||||
"What are the famous places we should not miss in Russia?"
|
"What are the famous places we should not miss in Russia?"
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue