Views
No views yet
1{
2 "mm_projector_type": "layer_selector",
3 "mm_vision_tower": "openai/clip-vit-large-patch14-336"
4}1git clone https://github.com/Linchenchen/TGIF.git
2cd TGIF
3pip install -e .1from llava.model.builder import load_pretrained_model
2from llava.mm_utils import get_model_name_from_path
3
4model_path = "cclinn/TGIF-LLaVA-v1.5-7B"
5model_name = get_model_name_from_path(model_path)
6
7tokenizer, model, image_processor, context_len = load_pretrained_model(
8 model_path=model_path,
9 model_base=None,
10 model_name=model_name,
11)1@article{tgif2026,
2 title={TGIF: Text-Guided Layer Fusion Mitigates Hallucination in Multimodal LLMs},
3 year={2026}
4}