Jacob Devlin
Jacob Devlin
You should shard the input data (`text.txt_00000`, `text.txt_00001`), run the script for each shard (`tf_examples.tfrecord_00000`, `tf_examples.tf_record_00001`), and then pass in a file glob (e.g., `tf_examples.tfrecord*`) to `run_pretraining.py`.
The memory has almost nothing to do with the size of the input file. The example code assumes your GPU has ~12GB of memory. If it has less then you'll...
Each 8GB card is a separate device, right? This code doesn't support MultiGPU so you would have to modify it or look for a fork that does.
I just uploaded it. It gets 96.65 on NER Val and 92.92 on NER Test. Pointer is in the README.
The prediction gets generated at the end of training, which takes a few hours on a GPU.
If you're having trouble with CUDA then that's a general TensorFlow environment issue I wont be able to help with.
Are you pointing to an old checkpoint directory that is loading a checkpoint from a previous run? It seems to be trying to load a 2-class checkpoint.
There is a tensor called `cls/seq_relationship/output_bias (DT_FLOAT) [2]` in the checkpoint but that shouldn't cause an issue. Did you modify the actual model construction code? It seems like its either...
"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...
You can't change the model in any way without creating a mismatch with pre-training. If you're OK with creating a mismatch with pre-training, you can change the model however you...