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.39k stars 441 forks source link

[Question] ModuleNotFoundError: No module named 'kashgari.embeddings.bert_embedding_v2' #404

Closed usmaann closed 4 years ago

usmaann commented 4 years ago

Getting below error Please advise...

Using >>kashgari-2.0.0a1 and TF > 2.2.0

Following this tutorial>>>>https://kashgari.readthedocs.io/en/v1.1.1/embeddings/bert-embedding_v2.html

image

BrikerMan commented 4 years ago

There is some API diff between 1.x and 2.x. Please read the version-specific docs from https://kashgari.readthedocs.io/en/latest/.

You can change the version by clinking the latest button.

LWScreenShot 2020-07-30 at 上午9 35 04
stale[bot] commented 4 years 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.