mtmd: add --image-min/max-tokens (#16921)
This commit is contained in:
parent
bf7b0c9725
commit
070ff4d535
8 changed files with 79 additions and 22 deletions
|
|
@ -406,6 +406,8 @@ struct common_params {
|
|||
bool mmproj_use_gpu = true; // use GPU for multimodal model
|
||||
bool no_mmproj = false; // explicitly disable multimodal model
|
||||
std::vector<std::string> image; // path to image file(s)
|
||||
int image_min_tokens = -1;
|
||||
int image_max_tokens = -1;
|
||||
|
||||
// finetune
|
||||
struct lr_opt lr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue