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

Remove __future__ imports.

parent b6ea0f43
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
# limitations under the License. # limitations under the License.
""" MMBT configuration """ """ MMBT configuration """
from __future__ import absolute_import, division, print_function, unicode_literals
import logging import logging
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
# limitations under the License. # limitations under the License.
""" OpenAI GPT configuration """ """ OpenAI GPT configuration """
from __future__ import absolute_import, division, print_function, unicode_literals
import logging import logging
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
# limitations under the License. # limitations under the License.
""" RoBERTa configuration """ """ RoBERTa 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.
""" T5 model configuration """ """ T5 model configuration """
from __future__ import absolute_import, division, print_function, unicode_literals
import logging import logging
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
# limitations under the License. # limitations under the License.
""" Transformer XL configuration """ """ Transformer XL configuration """
from __future__ import absolute_import, division, print_function, unicode_literals
import logging import logging
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
# limitations under the License. # limitations under the License.
""" Configuration base class and utilities.""" """ Configuration base class and utilities."""
from __future__ import absolute_import, division, print_function, unicode_literals
import copy import copy
import json import json
......
...@@ -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.
""" XLM configuration """ """ XLM configuration """
from __future__ import absolute_import, division, print_function, unicode_literals
import logging import logging
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
# limitations under the License. # limitations under the License.
""" XLM-RoBERTa configuration """ """ XLM-RoBERTa configuration """
from __future__ import absolute_import, division, print_function, unicode_literals
import logging import logging
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,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.
""" XLNet configuration """ """ XLNet 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 ALBERT checkpoint.""" """Convert ALBERT checkpoint."""
from __future__ import absolute_import, division, print_function
import argparse import argparse
import logging import logging
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
# limitations under the License. # limitations under the License.
"""Convert BERT checkpoint.""" """Convert BERT checkpoint."""
from __future__ import absolute_import, division, print_function
import argparse import argparse
import logging import logging
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
# limitations under the License. # limitations under the License.
"""Convert OpenAI GPT checkpoint.""" """Convert OpenAI GPT checkpoint."""
from __future__ import absolute_import, division, print_function
import argparse import argparse
import logging import logging
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
# limitations under the License. # limitations under the License.
"""Convert OpenAI GPT checkpoint.""" """Convert OpenAI GPT checkpoint."""
from __future__ import absolute_import, division, print_function
import argparse import argparse
import logging import logging
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
# limitations under the License. # limitations under the License.
""" Convert pytorch checkpoints to TensorFlow """ """ Convert pytorch checkpoints to TensorFlow """
from __future__ import absolute_import, division, print_function
import argparse import argparse
import logging import logging
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
# limitations under the License. # limitations under the License.
"""Convert RoBERTa checkpoint.""" """Convert RoBERTa checkpoint."""
from __future__ import absolute_import, division, print_function
import argparse import argparse
import logging import logging
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
# limitations under the License. # limitations under the License.
"""Convert T5 checkpoint.""" """Convert T5 checkpoint."""
from __future__ import absolute_import, division, print_function
import argparse import argparse
import logging import logging
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
# limitations under the License. # limitations under the License.
"""Convert Transformer XL checkpoint and datasets.""" """Convert Transformer XL checkpoint and datasets."""
from __future__ import absolute_import, division, print_function
import argparse import argparse
import logging import logging
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
# limitations under the License. # limitations under the License.
"""Convert OpenAI GPT checkpoint.""" """Convert OpenAI GPT checkpoint."""
from __future__ import absolute_import, division, print_function
import argparse import argparse
import json import json
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
# limitations under the License. # limitations under the License.
"""Convert BERT checkpoint.""" """Convert BERT checkpoint."""
from __future__ import absolute_import, division, print_function
import argparse import argparse
import logging import logging
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
# limitations under the License. # limitations under the License.
""" XNLI utils (dataset loading and evaluation) """ """ XNLI utils (dataset loading and evaluation) """
from __future__ import absolute_import, division, print_function
import logging import logging
import os 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