Unverified Commit 881945c0 authored by Takuya Makino's avatar Takuya Makino Committed by GitHub
Browse files

Add space (#11373)

parent 5b5e4ca3
...@@ -2579,7 +2579,7 @@ class PreTrainedTokenizerBase(SpecialTokensMixin): ...@@ -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())}"
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment