pytorch_chinese_lm_pretrain
pytorch_chinese_lm_pretrain copied to clipboard
预训练bert出错
ValueError: num_samples should be a positive integer value, but got num_samples=0 请问下这是什么原因
ValueError: num_samples should be a positive integer value, but got num_samples=0 请问下这是什么原因
把数据文件中的空行去掉,再把run_language_model_xx.py 里的line_by_line参数改为True
数据文件没有识别到造成的?
---原始邮件--- 发件人: @.> 发送时间: 2021年9月20日(周一) 晚上11:03 收件人: @.>; 抄送: @.***>; 主题: Re: [zhusleep/pytorch_chinese_lm_pretrain] 预训练bert出错 (#9)
ValueError: num_samples should be a positive integer value, but got num_samples=0 请问下这是什么原因
把数据文件中的空行去掉,再把run_language_model_xx.py 里的line_by_line参数改为True
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.