Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is it possible to use this model for paraphrasing general sentences? #6

Open
kasra-pak opened this issue Jan 19, 2020 · 3 comments
Open

Comments

@kasra-pak
Copy link

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.

@FranxYao
Copy link
Owner

FranxYao commented Jan 20, 2020 via email

@kasra-pak
Copy link
Author

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?

@FranxYao
Copy link
Owner

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants