vsuthichai / paraphraser

Sentence paraphrase generation at the sentence level
http://pair-a-phrase.it
MIT License
407 stars 99 forks source link

Some notes #2

Open mikkelam opened 6 years ago

mikkelam commented 6 years ago

Pretty cool stuff, but it's not easy to get running

For spacy add to .bashrc

#Locale
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

download english model sudo python3 -m spacy download en

And then i'm not sure how do i get the embeddings needed here? https://github.com/vsuthichai/paraphraser/blob/master/paraphraser/embeddings.py

I can't get the website to work either

vsuthichai commented 6 years ago

@mikkelam I appreciate the comments. Thanks for trying it out! The embeddings can be found in John Wieting's @jwieting shared google drive.

https://drive.google.com/file/d/1l2liCZqWX3EfYpzv9OmVatJAEISPFihW/view?usp=sharing

He's been very helpful with ideas while I was developing the model. The actual microservice serviing the inferencing on the website is run on a personal machine. ie, I don't have it up on a public host or cloud vm, so I will occasionally bring it down.

mikkelam commented 6 years ago

Thanks for the reply, where do i get the glove pickle glove.6B/glove.6B.300d.pickle?

vsuthichai commented 6 years ago

You should be able to find it as part of the standard glove embeddings download. I might have pickled it though