Skip to content

Commit b7e4838

Browse files
authored
Fix typo in multimodal_datasets.rst
1 parent 54673b7 commit b7e4838

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/basics/multimodal_datasets.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ in the text, ``"<image>"`` for where to place the image tokens. This will get re
4545
from torchtune.models.llama3_2_vision import llama3_2_vision_transform
4646
from torchtune.datasets.multimodal import multimodal_chat_dataset
4747
48-
transform = Llama3VisionTransform(
48+
model_transform = Llama3VisionTransform(
4949
path="/tmp/Meta-Llama-3-8B-Instruct/original/tokenizer.model",
5050
prompt_template="torchtune.data.QuestionAnswerTemplate",
5151
max_seq_len=8192,
@@ -120,7 +120,7 @@ For most datasets, you will also need to specify the ``split`` and/or the subset
120120
from torchtune.models.llama3_2_vision import llama3_2_vision_transform
121121
from torchtune.datasets.multimodal import multimodal_chat_dataset
122122
123-
transform = llama3_2_vision_transform(
123+
model_transform = llama3_2_vision_transform(
124124
path="/tmp/Meta-Llama-3-8B-Instruct/original/tokenizer.model",
125125
max_seq_len=8192,
126126
image_size=560,

0 commit comments

Comments
 (0)