littleflow3r
littleflow3r
Hi, In your hierarchical_att_model.py, you initialized the hidden state for the GRU, with zeros. `self.word_hidden_state = torch.zeros(2, batch_size, self.word_hidden_size)` `self.sent_hidden_state = torch.zeros(2, batch_size, self.sent_hidden_size)` According to the torch documentation of...
Hi Keita, thanks for the tutorial. I have one question, though. Assume this is a sentiment analysis task, and suppose I already have ELMo representation for every sentence in the...
wait- your deep-srl model is for NER task? and I didnt see the viterbi hard constraint part?
Hi @jensjepsen thanks for the code! I have question about this line of code: `model_out = model(b.text[0].to(device))` Why does here the input `b.text[0]` ? Doesn't it mean you only feed...