zxdu20 commited on
Commit
db22499
1 Parent(s): 5c64357

Change padding side

Browse files
Files changed (1) hide show
  1. tokenization_chatglm.py +1 -1
tokenization_chatglm.py CHANGED
@@ -192,7 +192,7 @@ class ChatGLMTokenizer(PreTrainedTokenizer):
192
  eop_token='eop',
193
  mask_token='[MASK]',
194
  gmask_token='[gMASK]',
195
- padding_side="left",
196
  **kwargs
197
  ) -> None:
198
  super().__init__(
 
192
  eop_token='eop',
193
  mask_token='[MASK]',
194
  gmask_token='[gMASK]',
195
+ padding_side="right",
196
  **kwargs
197
  ) -> None:
198
  super().__init__(