bert
bert copied to clipboard
why all the next_sentence_labels equal 1 with run create_pretraining_data.py?
i understander wrong?
"1" actually means "is random" because that's the convention I used originally. The problem is that there are blank lines between your input sentences so the system thinks that each its its own document, and next sentence can't cross documents. So just remove the empty line between segments in the same document.
thanks a lot