BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
python 3
tensorflow 1.12.0
0, edit the input and output file name in create_pretraining_data.py
and run_pretraining_gpu.py
1, run create_pretraining_data.py
2, run run_pretraining_gpu.py
Edit n_gpus
in run_pretraining_gpu.py
In sample_text.txt
, sentence is end by \n, paragraph is splitted by empty line.