pytorch_bert_elmo_example icon indicating copy to clipboard operation
pytorch_bert_elmo_example copied to clipboard

请问一下博主知道有ELMO+ESIM的组合开源项目吗?

Open 14H034160212 opened this issue 4 years ago • 2 comments

请问一下博主知道有ELMO+ESIM的组合开源项目吗?我搜了目前网上开源的项目,包括提出ELMO+ESIM这个思路的原论文Deep contextualized word representations也没有开源这个组合的代码,我想问一下博主您在这个项目中用到的ELMO+textCNN是不是也是类似ELMO+ESIM的这个架构?多谢了

14H034160212 avatar Jun 27 '20 14:06 14H034160212

你好,不好意思,这个组合没有用过。 简单搜了,好像差不多。 AllenNLP应该是有封装ESIM的,如果想用ELMo+ESIM只需要吧input encoder 改了就行的样子。 可以尝试: https://github.com/allenai/allennlp/blob/580dc8b0e2c6491d4d75b54c3b15b34b462e0c67/allennlp/models/esim.py

ShomyLiu avatar Jun 27 '20 14:06 ShomyLiu

你好,不好意思,这个组合没有用过。 简单搜了,好像差不多。 AllenNLP应该是有封装ESIM的,如果想用ELMo+ESIM只需要吧input encoder 改了就行的样子。 可以尝试: https://github.com/allenai/allennlp/blob/580dc8b0e2c6491d4d75b54c3b15b34b462e0c67/allennlp/models/esim.py

多谢!

14H034160212 avatar Jun 27 '20 14:06 14H034160212