Saltar al contenido
ModelPublicadoExterno
Descargar

Lapvqa Vqa Native

Part of the LAPVQA collection.

TipoOtherVersiónClip vit l14 bestCcalidad

Fuente del modelo

Tipo
Other
Tamaño del archivo
196–197 MB
Versión
vClip vit l14 best
Actualizado
10 oct 2026
Fuente
Hugging Face

Descripción de la fuente

LAPVQA — VQA (Native / End-to-end)

Part of the LAPVQA collection.

Description

VQA task heads trained with end-to-end fine-tuning (encoder + head jointly). Provides a baseline for comparison with the frozen-encoder variant lapvqa-vqa. Each .pt file is a plain state dict of VQAHead.

FileEncodervis_dim
clip-vit-l14_best.ptCLIP ViT-L/14 (fine-tuned)1024
siglip_best.ptSigLIP (fine-tuned)1152
florence2_best.ptFlorence-2 (fine-tuned)1024
coca_best.ptCoCa (fine-tuned)768
mae-vit-l16_best.ptMAE ViT-L/16 (fine-tuned)1024

Loading

import torch
from lapvqa.vqa.model import VQAHead

VIS_DIMS = {
    "clip-vit-l14": 1024, "siglip": 1152,
    "florence2": 1024, "coca": 768, "mae-vit-l16": 1024,
}
encoder = "siglip"
ckpt = torch.load(f"{encoder}_best.pt", map_location="cpu")
head = VQAHead(vis_dim=VIS_DIMS[encoder])
head.load_state_dict(ckpt)
head.eval()

Fuentes

1 fuente
Hugging FacePrincipalVersión 804f5c7c257b9ccce37cad2ccd30c3d0fb4e2bba
huggingface.co/dmusingu/lapvqa-vqa-native/tree/804f5c7c257b9ccce37cad2ccd30c3d0fb4e2bba

Verificado 10 oct

Artefactos del modelo

5 artefactos

clip-vit-l14_best.pt

pt · 197 MB · SHA-256 539b4ef4c32a…5982 · Hugging Face

Descargar

coca_best.pt

pt · 196 MB · SHA-256 b81a21dd8fa0…1c77 · Hugging Face

Descargar

florence2_best.pt

pt · 197 MB · SHA-256 00918af2ae21…a1d2 · Hugging Face

Descargar

mae-vit-l16_best.pt

pt · 197 MB · SHA-256 86b35bde4f5c…880c · Hugging Face

Descargar

siglip_best.pt

pt · 197 MB · SHA-256 e6e2c8598269…9881 · Hugging Face

Descargar

Extractos de fuentes

2 extractos

--- tags: - chest-xray - radiology - visual-question-answering - mimic-cxr license: apache-2.0 --- # LAPVQA — VQA (Native / End-to-end) Part of the [LAPVQA collection](https://huggingface.co/collections/dmusingu/lapvqa). ## Description VQA task heads trained with **end-to-end fine-tuning** (encoder + head jointly). Provides a baseline for comparison with the frozen-encoder variant [`lapvqa-vqa`](https://huggingface.co/dmusingu/lapvqa-vqa). Each `.pt` file is a plain state dict of `VQAHead`. | File | Encoder | vis_dim | |---|---|---| | `clip-vit-l14_best.pt` | CLIP ViT-L/14 (fine-tuned) | 1024 | | `siglip_best.pt` | SigLIP (fine-tuned) | 1152 | | `florence2_best.pt` | Florence-2 (fine-tuned) | 1024 | | `coca_best.pt` | CoCa (fine-tuned) | 768 | | `mae-vit-l16_best.pt` | MAE ViT-L/16 (fine-tuned) | 1024 | ## Loading ```python import torch from lapvqa.vqa.model import VQAHead VIS_DIMS = { "clip-vit-l14": 1024, "siglip": 1152, "florence2": 1024, "coca": 768, "mae-vit-l16": 1024, } encoder = "siglip" ckpt = torch.load(f"{encoder}_best.pt", map_location="cpu") head = VQAHead(vis_dim=VIS_DIMS[encoder]) head.load_state_dict(ckpt) head.eval() ```

Source context: 0 downloads · 0 likes · Pipeline visual-question-answering · Repo dmusingu/lapvqa-vqa-native