Replace {func} with mkdocs style links (#18610)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
Harry Mellor
2025-05-23 14:51:38 +02:00
committed by GitHub
parent 38a95cb4a8
commit 2edb533af2
5 changed files with 6 additions and 6 deletions

View File

@@ -540,7 +540,7 @@ class LlavaNextForConditionalGeneration(nn.Module, SupportsMultiModal,
Unlike in LLaVA-1.5, the number of image tokens inputted to the language
model depends on the original size of the input image. Including the
original image token in the input, the required number of image tokens
is given by {func}`get_llava_next_image_feature_size`.
is given by [get_llava_next_image_feature_size][].
This way, the `positions` and `attn_metadata` are consistent
with the `input_ids`.