from transformers import Qwen2_5_VLConfig class Qwen2_5_VLLinearConfig(Qwen2_5_VLConfig): model_type = "qwen2_5_vl_rdx_linear" def __init__(self, extra_feat_dim=10, rdx_token_id=151665, **kwargs): super().__init__(**kwargs) self.extra_feat_dim = extra_feat_dim self.rdx_token_id = rdx_token_id