Giter Site home page Giter Site logo

Comments (2)

mish15 avatar mish15 commented on August 17, 2024

No worries, glad it's helpful.

In terms of speed, that's a larger model, on par to Google's news one. From memory the current has to scan all vectors, i think @dhowden made the calc about as fast as it's going to go (?), so your best bet is likely to:

a) make sure you're not collecting junk terms. Use a threshold for term addition. Also make sure punctuation, casing, IDs, phone numbers, etc are not causing lots of extra terms you don't care about.
b) reduce the dimensionality if you can and then
c) possibly shard the model into clusters and only query the clusters with close center points to the input vector.

Usually a) is the issue. b) is a handy compromise, c) i've never had to do.

from word2vec.

barthr avatar barthr commented on August 17, 2024

Thanks for the fast response @mish15 I did an extra cleaning on the data and will try it out to see if the results are a better. It's pretty time consuming to run the model each time because there are more than 200 millions messages (tweets). Currently I'm only interested in the cluster where location indicators are, I think clustering the model will help me omit the things I'm not interested in.

Thanks for the help!

from word2vec.

Related Issues (7)

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.