Lucky Sunda
Lucky Sunda
I am trying to run lcf_bert. While running infer_example_bert_models.py I am facing following issue: ``` Traceback (most recent call last): File "infer_example_bert_models.py", line 80, in model = opt.model_class(bert, opt).to(opt.device) File...
I have a dataset and I want to predict sentiment using this model. How can I do that, could someone please help me with this?
In line 53, word_embedded, pretrain_embedded and lemma_embedded, these three are of different dimensions, so they clearly cannot be concatenated. ``` embeds = self.tanh(self.embeds2input(torch.cat((word_embedded, pretrain_embedded, lemma_embedded), 1))).view(len(sentence[0]),1,-1) ``` How to run...