update to transformers

This commit is contained in:
thomwolf committed 2019-10-15 09:17:31 +02:00
1 parent 5ff9cd158a
commit 66adb71734
1 file changed
+2 -2
+2 -2
View File
@@ -33,8 +33,8 @@ from torch.utils.data.distributed import DistributedSampler
from tqdm import tqdm, trange
from utils_ner import convert_examples_to_features, get_labels, read_examples_from_file
from pytorch_transformers import AdamW, WarmupLinearSchedule
from pytorch_transformers import WEIGHTS_NAME, BertConfig, BertForTokenClassification, BertTokenizer
from transformers import AdamW, WarmupLinearSchedule
from transformers import WEIGHTS_NAME, BertConfig, BertForTokenClassification, BertTokenizer
logger = logging.getLogger(__name__)