is it possible to use this model for paraphrasing general sentences?
kasra-pak opened this issue · comments
i want to paraphrase some english sentences so, i wondered if you can give a hint or script which takes a sentence as an input and paraphrase it using the mode.
Oh I think this model currently may not fit for your general paraphrasing task because it's trained on MSCOCO and Quora, all quite domain-specific. The quickest way I think would be back translation: use google translate api to translate your sentence to any other language, then translate them back. You will get paraphrase this way :)
…
On Sun, Jan 19, 2020 at 3:11 PM kasra @.***> wrote: i want to paraphrase some english sentences so, i wondered if you can give a hint or script which takes a sentence as an input and paraphrase it using the mode. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#6?email_source=notifications&email_token=AEHHCHJY7FPDNVUMAWR2UILQ6P4I5A5CNFSM4KIXSCT2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IHE733Q>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEHHCHPT6MPLP4HV2VHQI33Q6P4I5ANCNFSM4KIXSCTQ .
i really appreciate contacting me. i'm trying to paraphrase some english sentences and i want to do this locally i mean using the google translator api is great but doesn't work for me now. by the way as you have a knowledge in this era, do you have any other suggestions or approaches in mind for paraphrasing?
Hi kasra-pak,
Sorry for the late reply, you could use a pre-trained translation model locally like the ones in OpenNMT: https://opennmt.net/Models-py/