"git@developer.sourcefind.cn:wangsen/mineru.git" did not exist on "c0336b751da4af0352b83e9bd4f397ad3e2b0f6a"
Don't pass in token_type_ids to BART for GLUE (#8929)
Without this fix, training a `BARTForSequenceClassification` model with `run_pl_glue.py` gives `TypeError: forward() got an unexpected keyword argument 'token_type_ids'`, because BART does not have token_type_ids. I've solved this issue in the same way as it's solved for the "distilbert" model, and I can train BART models on SNLI without errors now.
Showing
Please register or sign in to comment