Commit 4a4b0e57 authored by thomwolf's avatar thomwolf
Browse files

remove logging. basicConfig from library code

parent ae88eb88
...@@ -34,9 +34,6 @@ from torch.nn import CrossEntropyLoss ...@@ -34,9 +34,6 @@ from torch.nn import CrossEntropyLoss
from .file_utils import cached_path from .file_utils import cached_path
logging.basicConfig(format = '%(asctime)s - %(levelname)s - %(name)s - %(message)s',
datefmt = '%m/%d/%Y %H:%M:%S',
level = logging.INFO)
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
PRETRAINED_MODEL_ARCHIVE_MAP = { PRETRAINED_MODEL_ARCHIVE_MAP = {
......
...@@ -25,9 +25,6 @@ import logging ...@@ -25,9 +25,6 @@ import logging
from .file_utils import cached_path from .file_utils import cached_path
logging.basicConfig(format = '%(asctime)s - %(levelname)s - %(name)s - %(message)s',
datefmt = '%m/%d/%Y %H:%M:%S',
level = logging.INFO)
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
PRETRAINED_VOCAB_ARCHIVE_MAP = { PRETRAINED_VOCAB_ARCHIVE_MAP = {
......
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