我是靠谱客的博主 贪玩蛋挞,这篇文章主要介绍问题总结:create_examples.py: error: the following arguments are required: --vocab_file,现在分享给大家,希望可以做个参考。
原运行命令:
python src_nq_memory/create_examples.py
--input_pattern "./natural_questions/v1.0/train/nq-train-*.jsonl.gz"
--vocab_file ./bert-base-uncased-vocab.txt
--do_lower_case
--output_dir ./natural_questions/nq_0.03/
--num_threads 24 --include_unknowns 0.03 --max_seq_length 512 --doc_stride 128
运行命令改成
(python1) root@adbb5f70256b:/tmp/pycharm_project_784#
python src_nq/create_examples.py --vocab_file ./bert-base-uncased-vocab.txt --input_pattern "./natural_questions/v1.0/train/nq-train-*.jsonl.gz" --output_dir ./natural_questions/nq_0.03/--do_lower_case --num_threads 24 --include_unknowns 0.03 --max_seq_length 512 --doc_stride 128
不知道为什么,先输入缺失的配置就不报错了
最后
以上就是贪玩蛋挞最近收集整理的关于问题总结:create_examples.py: error: the following arguments are required: --vocab_file的全部内容,更多相关问题总结:create_examples.py:内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复