python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Error training ELMo - RuntimeError: The size of tensor a (5158) must match the size of tensor b (5000) at non-singleton dimension 1
I am trying to train my own custom ELMo model on AllenNLP.
The following bug RuntimeError: The size of tensor a (5158) must match the size of tensor b (5000) at non-singleton dimension 1 arises when t...
Goh Jia Yi
Votes: 0
Answers: 1
RuntimeError: variable_scope module_1/ was unused but the corresponding name_scope was already taken. How can i fix it
i got this problem with elmo and tensorflow and i wanna fix it without downgrade. what should i do
`**CODE**
import tensorflow_hub as hub
import tensorflow as tf
#Elmo
elmo = hub.Module("https://...
sarah
Votes: 0
Answers: 1
Allennlp: How to load a pretrained ELMo as the embedding of allennlp model?
I am new in allennlp. I trained an elmo model to apply it to other allennlp models as the embedding but failed. It seems that my model is not compatible to the interface the config gives. What can I d...
IshiKura-a
Votes: 0
Answers: 1
Saving and loading Keras model with ELMO embedding layer
I'm training a Keras model for token classification with an ELMO layer. I will need to save the model for future use, I've tried with model.save_weights("model_weights.h5"),
but then if I lo...
user17796629
Votes: 0
Answers: 0