Skip to content

Conversation

@stas00
Copy link
Contributor

@stas00 stas00 commented Jan 4, 2022

I noticed we use 🤗 Transformer instead of 🤗 Transformers in a couple of places, this PR fixes it.

That was a tricky one with UTF32 emoji. This worked.

LC_ALL=C find . -type d -name ".git" -prune -o -type f -exec perl -pi -e 's|(\xF0\x9F\xA4\x97 Transformer) |$1s |' {} \;

To grep I had to do:

LC_ALL=C grep -Ir -P '\xF0\x9F\xA4\x97 Transformer ' .

@sgugger

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 for hunting those!

@stas00 stas00 merged commit 31838d3 into huggingface:master Jan 10, 2022
@stas00 stas00 deleted the normalize-name branch January 10, 2022 16:44
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.

2 participants