Views
No views yet
openai/clip-vit-base-patch32 (151M parameters)q_proj, k_proj, v_proj (applied to both visual and textual encoders)"Figure X:" prefix (using the caption_no_index field) to filter noise.| Model | R@1 (%) | R@5 (%) | R@10 (%) | MRR | Median Rank |
|---|---|---|---|---|---|
| Vanilla CLIP (Zero-Shot) | 10.90 | 19.35 | 23.80 | 0.1564 | 110.0 |
| SciCLIP (LoRA r=16) | 16.40 | 29.30 | 35.85 | 0.2312 | 34.0 |
| Relative Improvement | +50.5% | +51.4% | +50.6% | +47.8% | 76 ranks saved |
transformers and peft libraries:1import torch
2from transformers import CLIPModel, CLIPProcessor
3from peft import PeftModel
4
5# 1. Load vanilla CLIP backbone
6base_model = "openai/clip-vit-base-patch32"
7model = CLIPModel.from_pretrained(base_model)
8processor = CLIPProcessor.from_pretrained(base_model)
9
10# 2. Attach SciCLIP LoRA Adapter
11adapter_id = "jkhyjkhy/sciclip-lora-r8" # Replace with your repo ID
12model = PeftModel.from_pretrained(model, adapter_id)
13model.eval()
14
15print("✓ SciCLIP loaded successfully.")
16
17@article{sciclip2026,
18 title={SciCLIP: Parameter-Efficient Fine-Tuning of CLIP for Academic Figure Retrieval},
19 author={Jeong, Younghee},
20 journal={arXiv preprint},
21 year={2026}
22}1@article{sciclip2026,
2 title={SciCLIP: Parameter-Efficient Fine-Tuning of CLIP for Academic Figure Retrieval},
3 author={Jeong, Younghee},
4 journal={arXiv preprint},
5 year={2026}
6}