"git@developer.sourcefind.cn:orangecat/ollama.git" did not exist on "51b2fd299cd568093ce796aef3e7e37ae656b02a"
Unverified Commit 9b197669 authored by Diego Machado's avatar Diego Machado Committed by GitHub
Browse files

fix set_transform link docs (#26856)



* fix set_transform link

* Update docs/source/en/preprocessing.md
Co-authored-by: default avatarArthur <48595927+ArthurZucker@users.noreply.github.com>

* use doc-builder sintax

---------
Co-authored-by: default avatarArthur <48595927+ArthurZucker@users.noreply.github.com>
parent 929134bf
...@@ -412,8 +412,7 @@ If you wish to normalize images as a part of the augmentation transformation, us ...@@ -412,8 +412,7 @@ If you wish to normalize images as a part of the augmentation transformation, us
and `image_processor.image_std` values. and `image_processor.image_std` values.
</Tip> </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[`~datasets.Dataset.set_transform`] to apply the transforms on the fly:
```py ```py
>>> dataset.set_transform(transforms) >>> dataset.set_transform(transforms)
``` ```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment