brightmart / bert_language_understanding

Pre-training of Deep Bidirectional Transformers for Language Understanding: pre-train TextCNN
959 stars 211 forks source link

run_classifier_predict_online.py #16

Open bihui9968 opened 6 years ago

bihui9968 commented 6 years ago

modeling.BertConfig modeling.BertModel

error

brightmart commented 6 years ago

what's error?

bihui9968 commented 6 years ago

there is no modeling.py and in train_bert_fine_tuning.py , line 175、179、180 cannot run, because compute_confuse_matrix_batch、 compute_micro_macro 、compute_micro_macro not be defined.

yzho0907 commented 6 years ago

@bihui9968 modeling.py and tokennizaton.py these two files u could cope them from bert core, which is: https://github.com/google-research/bert.

hongsong2021 commented 5 years ago

In saver.restore(), error happened: NotFoundError (see above for traceback): Restoring from checkpoint failed. This is most likely due to a Variable name or other graph key that is missing from the checkpoint. Please ensure that you have not altered the graph expected based on the checkpoint.

what should I do?