From 8f591ebab6e2bd8631f8f333236ea0d0ff241f82 Mon Sep 17 00:00:00 2001 From: BrikerMan Date: Sun, 4 Jul 2021 18:40:23 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=93=9D=20Update=20document?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index da651d37..bdc37afb 100644 --- a/README.md +++ b/README.md @@ -71,21 +71,29 @@ Kashgari is a simple and powerful NLP Transfer learning framework, build a state Welcome to add performance report. -| Task | Language | Dataset | Score | -| -------------------------- | -------- | --------------------------- | ------- | -| [Named Entity Recognition] | Chinese | [People's Daily Ner Corpus] | 95.57 | -| [Text Classification] | Chinese | [SMP2018ECDTCorpus] | 94.57 | +| Task | Language | Dataset | Score | +| -------------------------- | -------- | --------------------------- | ----- | +| [Named Entity Recognition] | Chinese | [People's Daily Ner Corpus] | 95.57 | +| [Text Classification] | Chinese | [SMP2018ECDTCorpus] | 94.57 | ## Installation The project is based on Python 3.6+, because it is 2019 and type hinting is cool. -| Backend | pypi version | desc | +| Backend | kashgari version | desc | | ---------------- | -------------------------------------- | --------------------- | -| TensorFlow 2.1+ | `pip install 'kashgari>=2.0.0'` | TF2.10+ with tf.keras | +| TensorFlow 2.2+ | `pip install 'kashgari>=2.0.2'` | TF2.10+ with tf.keras | | TensorFlow 1.14+ | `pip install 'kashgari>=1.0.0,<2.0.0'` | TF1.14+ with tf.keras | | Keras | `pip install 'kashgari<1.0.0'` | keras version | +You also need to install `tensorflow_addons` with TensorFlow. + +| TensorFlow Version | tensorflow_addons version | +| ------------------------ | --------------------------------------- | +| TensorFlow 2.1 | `pip install tensorflow_addons==0.9.1` | +| TensorFlow 2.2 | `pip install tensorflow_addons==0.11.2` | +| TensorFlow 2.3, 2.4, 2.5 | `pip install tensorflow_addons==0.13.0` | + ## Tutorials Here is a set of quick tutorials to get you started with the library: From 71712e90517b5c62818a279cd00ef8f47204c614 Mon Sep 17 00:00:00 2001 From: BrikerMan Date: Sun, 4 Jul 2021 18:42:56 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=93=9D=20Update=20release=20note?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/about/release-notes.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/about/release-notes.md b/docs/about/release-notes.md index 4d0f09a3..3c987433 100644 --- a/docs/about/release-notes.md +++ b/docs/about/release-notes.md @@ -17,8 +17,13 @@ pip show kashgari ## Current Release -### [2.0.2] - 2020.11.18 +### [2.0.2] - 2021.07.04 + - 🐛 Fixed Custom Model load issue. +- 🐛 Fixed model save issue on Windows. +- 🐛 Fixed multi-label model load issue. +- 🐛 Fixed CRF model load issue. +- 🐛 Fixed TensorFlow 2.3+ Support. ### [2.0.1] - 2020.10.28 - ✨ Add `convert_to_saved_model` API for tf-serving use case.