Commit c824d15a authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

Remove __future__ imports.

parent b6ea0f43
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
"""Tokenization classes for Salesforce CTRL.""" """Tokenization classes for Salesforce CTRL."""
from __future__ import absolute_import, division, print_function, unicode_literals
import json import json
import logging import logging
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
# limitations under the License. # limitations under the License.
"""Tokenization classes for DistilBERT.""" """Tokenization classes for DistilBERT."""
from __future__ import absolute_import, division, print_function, unicode_literals
import logging import logging
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
"""Tokenization classes for OpenAI GPT.""" """Tokenization classes for OpenAI GPT."""
from __future__ import absolute_import, division, print_function, unicode_literals
import json import json
import logging import logging
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
"""Tokenization classes for OpenAI GPT.""" """Tokenization classes for OpenAI GPT."""
from __future__ import absolute_import, division, print_function, unicode_literals
import json import json
import logging import logging
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
"""Tokenization classes for RoBERTa.""" """Tokenization classes for RoBERTa."""
from __future__ import absolute_import, division, print_function, unicode_literals
import logging import logging
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
# limitations under the License. # limitations under the License.
""" Tokenization class for model T5.""" """ Tokenization class for model T5."""
from __future__ import absolute_import, division, print_function, unicode_literals
import logging import logging
import os import os
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
""" Tokenization classes for Transformer XL model. """ Tokenization classes for Transformer XL model.
Adapted from https://github.com/kimiyoung/transformer-xl. Adapted from https://github.com/kimiyoung/transformer-xl.
""" """
from __future__ import absolute_import, division, print_function, unicode_literals
import glob import glob
import logging import logging
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
"""Tokenization classes for OpenAI GPT.""" """Tokenization classes for OpenAI GPT."""
from __future__ import absolute_import, division, print_function, unicode_literals
import copy import copy
import itertools import itertools
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
"""Tokenization classes for XLM.""" """Tokenization classes for XLM."""
from __future__ import absolute_import, division, print_function, unicode_literals
import json import json
import logging import logging
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License # limitations under the License
""" Tokenization classes for XLM-RoBERTa model.""" """ Tokenization classes for XLM-RoBERTa model."""
from __future__ import absolute_import, division, print_function, unicode_literals
import logging import logging
import os import os
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
""" Tokenization classes for XLNet model.""" """ Tokenization classes for XLNet model."""
from __future__ import absolute_import, division, print_function, unicode_literals
import logging import logging
import os import os
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
# limitations under the License. # limitations under the License.
""" Finetuning the library models for task XXX.""" """ Finetuning the library models for task XXX."""
from __future__ import absolute_import, division, print_function
import argparse import argparse
import glob import glob
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
# limitations under the License. # limitations under the License.
""" Load XXX dataset. """ """ Load XXX dataset. """
from __future__ import absolute_import, division, print_function
import collections import collections
import json import json
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
# limitations under the License. # limitations under the License.
""" XXX model configuration """ """ XXX model configuration """
from __future__ import absolute_import, division, print_function, unicode_literals
import logging import logging
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
# limitations under the License. # limitations under the License.
"""Convert XXX checkpoint.""" """Convert XXX checkpoint."""
from __future__ import absolute_import, division, print_function
import argparse import argparse
import logging import logging
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
# In this template, replace all the XXX (various casings) with your model name # In this template, replace all the XXX (various casings) with your model name
#################################################### ####################################################
from __future__ import absolute_import, division, print_function, unicode_literals
import logging import logging
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
# In this template, replace all the XXX (various casings) with your model name # In this template, replace all the XXX (various casings) with your model name
#################################################### ####################################################
from __future__ import absolute_import, division, print_function, unicode_literals
import logging import logging
import os import os
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
from __future__ import absolute_import, division, print_function
import unittest import unittest
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
from __future__ import absolute_import, division, print_function
import unittest import unittest
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
from __future__ import absolute_import, division, print_function, unicode_literals
import os import os
import unittest import unittest
......
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