docs: replace self-referential Transformers guide link - #5688
Open
yaodong-shen wants to merge 1 commit into
Open
docs: replace self-referential Transformers guide link#5688yaodong-shen wants to merge 1 commit into
yaodong-shen wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR address?
Fixes #4541.
The Transformers API reference currently sends readers to itself as its only guide. This replaces that self-reference with the existing in-repository Hello World tutorial for a pipeline example and the model-loading guide for Hugging Face Service usage.
Validation
pdm lock --checkpre-commit run trailing-whitespace --files docs/source/reference/bentoml/frameworks/transformers.rstpre-commit run end-of-file-fixer --files docs/source/reference/bentoml/frameworks/transformers.rstPYENCHANT_LIBRARY_PATH=/opt/homebrew/lib/libenchant-2.dylib pdm run sphinx-build -b html docs/source /private/tmp/bentoml-docs-html(completed successfully; the repository has pre-existing warnings outside this file)Before submitting:
pre-commit run -awas not run because this documentation-only change has no affected Python or proto files; the applicable file hooks above passed.