luohm111
luohm111
Successfully installed torchtext-0.7.0,下载的这个版本,然后运行Python3 train.py会报上面那个错,没有动态库?请问怎么解决
没有停用词库呀
No such file or directory: 'stopwords/HIT_stop_words.txt',还要自己去下载吗
您好,能请教一个问题吗?我在运行python ptbert.py的时候报了上面的错,显示错误在pooled_output = self.dropout(pooled_output)这一行,打印出pooled_output是'pooler_output'这个东西,是个str不是tensor,这就很奇怪了,_, pooled_output = self.bert(input_ids, None, input_mask),为什么bert出来的pooled_output就是'pooler_output'呢?我不知道是哪里错了,还望能指点下吗?非常感谢大佬!
when i run this command python train.py -mode validate -bert_data_path ../bert_data/cnndm -model_path ../models/bert_classifier -visible_gpus 0 -gpu_ranks 0 -batch_size 30000 -log_file ../logs/cnndm.log -result_path ../results/cnndm -test_all -block_trigram true,it raises th error,but i...
里面只有Dialog_sample文件夹和spm.model这个文件,其它的都没有,运行第一个代码命令时显示有些数据文件不存在,求大佬解答,万分感谢!!!
预测的那个评测结果F1值大概是多少呢,我怎么测的只有19.7,好低啊
请问这个最后的降维后的矩阵怎么求,看了代码不是很清楚,特征值没有出来,取前几个特征向量与原矩阵相乘,这些不清楚,麻烦能否解答下,谢谢了!
File "rc.py", line 99, in call return K.softmax(inputs, 1) TypeError: softmax() takes 1 positional argument but 2 were given 请问这个要怎么解决呀