yt-liang

Results 5 issues of yt-liang

代码里没有词向量,想问一下,您是用的哪儿个

即txt文件的首部需要有'词表大小 向量维度'信息。这个大家怎么解决的呀

您好,我是用BertEmbedding,模型使用cn(chinese-bert-wwm),输入分好的词,是不是可以这样做,这样可以得到分词的向量,还是说必须基于字符进行输入.因为我的下游任务需要分好词的向量,如果必须要字符的话,那词向量如何获得.

![image](https://user-images.githubusercontent.com/58623131/88485248-047cd780-cfa7-11ea-9075-d56953b428ac.png) 您好,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)的问题

词向量您当时是用的哪儿个呢?