Git Product home page Git Product logo

counter-fitting's People

Contributors

nmrksic 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

counter-fitting's Issues

generating synonyms

Hello,

Is there code available or an explanation somewhere on the data processing? Specifically, I'm interested in how you generated ppdb-synonyms.txt and wordnet-antonyms.txt.

Thanks!

the partial derivative of loss function

the partial derivative of AR,SA,VSP are computed as follows:
if normalised_vectors:
gradient = u * dot(u,v) - v

is that right?the only parameter is v',right? both v'i and v'j should be computed partial derivatives,right?

Typos in the word embeddings?

Hi,

Thanks for your dedication of this work!

I think there are some typos in the generated embedding file. For example, 'recieve' and 'recieved', while 'receive' and 'received' also appear. Besides, I guess there are some words such as 'worden' and 'viens' which look like vocabularies taken from other languages other than English. It could be a problem when I want to generate synonyms to replace words in the original sentences.

Do you have any idea to avoid these words?

Performance on larger vocabulary

First, thanks so much for posting your code!

Counter-fitting glove vectors with a much larger vocab (~2 million words) the number of required dot products for computing VSP pairs obviously explodes (2m^2 vs 50k^2). The included pruned vocab of 50k only takes ~1min on a 4 core machine. What type of time frame did your full glove vocab take? I feel like I must be missing something.

Thanks again Nikola!

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.