WIP XLM + refactoring
This commit is contained in:
1 parent
288be7b7ea
commit
c41f2bad69
27 files changed
+515
-136
No files matched your search
@@ -34,9 +34,9 @@ from tqdm import tqdm, trange
|
||||
from tensorboardX import SummaryWriter
|
||||
|
||||
from pytorch_pretrained_bert import WEIGHTS_NAME, CONFIG_NAME
|
||||
from pytorch_pretrained_bert.modeling import BertForQuestionAnswering
|
||||
from pytorch_pretrained_bert.modeling_bert import BertForQuestionAnswering
|
||||
from pytorch_pretrained_bert.optimization import BertAdam, WarmupLinearSchedule
|
||||
from pytorch_pretrained_bert.tokenization import BertTokenizer
|
||||
from pytorch_pretrained_bert.tokenization_bert import BertTokenizer
|
||||
|
||||
from utils_squad import read_squad_examples, convert_examples_to_features, RawResult, write_predictions
|
||||
|
||||
|
||||
Reference in new issue
Block a user