"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "efa57cb234eeebe831f241fe2bb97da567e3ab05"
Fix seq2seq collator padding (#30556)
* fix seq2seq data collator to respect the given padding strategy further added tests for the seq2seq data collator in the style of the `data_collator_for_token_classification` (pt, tf, np) * formatting and change bool equals "==" to "is" * add missed return types in tests * update numpy test as it can handle unequal shapes, not like pt or tf
Showing
Please register or sign in to comment