bert icon indicating copy to clipboard operation
bert copied to clipboard

`create_pretraining_data.py` so slowly..

Open zjh-nudger opened this issue 8 years ago • 1 comments

I used create_pretraining_data.py to create pretraining data with Chinese wikipedia data(About 1G). It toke six hours and on going..... There are some errors?

zjh-nudger avatar Nov 27 '18 12:11 zjh-nudger

There is a fix that was just checked in that would make it smaller. But as mentioned in the README i woudl recommend sharding large files and processing each one separately, then passing in a file glob (tf_examples.tfrecord*) to run_pretraining.py.

jacobdevlin-google avatar Nov 28 '18 01:11 jacobdevlin-google