Merge branch 'master' into xlm-tokenization

This commit is contained in:
Thomas Wolf
2019-08-30 17:15:16 +02:00
committed by GitHub
41 changed files with 3091 additions and 67 deletions

View File

@@ -184,7 +184,7 @@ class XLMConfig(PretrainedConfig):
self.end_n_top = end_n_top
else:
raise ValueError("First argument must be either a vocabulary size (int)"
"or the path to a pretrained model config file (str)")
" or the path to a pretrained model config file (str)")
@property
def vocab_size(self):