Downloads · 30 days
23
30% of all-time downloads
Khabner/florence-large-lora-v1
florence-large-lora-v1 is a machine learning model from Khabner. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as mit.
PEFT LoRA adapter for Florence-2-large-ft fine-tuned for UI click localization via <CAPTIONTOPHRASEGROUNDING.
Downloads · 30 days
23
30% of all-time downloads
All-time downloads
77
Public
Repo size
18.9 MB
Likes
0
Public
Click a slice to open those files.
.safetensors18.9 MB · 78%
From the Hugging Face model README
PEFT LoRA adapter for Florence-2-large-ft fine-tuned for UI click localization via <CAPTION_TO_PHRASE_GROUNDING>.
Khabner/florence-base-lora-v1 (84%) at ×3–4 inference cost.no points) — all other variants pass this test. A narrow regression introduced by the v1 LoRA training on Florence-2-large specifically.[3]).A larger backbone does not fix structural grounding weaknesses (controls in dense table rows, tiny inline links). Recommendation: prefer the base variant.
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoProcessor
base = AutoModelForCausalLM.from_pretrained("microsoft/Florence-2-large-ft", trust_remote_code=True)
processor = AutoProcessor.from_pretrained("microsoft/Florence-2-large-ft", trust_remote_code=True)
model = PeftModel.from_pretrained(base, "Khabner/florence-large-lora-v1").eval()
Full inference + FastAPI server code: github.com/VLM-WEBTEST/magnitude_integration.