Skip to content

Commit 56bc674

Browse files
ngxsonggerganov
andauthored
Update examples/llava/mtmd.cpp
Co-authored-by: Georgi Gerganov <[email protected]>
1 parent 6b2ea2c commit 56bc674

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/llava/mtmd.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ struct mtmd_context {
104104
return LLAMA_TOKEN_NULL;
105105
}
106106

107-
std::string token_to_piece(const struct llama_vocab * vocab, llama_token token, bool special) {
107+
std::string token_to_piece(const llama_vocab * vocab, llama_token token, bool special) {
108108
std::string piece;
109109
piece.resize(piece.capacity()); // using string internal cache, 15 bytes + '\n'
110110
const int n_chars = llama_token_to_piece(vocab, token, &piece[0], piece.size(), 0, special);

0 commit comments

Comments
 (0)