MCPcopy Create free account
hub / github.com/MiniMax-AI/VTP / __init__

Method __init__

vtp/models/vtp_hf/modeling_vtp.py:82–90  ·  view source on GitHub ↗
(self, config: VTPConfig)

Source from the content-addressed store, hash-verified

80 """
81
82 def __init__(self, config: VTPConfig):
83 super().__init__(config)
84 self.config = config
85
86 self._init_vision_components()
87 if config.train_clip:
88 self._init_text_components()
89
90 self.post_init()
91
92 def _init_vision_components(self):
93 """Initialize vision encoder and related components."""

Callers

nothing calls this directly

Calls 2

_init_text_componentsMethod · 0.95

Tested by

no test coverage detected