BrikerMan / Kashgari

Kashgari is a production-level NLP Transfer learning framework built on top of tf.keras for text-labeling and text-classification, includes Word2Vec, BERT, and GPT2 Language Embedding.
http://kashgari.readthedocs.io/
Apache License 2.0
2.4k stars 441 forks source link

[BUG] BiLSTM_Model.load_model('saved_ner_model')源代码加载模型报错 #493

Open AnitaSherry opened 2 years ago

AnitaSherry commented 2 years ago

ValueError: Unknown layer: PositionEmbedding. Please ensure this object is passed to the custom_objects argument.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.