You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/server/utils.hpp
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -983,10 +983,10 @@ struct server_inp_chunk {
983
983
* server_inputs is a helper to manage the input tokens and image for the server.
984
984
*
985
985
* the difference between server_inputs and mtmd_input_chunks is that each chunk of server_inputs only contains a single text token, but text chunk of mtmd_input_chunks can contain multiple tokens.
986
-
*
986
+
*
987
987
* for example, server_inputs may contain 5 text tokens followed by 1 image chunk:
988
988
* 1 41 2635 325 463 <image of 15 tokens>
989
-
*
989
+
*
990
990
* in this example:
991
991
* - n_tokens() returns 5+15 = 20 total tokens
992
992
* - get_chunk(1) returns chunk containing token ID 41
@@ -1163,16 +1163,16 @@ struct server_inputs {
1163
1163
// No truncation needed, the vector remains unchanged.
0 commit comments