We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3c3e20 commit cd5dc6bCopy full SHA for cd5dc6b
examples/llava/mtmd.cpp
@@ -112,7 +112,7 @@ int32_t mtmd_tokenize(mtmd_context * ctx,
112
string_replace_all(prompt_modified, ctx->image_marker, marker_modified);
113
}
114
115
- std::vector<std::string> parts = string_split_str(text.text, ctx->image_marker);
+ std::vector<std::string> parts = string_split_str(prompt_modified, ctx->image_marker);
116
output.clear();
117
output.reserve(parts.size());
118
0 commit comments