yt-liang
yt-liang
代码里没有词向量,想问一下,您是用的哪儿个
即txt文件的首部需要有'词表大小 向量维度'信息。这个大家怎么解决的呀
您好,我是用BertEmbedding,模型使用cn(chinese-bert-wwm),输入分好的词,是不是可以这样做,这样可以得到分词的向量,还是说必须基于字符进行输入.因为我的下游任务需要分好词的向量,如果必须要字符的话,那词向量如何获得.
报错
 您好,LSTM-CNNS-CRF中,运行train.py,报错RuntimeError: Expected tensor for argument #1 'indices' to have scalar type Long; but got torch.IntTensor instead (while checking arguments for embedding)。显示是model(word,char,label)的问题
词向量您当时是用的哪儿个呢?