Update README.md
This commit is contained in:
parent
e922b4d48f
commit
f6aa5bf493
|
@ -30,7 +30,7 @@ pip install parrot
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
warnings.filterwarnings("ignore")
|
warnings.filterwarnings("ignore")
|
||||||
parrot = Parrot(model_tag="prithivida/parrot_paraphraser_on_T5", use_gpu=True)
|
parrot = Parrot(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