Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

model_maker: Bump to Tensorflow 2.13 #489

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
from tensorflow_examples.lite.model_maker.core.data_util import dataloader
from tensorflow_examples.lite.model_maker.core.task import model_spec as ms

from official.nlp.bert import input_pipeline
from official.legacy.bert import input_pipeline
from official.nlp.data import classifier_data_lib
from official.nlp.data import squad_lib

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

from tensorflow_examples.lite.model_maker.core import test_util
from tensorflow_examples.lite.model_maker.core.data_util import text_dataloader
from official.nlp.bert import tokenization
from official.nlp.tools import tokenization
from official.nlp.data import squad_lib


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
import tensorflow_hub as hub
from tensorflow_hub import registry
from official.nlp import optimization
from official.nlp.bert import configs as bert_configs
from official.nlp.bert import run_squad_helper
from official.nlp.bert import squad_evaluate_v1_1
from official.nlp.bert import squad_evaluate_v2_0
from official.nlp.bert import tokenization
from official.legacy.bert import configs as bert_configs
from official.legacy.bert import run_squad_helper
from official.nlp.tools import squad_evaluate_v1_1
from official.nlp.tools import squad_evaluate_v2_0
from official.nlp.tools import tokenization
from official.nlp.data import classifier_data_lib
from official.nlp.data import squad_lib
from official.nlp.modeling import models
Expand Down
10 changes: 5 additions & 5 deletions tensorflow_examples/lite/model_maker/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
tf-models-official==2.3.0
tf-models-official>=2.13.0,<2.14.0
# tensorflow-hub is to load Hub model. Specific version is required by TFJS.
tensorflow-hub>=0.7.0,<0.10; python_version < "3"
tensorflow-hub>=0.7.0,<0.13; python_version >= "3"
numpy>=1.17.3,<1.23.4
tensorflow-hub>=0.7.0; python_version >= "3"
numpy>=1.17.3,<1.24.0
pillow>=7.0.0
sentencepiece>=0.1.91
tensorflow-datasets>=2.1.0
Expand All @@ -12,7 +12,7 @@ absl-py>=0.10.0
urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
tflite-support>=0.4.2
tensorflowjs>=2.4.0,<3.19.0
tensorflow>=2.6.0
tensorflow>=2.13.0
# b/196287362: This Numba + Librosa combination works for numpy 1.19, introduced
# by TensorFlow 2.6.0.
numba>=0.53
Expand All @@ -26,4 +26,4 @@ tensorflow-addons>=0.11.2
neural-structured-learning>=1.3.1
tensorflow-model-optimization>=0.5
Cython>=0.29.13
scann==1.2.6
scann>=1.2.6