mistralrs_core/vision_models/mistral3/
config.rs

1use serde::Deserialize;
2
3use crate::{layers::Activation, models::mistral};
4
5use super::vision;
6
7#[derive(Deserialize, Debug, Clone)]
8pub struct Mistral3Config {
9    pub image_token_index: usize,
10    pub multimodal_projector_bias: bool,
11    pub projector_hidden_act: Activation,
12    pub spatial_merge_size: usize,
13    pub vision_feature_layer: isize,
14    pub text_config: mistral::Config,
15    pub vision_config: vision::Mistral3VisionConfig,
16}