Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

normalize keys_to_ignore #17722

Merged
merged 1 commit into from Jun 15, 2022
Merged

normalize keys_to_ignore #17722

merged 1 commit into from Jun 15, 2022

Conversation

stas00
Copy link
Contributor

@stas00 stas00 commented Jun 15, 2022

as discussed at #16719 (comment) this PR normalizes _keys_to_ignore_on* to not backslash on dot, unless it's an actual regex with regex patterns - this is just for consistency and easier troubleshooting. As sometimes it's unclear if \ is needed or not when different modeling files use different styles.

@sgugger

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Jun 15, 2022

The documentation is not available anymore as the PR was closed or merged.

Copy link
Collaborator

@sgugger sgugger left a comment

Choose a reason for hiding this comment

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

Thanks a lot!

@stas00 stas00 merged commit 66f8933 into main Jun 15, 2022
@stas00 stas00 deleted the keys-to-ignore-consistency branch June 15, 2022 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants