Allennlp: Add a TokenEmbedder that uses OpenAI's language model

Created on 13 Jun 2018  路  3Comments  路  Source: allenai/allennlp

This would let us directly compare our ELMo models vs. their model, and would let others use whichever gives better performance. Code is here: https://github.com/openai/finetune-transformer-lm.

This is probably actually pretty challenging, as it would require duplicating their transformer architecture exactly, and loading the weights in correctly from their pre-trained files.

Most helpful comment

You probably already know this, but there is already a reimplementation of the model in pytorch: https://github.com/huggingface/pytorch-openai-transformer-lm

All 3 comments

You probably already know this, but there is already a reimplementation of the model in pytorch: https://github.com/huggingface/pytorch-openai-transformer-lm

This is done.

@matt-gardner Could you share a config file which uses openai-transformer-embedder in the training-configs?

Thanks in advance.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shounakpaul95 picture shounakpaul95  路  4Comments

DeNeutoy picture DeNeutoy  路  4Comments

flyaway1217 picture flyaway1217  路  4Comments

stefan-it picture stefan-it  路  4Comments

windweller picture windweller  路  5Comments