Commit 77d9fd62 authored by Frederick Liu's avatar Frederick Liu Committed by A. Unique TensorFlower
Browse files

[teams] Move teams from nlp/projects to official/projects

PiperOrigin-RevId: 418685487
parent d7eabefa
......@@ -20,7 +20,7 @@ import tensorflow as tf
from official.modeling import hyperparams
from official.nlp.configs import encoders
from official.nlp.modeling import networks
from official.nlp.projects.teams import teams
from official.projects.teams import teams
class EncodersTest(tf.test.TestCase):
......
......@@ -17,4 +17,4 @@
from official.nlp.configs import finetuning_experiments
from official.nlp.configs import pretraining_experiments
from official.nlp.configs import wmt_transformer_experiments
from official.nlp.projects.teams import teams_experiments
from official.projects.teams import teams_experiments
# Copyright 2021 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.
......@@ -24,10 +24,10 @@ from official.nlp.configs import encoders
from official.nlp.data import pretrain_dataloader
from official.nlp.data import question_answering_dataloader
from official.nlp.data import sentence_prediction_dataloader
from official.nlp.projects.teams import teams
from official.nlp.projects.teams import teams_task
from official.nlp.tasks import question_answering
from official.nlp.tasks import sentence_prediction
from official.projects.teams import teams
from official.projects.teams import teams_task
AdamWeightDecay = optimization.AdamWeightDecayConfig
PolynomialLr = optimization.PolynomialLrConfig
......
......@@ -20,7 +20,7 @@ from tensorflow.python.keras import keras_parameterized # pylint: disable=g-dir
from official.modeling import activations
from official.nlp.modeling.networks import encoder_scaffold
from official.nlp.modeling.networks import packed_sequence_embedding
from official.nlp.projects.teams import teams_pretrainer
from official.projects.teams import teams_pretrainer
# This decorator runs the test in V1, V2-Eager, and V2-Functional mode. It
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment