fix set_transform link docs#26856
Merged
ArthurZucker merged 3 commits intohuggingface:mainfrom Oct 20, 2023
Merged
Conversation
Collaborator
ArthurZucker
left a comment
There was a problem hiding this comment.
Thanks but let's link to the up to date function!
stevhliu
approved these changes
Oct 17, 2023
docs/source/en/preprocessing.md
Outdated
| </Tip> | ||
|
|
||
| 3. Then use 🤗 Datasets [`set_transform`](https://huggingface.co/docs/datasets/process.html#format-transform) to apply the transforms on the fly: | ||
| 3. Then use 🤗 Datasets [`set_transform`](https://huggingface.co/docs/datasets/v2.14.5/en/package_reference/main_classes#datasets.Dataset.set_transform) to apply the transforms on the fly: |
Member
There was a problem hiding this comment.
Lets make it even simpler by using the doc-builders syntax for referencing functions from other libraries :)
Suggested change
| 3. Then use 🤗 Datasets [`set_transform`](https://huggingface.co/docs/datasets/v2.14.5/en/package_reference/main_classes#datasets.Dataset.set_transform) to apply the transforms on the fly: | |
| 3. Then use 🤗 Datasets [`~datasets.Dataset.set_transform`] to apply the transforms on the fly: |
Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
ArthurZucker
approved these changes
Oct 20, 2023
Collaborator
ArthurZucker
left a comment
There was a problem hiding this comment.
Nice thanks for the update
EduardoPach
pushed a commit
to EduardoPach/transformers
that referenced
this pull request
Nov 19, 2023
* fix set_transform link * Update docs/source/en/preprocessing.md Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> * use doc-builder sintax --------- Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
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 do?
This PR simply fix a link to set_transform documentation.
Fixes # (issue)
Broken link to set_transform docs
Before submitting
Pull Request section?
to it if that's the case.
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
@stevhliu @MKhalusova