transposing the inputs of Transformer-XL to have a unified interface

This commit is contained in:
thomwolf
2019-02-11 13:19:59 +01:00
parent 32fea876bb
commit 884ca81d87
4 changed files with 57 additions and 44 deletions

View File

@@ -507,7 +507,7 @@ class TransfoXLCorpus(object):
resolved_corpus_file = cached_path(corpus_file, cache_dir=cache_dir)
except EnvironmentError:
logger.error(
"Model name '{}' was not found in model name list ({}). "
"Corpus '{}' was not found in corpus list ({}). "
"We assumed '{}' was a path or url but couldn't find files {} "
"at this path or url.".format(
pretrained_model_name_or_path,