Bert: where can i fine the "model.ckpt" file?

Created on 19 Jan 2019  路  1Comment  路  Source: google-research/bert

python run_classifier.py \
--task_name=MRPC \
--do_train=true \
--do_eval=true \
--data_dir=$GLUE_DIR/MRPC \
--vocab_file=$BERT_BASE_DIR/vocab.txt \
--bert_config_file=$BERT_BASE_DIR/bert_config.json \
--init_checkpoint=$BERT_BASE_DIR/bert_model.ckpt \
--max_seq_length=128 \
--train_batch_size=32 \
--learning_rate=2e-5 \
--num_train_epochs=3.0 \
--output_dir=/tmp/mrpc_output/

trying run this cmd but "bert_model.ckpt" file does not exist at all, actually i got "bert_model.ckpt.data-00000-of-00001", "bert_model.ckpt.index", and "bert_model.ckpt.meta" instead, am i missed "bert_model.ckpt" or there is another way to run cmd without "bert_model.ckpt"?

Most helpful comment

You don't need "bert_model.ckpt". As long as you have the other 3 files i.e. data, index, and meta, TensorFlow will know how to deal with "bert_model.ckpt".

If you are still getting errors, then check that BERT_BASE_DIR really does contain the 3 files.

>All comments

You don't need "bert_model.ckpt". As long as you have the other 3 files i.e. data, index, and meta, TensorFlow will know how to deal with "bert_model.ckpt".

If you are still getting errors, then check that BERT_BASE_DIR really does contain the 3 files.

Was this page helpful?
0 / 5 - 0 ratings