Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Conversation

@tomolopolis
Copy link
Member

ignore_extra_labels doesn't ignore the extra labels without the AutoModel from_pretrained being passed the extra named arg

Copy link
Collaborator

@mart-r mart-r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not in sync with master so reports as if it makes changes in #527 as well.
But rergardless, looks alright to me.

Tested locally and works on an transformers>=4.45.0. The exception looked kind of unrelated at lower versions though.
Regardless, that's probably fine since #522 restricts transformers>=4.48.0.

@tomolopolis tomolopolis merged commit 65faa7a into master Apr 4, 2025
8 checks passed
alhendrickson pushed a commit to CogStack/cogstack-nlp that referenced this pull request Jul 1, 2025
ignore_extra_labels on DeID Model Train / Eval
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants