Git Product home page Git Product logo

Comments (5)

matt-peters avatar matt-peters commented on July 21, 2024

Sorry, no we haven't released the training code.

from bilm-tf.

jackalhan avatar jackalhan commented on July 21, 2024

In order to create ELMO embeddings for my own dataset, do I need to use the trained weights provided by the following link : https://s3-us-west-2.amazonaws.com/allennlp/models/elmo/2x4096_512_2048cnn_2xhighway/elmo_2x4096_512_2048cnn_2xhighway_weights.hdf5

Thank you

from bilm-tf.

matt-peters avatar matt-peters commented on July 21, 2024

Yes, that is the weight file for the pre-trained biLM. You will need the options file that specifies the hyperparameters. These both linked from README.md.

from bilm-tf.

jackalhan avatar jackalhan commented on July 21, 2024

Thank you.
That is the weight file for the pre-trained biLM. I will use it with its options file like you mentioned in README.md. So in order to create ELMO embeddings for questions and paragraphs separately, which of your example python files I need to follow? (usage_cached.py or usage_token.py) .
Can you please correct me if I am wrong? Per my understanding, usage_token is like Glove weights right? It provides weights for each token in voc?

from bilm-tf.

ngbrenda avatar ngbrenda commented on July 21, 2024

Can you provide more detailed instructions to train my own elmo embedding in your README? I want to train elmo on NYT and compare against word2vec or glove.

from bilm-tf.

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.