dmusingu / lapvqa-rrg

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: June 06 2026

Introduction of lapvqa-rrg

Model Details of lapvqa-rrg

LAPVQA — Radiology Report Generation (Frozen Off-the-shelf Encoders)

Part of the LAPVQA collection .

Description

Autoregressive decoder heads for Radiology Report Generation on MIMIC-CXR, trained on top of five frozen off-the-shelf encoders. Each checkpoint is a dict: {state_dict, vis_dim, d_model, num_layers, nhead, encoder, epoch, val_bleu4} .

Architecture — ReportGenerationHead
vis_proj : Linear(vis_dim → 512)
tok_emb  : Embedding(50257, 512)   # GPT-2 vocab, weight-tied with lm_head
pos_emb  : Embedding(150, 512)
decoder  : 6 × TransformerDecoderLayer (pre-norm)
lm_head  : Linear(512 → 50257, bias=False)
Results (MIMIC-CXR test set)
Encoder BLEU-4 ROUGE-L RadGraph-s
SigLIP 0.036 0.168 0.211
Florence-2 0.035 0.169 0.205
CLIP ViT-L/14 0.034 0.168 0.197
OWLv2 0.034 0.169 0.197
CoCa 0.030 0.160 0.193
File Encoder vis_dim
siglip.pt SigLIP 1152
florence2.pt Florence-2 1024
clip-vit-l14.pt CLIP ViT-L/14 1024
owlv2.pt OWLv2 1024
coca.pt CoCa 768
Loading
import torch
import tiktoken
from lapvqa.rrg.heads import ReportGenerationHead

ckpt = torch.load("siglip.pt", map_location="cpu")
head = ReportGenerationHead(
    vis_dim    = ckpt["vis_dim"],
    d_model    = ckpt["d_model"],
    num_layers = ckpt["num_layers"],
    nhead      = ckpt["nhead"],
)
head.load_state_dict(ckpt["state_dict"])
head.eval()

enc = tiktoken.get_encoding("gpt2")
bos_id = eos_id = enc.eot_token

# vis_tokens: [B, N, vis_dim] — patch tokens from the frozen encoder
token_ids = head.generate(vis_tokens, bos_id=bos_id, eos_id=eos_id, max_len=150)
reports   = [enc.decode(ids) for ids in token_ids]

Runs of dmusingu lapvqa-rrg on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About lapvqa-rrg huggingface.co Model

More lapvqa-rrg license Visit here:

https://choosealicense.com/licenses/apache-2.0

lapvqa-rrg huggingface.co

lapvqa-rrg huggingface.co is an AI model on huggingface.co that provides lapvqa-rrg's model effect (), which can be used instantly with this dmusingu lapvqa-rrg model. huggingface.co supports a free trial of the lapvqa-rrg model, and also provides paid use of the lapvqa-rrg. Support call lapvqa-rrg model through api, including Node.js, Python, http.

dmusingu lapvqa-rrg online free

lapvqa-rrg huggingface.co is an online trial and call api platform, which integrates lapvqa-rrg's modeling effects, including api services, and provides a free online trial of lapvqa-rrg, you can try lapvqa-rrg online for free by clicking the link below.

dmusingu lapvqa-rrg online free url in huggingface.co:

https://huggingface.co/dmusingu/lapvqa-rrg

lapvqa-rrg install

lapvqa-rrg is an open source model from GitHub that offers a free installation service, and any user can find lapvqa-rrg on GitHub to install. At the same time, huggingface.co provides the effect of lapvqa-rrg install, users can directly use lapvqa-rrg installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

lapvqa-rrg install url in huggingface.co:

https://huggingface.co/dmusingu/lapvqa-rrg

Url of lapvqa-rrg

lapvqa-rrg huggingface.co Url

Provider of lapvqa-rrg huggingface.co

dmusingu
ORGANIZATIONS

Other API from dmusingu

huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 06 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 06 2026