Add space (#11373)
This commit is contained in:
@@ -2579,7 +2579,7 @@ class PreTrainedTokenizerBase(SpecialTokensMixin):
|
|||||||
# The model's main input name, usually `input_ids`, has be passed for padding
|
# The model's main input name, usually `input_ids`, has be passed for padding
|
||||||
if self.model_input_names[0] not in encoded_inputs:
|
if self.model_input_names[0] not in encoded_inputs:
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
"You should supply an encoding or a list of encodings to this method"
|
"You should supply an encoding or a list of encodings to this method "
|
||||||
f"that includes {self.model_input_names[0]}, but you provided {list(encoded_inputs.keys())}"
|
f"that includes {self.model_input_names[0]}, but you provided {list(encoded_inputs.keys())}"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user