Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
4a4b0e57
Commit
4a4b0e57
authored
Dec 14, 2018
by
thomwolf
Browse files
remove logging. basicConfig from library code
parent
ae88eb88
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
pytorch_pretrained_bert/modeling.py
pytorch_pretrained_bert/modeling.py
+0
-3
pytorch_pretrained_bert/tokenization.py
pytorch_pretrained_bert/tokenization.py
+0
-3
No files found.
pytorch_pretrained_bert/modeling.py
View file @
4a4b0e57
...
@@ -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
=
{
...
...
pytorch_pretrained_bert/tokenization.py
View file @
4a4b0e57
...
@@ -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
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment