Coder Social home page Coder Social logo

gensen's People

Contributors

maximumentropy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gensen's Issues

Can you provide the full multitask pre-trained Network ?

Thank you for this great contribution.

I am currently performing some experiments where it would be very helpful if I had a network that can encode sentences, decode them, and calculate entailment with regard to that same encoding.

I think it would be very useful to the community if you provided a link to your pretrained model in the same checkpointing format as that of your train.py file. I hope you still have it somewhere ..

Thanks a lot !

parsing of glove embeddings

Hi,

thanks for the code!
The provided glove2h5.py does not work on my machine as there are some words in the gloVe file which contain spaces and thus the code crashes when trying to convert the splitted lines to float.
The following lines should be changed:
vocab = [line[0] for line in glove_vectors]
into
vocab = [' '.join(line[0:-300]) for line in glove_vectors]

and
vectors = np.array( [[float(val) for val in line[1:]] for line in glove_vectors] ).astype(np.float32)
into
vectors = np.array( [[float(val) for val in line[-300:]] for line in glove_vectors] ).astype(np.float32)

Pre-trained word embeddings

Hi Sandeep,
I have a question about the input word embeddings. As you described in READEME, the pre-trained GLOVE is used. But in the paper, the word embeddings were learned. If I understand correctly, GLOVE is only used in the case if we want to expand the Vocabulary. When generating sentence representations, the model still uses the learned word embeddings. Is this right?

Encoding tweets

Hi Sandeep,
I would like to encoding tweets to vectors. I can use your pre-trained model. But it is possible to train (warm-start with your pre-trained parameters) your model with tweets data?

Cheers,
Shun

Is the GRU implementation in consistent with the paper?

I read the peephole GRU implementation in models.py :

newgate = F.tanh(i_n + resetgate * h_n + p_n) (line54)
hy = newgate + inputgate * (hidden - newgate) . (line 55 )

Are they in consistent with the (3) and (4) equations in the paper?
I think the line 54 missed the “entrywise product of r_t and h_t-1” and the line 55 also not looks like the equation (4).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.