diff --git a/README.md b/README.md index c91ace1..af16cdd 100644 --- a/README.md +++ b/README.md @@ -23,10 +23,10 @@ Or you can install the following pre-packaged models with pip: | model name | source | pip package | |------------|--------|---| -| en_use_md | https://tfhub.dev/google/universal-sentence-encoder | `pip install https://github.com/MartinoMensio/spacy-universal-sentence-encoder/releases/download/v0.3.0/en_use_md-0.3.0.tar.gz#en_use_md-0.3.0` | -| en_use_lg | https://tfhub.dev/google/universal-sentence-encoder-large | `pip install https://github.com/MartinoMensio/spacy-universal-sentence-encoder/releases/download/v0.3.0/en_use_lg-0.3.0.tar.gz#en_use_lg-0.3.0` | -| xx_use_md | https://tfhub.dev/google/universal-sentence-encoder-multilingual | `pip install https://github.com/MartinoMensio/spacy-universal-sentence-encoder/releases/download/v0.3.0/xx_use_md-0.3.0.tar.gz#xx_use_md-0.3.0` | -| xx_use_lg | https://tfhub.dev/google/universal-sentence-encoder-multilingual-large | `pip install https://github.com/MartinoMensio/spacy-universal-sentence-encoder/releases/download/v0.3.0/xx_use_lg-0.3.0.tar.gz#xx_use_lg-0.3.0` | +| en_use_md | https://tfhub.dev/google/universal-sentence-encoder | `pip install https://github.com/MartinoMensio/spacy-universal-sentence-encoder/releases/download/v0.3.1/en_use_md-0.3.1.tar.gz#en_use_md-0.3.1` | +| en_use_lg | https://tfhub.dev/google/universal-sentence-encoder-large | `pip install https://github.com/MartinoMensio/spacy-universal-sentence-encoder/releases/download/v0.3.1/en_use_lg-0.3.1.tar.gz#en_use_lg-0.3.1` | +| xx_use_md | https://tfhub.dev/google/universal-sentence-encoder-multilingual | `pip install https://github.com/MartinoMensio/spacy-universal-sentence-encoder/releases/download/v0.3.1/xx_use_md-0.3.1.tar.gz#xx_use_md-0.3.1` | +| xx_use_lg | https://tfhub.dev/google/universal-sentence-encoder-multilingual-large | `pip install https://github.com/MartinoMensio/spacy-universal-sentence-encoder/releases/download/v0.3.1/xx_use_lg-0.3.1.tar.gz#xx_use_lg-0.3.1` | ## Usage @@ -87,7 +87,7 @@ spacy_universal_sentence_encoder.create_from(nlp, 'en_use_lg') To build and upload ```bash -VERSION=0.3.0 +VERSION=0.3.1 # build the standalone models (17) ./build_models.sh # build the archive at dist/spacy_universal_sentence_encoder-${VERSION}.tar.gz diff --git a/build_models.sh b/build_models.sh index 3eeeb5e..35376e1 100755 --- a/build_models.sh +++ b/build_models.sh @@ -1,6 +1,6 @@ set -e -VERSION=0.3.0 +VERSION=0.3.1 # for every model for MODEL_NAME in en_use_md en_use_lg xx_use_md xx_use_lg diff --git a/setup.cfg b/setup.cfg index 5ec6e19..d71df82 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [metadata] -version = 0.3.0 +version = 0.3.1 description = SpaCy models for using Universal Sentence Encoder from TensorFlow Hub description-file = README.md url = https://github.com/MartinoMensio/spacy-universal-sentence-encoder @@ -11,7 +11,7 @@ include_package_data = true install_requires = tensorflow==2.2.0 tensorflow-text>=2.2.0,<2.3.0 # for xx_use_lg - spacy>=2.3.0,<2.4.0 + spacy>=2.1.0,<2.4.0 tensorflow-hub [options.entry_points] diff --git a/spacy_universal_sentence_encoder/meta/en_use_lg.json b/spacy_universal_sentence_encoder/meta/en_use_lg.json index f21c645..510c640 100644 --- a/spacy_universal_sentence_encoder/meta/en_use_lg.json +++ b/spacy_universal_sentence_encoder/meta/en_use_lg.json @@ -1,15 +1,15 @@ { "lang": "en", "name": "use_lg", - "version": "0.3.0", - "spacy_version": ">=2.3,<2.4", + "version": "0.3.1", + "spacy_version": ">=2.1,<2.4", "description": "TensorFlow Hub wrapper for Universal Sentence Encoder", "author": "Martino Mensio", "email": "martino.mensio@open.ac.uk", "url": "https://github.com/MartinoMensio/spacy-universal-sentence-encoder", "license": "MIT", "requirements": [ - "spacy_universal_sentence_encoder==0.3.0" + "spacy_universal_sentence_encoder==0.3.1" ], "sources": [{ "name": "Universal Sentence Encoder - Large", diff --git a/spacy_universal_sentence_encoder/meta/en_use_md.json b/spacy_universal_sentence_encoder/meta/en_use_md.json index 00594b2..2dfd9e1 100644 --- a/spacy_universal_sentence_encoder/meta/en_use_md.json +++ b/spacy_universal_sentence_encoder/meta/en_use_md.json @@ -1,15 +1,15 @@ { "lang": "en", "name": "use_md", - "version": "0.3.0", - "spacy_version": ">=2.3,<2.4", + "version": "0.3.1", + "spacy_version": ">=2.1,<2.4", "description": "TensorFlow Hub wrapper for Universal Sentence Encoder", "author": "Martino Mensio", "email": "martino.mensio@open.ac.uk", "url": "https://github.com/MartinoMensio/spacy-universal-sentence-encoder", "license": "MIT", "requirements": [ - "spacy_universal_sentence_encoder==0.3.0" + "spacy_universal_sentence_encoder==0.3.1" ], "sources": [{ "name": "Universal Sentence Encoder", diff --git a/spacy_universal_sentence_encoder/meta/xx_use_lg.json b/spacy_universal_sentence_encoder/meta/xx_use_lg.json index 3bdc322..cffc745 100644 --- a/spacy_universal_sentence_encoder/meta/xx_use_lg.json +++ b/spacy_universal_sentence_encoder/meta/xx_use_lg.json @@ -1,15 +1,15 @@ { "lang": "xx", "name": "use_lg", - "version": "0.3.0", - "spacy_version": ">=2.3,<2.4", + "version": "0.3.1", + "spacy_version": ">=2.1,<2.4", "description": "TensorFlow Hub wrapper for Universal Sentence Encoder", "author": "Martino Mensio", "email": "martino.mensio@open.ac.uk", "url": "https://github.com/MartinoMensio/spacy-universal-sentence-encoder", "license": "MIT", "requirements": [ - "spacy_universal_sentence_encoder==0.3.0" + "spacy_universal_sentence_encoder==0.3.1" ], "sources": [{ "name": "Universal Sentence Encoder Multilingual - Large", diff --git a/spacy_universal_sentence_encoder/meta/xx_use_md.json b/spacy_universal_sentence_encoder/meta/xx_use_md.json index c285cf7..dfcca9f 100644 --- a/spacy_universal_sentence_encoder/meta/xx_use_md.json +++ b/spacy_universal_sentence_encoder/meta/xx_use_md.json @@ -1,15 +1,15 @@ { "lang": "xx", "name": "use_md", - "version": "0.3.0", - "spacy_version": ">=2.3,<2.4", + "version": "0.3.1", + "spacy_version": ">=2.1,<2.4", "description": "TensorFlow Hub wrapper for Universal Sentence Encoder", "author": "Martino Mensio", "email": "martino.mensio@open.ac.uk", "url": "https://github.com/MartinoMensio/spacy-universal-sentence-encoder", "license": "MIT", "requirements": [ - "spacy_universal_sentence_encoder==0.3.0" + "spacy_universal_sentence_encoder==0.3.1" ], "sources": [{ "name": "Universal Sentence Encoder Multilingual",