Merge branch 'master' into xlm-tokenization
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user