Open Kgoeson opened 3 years ago
原始的字序列,这个是很久以前加的一个选项了,好像没啥用,flat也没用这个
原始的字序列,这个是很久以前加的一个选项了,好像没啥用,flat也没用这个
感谢您的回复,冒昧再问一句,这个字序列的输入shape是什么呀? 不胜感激。
原始的字序列,这个是很久以前加的一个选项了,好像没啥用,flat也没用这个
感谢您的回复,冒昧再问一句,这个字序列的输入shape是什么呀? 不胜感激。
应该是batch * seq_len
models.py line 407 def forward(self, lattice, bigrams, seq_len, lex_num, pos_s, pos_e, target, chars_target=None):
models.py line 520 chars_target = chars_target.view(size=[batch_size*max_seq_len])