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

Wrong model is used in example, should be character instead of subword model #12676

Merged
merged 6 commits into from
Jul 13, 2021

Conversation

jsteggink
Copy link
Contributor

What does this PR do?

A canine.rst fix.
In the original Google repo for CANINE there was mixup in the model names in the README.md, which was fixed 2 weeks ago. Since this transformer model was created before, it probably resulted in wrong use in this example in canine.rst.

s = subword, c = character

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).

Who can review?

@sgugger

In the original Google repo for CANINE there was mixup in the model names in the README.md, which was fixed 2 weeks ago. Since this transformer model was created before, it probably resulted in wrong use in this example.

s = subword, c = character
@sgugger sgugger requested a review from NielsRogge July 13, 2021 11:31
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 the PR! Let's wait for @NielsRogge to double-check the checkpoint name.

In the meantime, could you run make style on your branch to fix the formatting issue?

jsteggink and others added 2 commits July 13, 2021 13:52
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
@jsteggink
Copy link
Contributor Author

It's not easy to make a file the styler is happy with, haha.

Copy link
Contributor

@NielsRogge NielsRogge 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 fixing, my mistake.

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.

Looking great!

@sgugger sgugger merged commit 9519f0c into huggingface:master Jul 13, 2021
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.

3 participants