Skip to content

doc: fix TokenizersBackend.convert_to_native_format docstring#45262

Merged
stevhliu merged 1 commit intohuggingface:mainfrom
lowzhao:fix_convert_to_native_format_docstring
Apr 6, 2026
Merged

doc: fix TokenizersBackend.convert_to_native_format docstring#45262
stevhliu merged 1 commit intohuggingface:mainfrom
lowzhao:fix_convert_to_native_format_docstring

Conversation

@lowzhao
Copy link
Copy Markdown
Contributor

@lowzhao lowzhao commented Apr 6, 2026

What does this PR do?

Fix docstring spelling mistake TokenizersBackend.convert_to_native_format.

    @classmethod
    def convert_to_native_format(cls, trust_remote_code=False, **kwargs):
        """s          <---- additional s

Likely caused by mistyped ctrl/cmd + s command.

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you read the contributor guideline,
    Pull Request section?

Who can review?

Documentation: @stevhliu

Copy link
Copy Markdown
Member

@stevhliu stevhliu left a comment

Choose a reason for hiding this comment

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

thanks!

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@stevhliu stevhliu added this pull request to the merge queue Apr 6, 2026
Merged via the queue into huggingface:main with commit 5182cf3 Apr 6, 2026
16 of 17 checks passed
louzongzhi pushed a commit to louzongzhi/transformers that referenced this pull request Apr 7, 2026
sirzechs66 pushed a commit to sirzechs66/transformers that referenced this pull request Apr 18, 2026
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