我是靠谱客的博主 贪玩蛋挞,最近开发中收集的这篇文章主要介绍问题总结: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: error: the following arguments are required: --vocab_file所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复