1 Star 0 Fork 1

lisiG9 / roberta_zh

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
create_pretrain_data.sh 393 Bytes
一键复制 编辑 原始数据 按行查看 历史
b 提交于 2019-09-22 16:10 . update
#!/usr/bin/env bash
echo $1,$2
for((i=$1;i<=$2;i++));
do
python3 create_pretraining_data.py --do_whole_word_mask=True --input_file=./raw_text/news2016zh_$i.txt \
--output_file=./tf_records_all/tf_news2016zh_$i.tfrecord --vocab_file=./resources/vocab.txt \
--do_lower_case=True --max_seq_length=256 --max_predictions_per_seq=23 --masked_lm_prob=0.10 --random_seed=12345 --dupe_factor=5
done
1
https://gitee.com/lisig9/roberta_zh.git
git@gitee.com:lisig9/roberta_zh.git
lisig9
roberta_zh
roberta_zh
master

搜索帮助