mirror of https://github.com/THUDM/ChatGLM-6B
No padding in colloator
parent
c508f62b70
commit
4227999d4c
|
@ -262,6 +262,7 @@ def main():
|
|||
model=model,
|
||||
label_pad_token_id=label_pad_token_id,
|
||||
pad_to_multiple_of=None,
|
||||
padding=False
|
||||
)
|
||||
|
||||
# Metric
|
||||
|
|
Loading…
Reference in New Issue