Closed flomock closed 5 years ago
in the first line it should be: from allennlp.commands.elmo import ElmoEmbedder instead of your version without the d
and you give the ElmoEmbedder the parameter in the wrong order, it should be: seqvec = ElmoEmbedder(options,weights,cuda_device=0)
would be nice if you fix this
Thanks for the heads up, on it
Thanks for notifying! Fixed.
in the first line it should be: from allennlp.commands.elmo import ElmoEmbedder instead of your version without the d
and you give the ElmoEmbedder the parameter in the wrong order, it should be: seqvec = ElmoEmbedder(options,weights,cuda_device=0)
would be nice if you fix this