Skip to content

Commit

Permalink
Internal change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 395697194
  • Loading branch information
remenberl authored and tensorflower-gardener committed Sep 9, 2021
1 parent 0d9ef8d commit f8b7b77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion official/nlp/projects/teams/teams_pretrainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

"""Trainer network for ELECTRA models."""
"""Trainer network for TEAMS models."""
# pylint: disable=g-classes-have-attributes

import tensorflow as tf
Expand Down
2 changes: 1 addition & 1 deletion official/nlp/projects/teams/teams_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def _get_generator_hidden_layers(discriminator_network, num_hidden_layers,

def _build_pretrainer(
config: teams.TeamsPretrainerConfig) -> teams_pretrainer.TeamsPretrainer:
"""Instantiates ElectraPretrainer from the config."""
"""Instantiates TeamsPretrainer from the config."""
generator_encoder_cfg = config.generator
discriminator_encoder_cfg = config.discriminator
discriminator_network = teams.get_encoder(discriminator_encoder_cfg)
Expand Down

0 comments on commit f8b7b77

Please sign in to comment.