Coder Social home page Coder Social logo

Installable pip package about elmoformanylangs HOT 5 OPEN

hit-scir avatar hit-scir commented on September 3, 2024
Installable pip package

from elmoformanylangs.

Comments (5)

Oneplus avatar Oneplus commented on September 3, 2024 3

Hi @mauryaland,

Thank you for your interest! Making it pip installable is a good idea. However, the current project is very unstable and experimental. And we do not have enough time to officially release it. Currently, you can use the Embedder class for programmatically interface.

I will leave this issue open until we have a detailed plan.

from elmoformanylangs.

AngledLuffa avatar AngledLuffa commented on September 3, 2024

Rather than open a new issue, can I ask in this thread: any further progress on this? Any possibility of having this module on pip?

Thanks!

from elmoformanylangs.

akutuzov avatar akutuzov commented on September 3, 2024

@AngledLuffa you can try the simple-elmo project.
It relies on TensorFlow, not PyTorch, but the idea is the same: to make ELMo usage more straightforward.

from elmoformanylangs.

AngledLuffa avatar AngledLuffa commented on September 3, 2024

Thank you for the suggestion! Does that work on the models hosted on allennlp and the models hosted here? Or just one subset of those models? It's a little unclear from that documentation what models to use or where to get them. Otherwise, it looks quite promising.

from elmoformanylangs.

akutuzov avatar akutuzov commented on September 3, 2024

With simple-elmo, you can load:

  1. Pre-trained models provided by allennlp. You'll just have to rename their files to model.hdf5 and options.json, and create a vocab.txt file with any number of words in it (at least try to include <S> and </S>).
  2. All the ELMo models from the NLPL vector repository, except those provided by ELMOForManyLangs.

We are currently thinking about ways to automatically convert and load ELMOForManyLangs models.

from elmoformanylangs.

Related Issues (20)

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.