fix small typo

This commit is contained in:
VictorSanh
2019-08-28 02:44:51 +00:00
parent 906581ae3c
commit 7f5d85347e
4 changed files with 4 additions and 4 deletions

View File

@@ -178,7 +178,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):