update to transformers 2.3.0

This commit is contained in:
chongjiu.jin
2020-01-10 15:28:47 +08:00
parent 0f83d3f3cc
commit 618cdcaa9f
3 changed files with 69 additions and 4 deletions

View File

@@ -1,3 +1 @@
export BERT_BASE_DIR=./
transformers bert $BERT_BASE_DIR/bert_model.ckpt $BERT_BASE_DIR/bert_config.json $BERT_BASE_DIR/pytorch_model.bin
python convert_bert_original_tf_checkpoint_to_pytorch.py --tf_checkpoint_path bert_model.ckpt --bert_config_file bert_config.json --pytorch_dump_path bert_model.bin