"vscode:/vscode.git/clone" did not exist on "13ed134354bc7c3da455b5876875d2b3d68e50db"
Commit c824d15a authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

Remove __future__ imports.

parent b6ea0f43
......@@ -15,7 +15,6 @@
# limitations under the License.
""" TF 2.0 OpenAI GPT model."""
from __future__ import absolute_import, division, print_function, unicode_literals
import logging
......
......@@ -15,7 +15,6 @@
# limitations under the License.
""" PyTorch - TF 2.0 general utilities."""
from __future__ import absolute_import, division, print_function, unicode_literals
import logging
import os
......
......@@ -15,7 +15,6 @@
# limitations under the License.
""" TF 2.0 RoBERTa model. """
from __future__ import absolute_import, division, print_function, unicode_literals
import logging
......
......@@ -15,7 +15,6 @@
# limitations under the License.
""" TF 2.0 T5 model. """
from __future__ import absolute_import, division, print_function, unicode_literals
import copy
import itertools
......
......@@ -16,7 +16,6 @@
""" TF 2.0 Transformer XL model.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
import logging
......
......@@ -15,7 +15,6 @@
# limitations under the License.
"""TF general model utils."""
from __future__ import absolute_import, division, print_function, unicode_literals
import logging
import os
......
......@@ -14,7 +14,7 @@
# limitations under the License.
""" TF 2.0 XLM model.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
import itertools
import logging
......
......@@ -15,7 +15,7 @@
# limitations under the License.
""" TF 2.0 XLNet model.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
import logging
import sys
......
......@@ -18,7 +18,6 @@
In particular https://github.com/kimiyoung/transformer-xl/blob/master/pytorch/mem_transformer.py
"""
from __future__ import absolute_import, division, print_function, unicode_literals
import logging
......
......@@ -15,7 +15,6 @@
# limitations under the License.
"""PyTorch BERT model."""
from __future__ import absolute_import, division, print_function, unicode_literals
import logging
import os
......
......@@ -14,7 +14,7 @@
# limitations under the License.
""" PyTorch XLM model.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
import itertools
import logging
......
......@@ -15,7 +15,6 @@
# limitations under the License.
"""PyTorch XLM-RoBERTa model. """
from __future__ import absolute_import, division, print_function, unicode_literals
import logging
......
......@@ -15,7 +15,7 @@
# limitations under the License.
""" PyTorch XLNet model.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
import logging
import math
......
......@@ -14,7 +14,6 @@
# ==============================================================================
"""Functions and classes related to optimization (weight updates)."""
from __future__ import absolute_import, division, print_function
import re
......
......@@ -12,7 +12,7 @@
# 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.
from __future__ import absolute_import, division, print_function, unicode_literals
import csv
import json
......
......@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
""" Tokenization classes for ALBERT model."""
from __future__ import absolute_import, division, print_function, unicode_literals
import logging
import os
......
......@@ -14,7 +14,6 @@
# limitations under the License.
""" Auto Model class. """
from __future__ import absolute_import, division, print_function, unicode_literals
import logging
......
......@@ -14,7 +14,6 @@
# limitations under the License.
"""Tokenization classes."""
from __future__ import absolute_import, division, print_function, unicode_literals
import collections
import logging
......
......@@ -14,7 +14,6 @@
# limitations under the License.
"""Tokenization classes."""
from __future__ import absolute_import, division, print_function, unicode_literals
import collections
import logging
......
......@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License
""" Tokenization classes for Camembert model."""
from __future__ import absolute_import, division, print_function, unicode_literals
import logging
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