diff --git a/official/nlp/serving/__init__.py b/official/nlp/serving/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..ba97902e7ec1e12871c0fad301b9ce48c92cf1d1 --- /dev/null +++ b/official/nlp/serving/__init__.py @@ -0,0 +1,15 @@ +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + diff --git a/tensorflow_models/nlp/__init__.py b/tensorflow_models/nlp/__init__.py index 916ca1e7b450ddcb3accc84e19e4b77239bc19d6..b26f691806a54a1441d8e7718eddb6223803d23a 100644 --- a/tensorflow_models/nlp/__init__.py +++ b/tensorflow_models/nlp/__init__.py @@ -13,5 +13,8 @@ # limitations under the License. """TensorFlow Models NLP Libraries.""" + from official.nlp import tasks +from official.nlp.configs import encoders from official.nlp.modeling import * +from official.nlp.serving import serving_modules