zRzRzRzRzRzRzR
commited on
Commit
•
9680e21
1
Parent(s):
5ec85e8
Update tokenization_chatglm.py
Browse files- tokenization_chatglm.py +1 -0
tokenization_chatglm.py
CHANGED
@@ -240,6 +240,7 @@ class ChatGLMTokenizer(PreTrainedTokenizer):
|
|
240 |
self,
|
241 |
encoded_inputs: Union[Dict[str, EncodedInput], BatchEncoding],
|
242 |
max_length: Optional[int] = None,
|
|
|
243 |
padding_strategy: PaddingStrategy = PaddingStrategy.DO_NOT_PAD,
|
244 |
pad_to_multiple_of: Optional[int] = None,
|
245 |
return_attention_mask: Optional[bool] = None,
|
|
|
240 |
self,
|
241 |
encoded_inputs: Union[Dict[str, EncodedInput], BatchEncoding],
|
242 |
max_length: Optional[int] = None,
|
243 |
+
padding_side: str = "left",
|
244 |
padding_strategy: PaddingStrategy = PaddingStrategy.DO_NOT_PAD,
|
245 |
pad_to_multiple_of: Optional[int] = None,
|
246 |
return_attention_mask: Optional[bool] = None,
|