From 62108621d5d15f21c008423c1da0486702090019 Mon Sep 17 00:00:00 2001 From: jmorganca Date: Sun, 23 Mar 2025 23:11:47 -0700 Subject: [PATCH] update comment --- model/models/mistral3/model.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/model/models/mistral3/model.go b/model/models/mistral3/model.go index de4548c82..c66d162cc 100644 --- a/model/models/mistral3/model.go +++ b/model/models/mistral3/model.go @@ -77,7 +77,8 @@ func (m *Model) EncodeMultimodal(ctx ml.Context, multimodalData []byte) (any, er // PostTokenize arranges Mistral 3's inputs for the forward pass // In Mistral 3 and Pixtral, the input patches are arranged as follows: // [IMG]...[IMG][IMG_BREAK][IMG]...[IMG][IMG_BREAK][IMG]...[IMG][IMG_END] -// Each sequence of [IMG]...[IMG] is a single patch or "row" of vision embeddings +// Each sequence of [IMG]...[IMG] is a set of patches of vision embeddings +// that can be processed together. func (m *Model) PostTokenize(inputs []input.Input) ([]input.Input, error) { var result []input.Input