Commit 89fd2bb1 authored by Hongkun Yu's avatar Hongkun Yu Committed by A. Unique TensorFlower
Browse files

Py3 cleanup for nlp/

PiperOrigin-RevId: 339071563
parent 4085c19a
......@@ -15,10 +15,6 @@
# ==============================================================================
"""Script to pre-process pre-training data into tfrecords."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import json
import os
import random
......
......@@ -14,9 +14,6 @@
# limitations under the License.
# ==============================================================================
"""Script to pre-process SQUAD data into tfrecords."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import os
import random
......
......@@ -14,9 +14,6 @@
# limitations under the License.
# ==============================================================================
"""Utilities for pre-processing."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import unicodedata
import six
......
......@@ -13,10 +13,6 @@
# limitations under the License.
# ==============================================================================
"""XLNet training utils."""
from __future__ import absolute_import
from __future__ import division
# from __future__ import google_type_annotations
from __future__ import print_function
import os
import re
......
......@@ -14,11 +14,6 @@
# ==============================================================================
"""Utility functions used in XLNet model."""
from __future__ import absolute_import
from __future__ import division
# from __future__ import google_type_annotations
from __future__ import print_function
import json
import os
......
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