Fix F401 flake8 warning (x152 / 268).

This change is mostly autogenerated with:

    $ python -m autoflake --in-place --recursive examples templates transformers utils hubconf.py setup.py

I made minor changes in the generated diff.
This commit is contained in:
Aymeric Augustin committed 2019-12-22 10:59:08 +01:00
1 parent 654e051e2a
commit 80327a13ea
58 files changed
+1 -157

No files matched your search

-4
View File
@@ -1,7 +1,3 @@
import tarfile
import urllib.request
from pathlib import Path
import torch
from transformers.modeling_camembert import CamembertForMaskedLM
+1 -1
View File
@@ -22,7 +22,7 @@
import argparse
import logging
import os
from datetime import datetime, timedelta
from datetime import datetime
import numpy as np
import torch
@@ -14,9 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
""" BertAbs configuration """
import json
import logging
import sys
from transformers import PretrainedConfig