Skip to content

Commit

Permalink
Internal change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 332891157
  • Loading branch information
saberkun authored and tensorflower-gardener committed Sep 21, 2020
1 parent 52b16a1 commit 976ba23
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 18 deletions.
4 changes: 0 additions & 4 deletions official/nlp/modeling/models/bert_classifier_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
# ==============================================================================
"""Tests for BERT trainer network."""

from __future__ import absolute_import
from __future__ import division
from __future__ import print_function

from absl.testing import parameterized
import tensorflow as tf

Expand Down
5 changes: 0 additions & 5 deletions official/nlp/modeling/models/dual_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,7 @@
# ==============================================================================
"""Trainer network for dual encoder style models."""
# pylint: disable=g-classes-have-attributes
from __future__ import absolute_import
from __future__ import division
# from __future__ import google_type_annotations
from __future__ import print_function

# Import libraries
import tensorflow as tf

from official.nlp.modeling import layers
Expand Down
1 change: 0 additions & 1 deletion official/nlp/modeling/models/dual_encoder_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# ==============================================================================
"""Tests for dual encoder network."""

# Import libraries
from absl.testing import parameterized
import tensorflow as tf

Expand Down
4 changes: 0 additions & 4 deletions official/nlp/modeling/models/electra_pretrainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
# ==============================================================================
"""Trainer network for ELECTRA models."""
# pylint: disable=g-classes-have-attributes
from __future__ import absolute_import
from __future__ import division
# from __future__ import google_type_annotations
from __future__ import print_function

import copy

Expand Down
4 changes: 0 additions & 4 deletions official/nlp/modeling/models/electra_pretrainer_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
# ==============================================================================
"""Tests for ELECTRA pre trainer network."""

from __future__ import absolute_import
from __future__ import division
from __future__ import print_function

import tensorflow as tf

from tensorflow.python.keras import keras_parameterized # pylint: disable=g-direct-tensorflow-import
Expand Down

0 comments on commit 976ba23

Please sign in to comment.