GithubHelp home page GithubHelp logo

squad's People

Contributors

aswalin 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

squad's Issues

Not able to import glove vector

I downloaded the pickle file using the command
curl -Lo encoder/infersent1.pkl https://dl.fbaipublicfiles.com/senteval/infersent/infersent1.pkl
and import it using
infersent = torch.load('infersent1.pkl', map_location=lambda storage, loc: storage) infersent.set_glove_path("glove.840B.300d.txt")
the error which i got -
"AttributeError: 'collections.OrderedDict' object has no attribute 'set_glove_path'"

I also updated the file models.py in working directory with InferSent class but still not able to load it using infersent.set_w2v_path.
What is correct way to overcome this?

No such file or directory: 'InferSent/encoder/infersent.allnli.pickle' in their

I tried to reproduce your create_emb.ipynb but I have issues with

infersent = torch.load('InferSent/encoder/infersent.allnli.pickle', map_location=lambda storage, loc: storage)

I tried to look on InterSent/encoder folder here but nothing appears to be named infersent.allnli.pickle. Maybe you're referencing an old version ? Maybe I'm wrong because I neither see the infersent.pickle they are referencing.

invalid load key, '<'.

Getting UnpicklingError: invalid load key, '<'. while loading the pre-trained model infersent.allnli.pickle

estimated time for getting the embeddings

Hi,

May I know your running time for getting the embedding matrix by InferSent? It was running over 4 hours on my computer and still not finished, not sure if anything went wrong.. Thanks.

infersent.allnli.pickle this file error!

I tried downloading infersent1.pickle and interfece2.pickle but it is getting error. I think we must provide infersent.allnli.pickle this file only.but that is downloading corrupt file.

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.