You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/ddnstor/imu_tzt1/sulisha/GRTE-main/main.py", line 48, in iter
d['text'], max_length=self.max_len
TypeError: encode() got an unexpected keyword argument 'max_length'
The text was updated successfully, but these errors were encountered:
请问一下,token_ids,mask = self.tokenizer.encode(
d['text'], max_length=self.max_len)这段代码报错,怎么修改
File "/ddnstor/imu_tzt1/sulisha/GRTE-main/main.py", line 48, in iter
d['text'], max_length=self.max_len
TypeError: encode() got an unexpected keyword argument 'max_length'
The text was updated successfully, but these errors were encountered: