These LoRA weights adapt the vision and language projections of EmbeddingGemma 2 for research on single peripheral blood cell crops. They require the base model unsloth/embeddinggemma-2 at revision c8f89cc7ecb4ba5122cd15fdd487422b2b487daf. Use adapter_config.json with the matching base for adapter experiments. The companion merged repository provides the independently reloaded encoder and a runnable image-embedding example. Pinned base · Merged model and usage
S4MPL3BI4S trained this adapter on 64 hard-negative image triplets from Yarıkan et al., KU-Optofil Peripheral Blood Cell Dataset, version 2 (CC BY 4.0). The source contains May–Grünwald–Giemsa-stained Sysmex DI-60 images. Each triplet used three different patients from the training split. Training used 360 × 360 RGB crops, a requested 280 image soft tokens, MultipleNegativesRankingLoss, LoRA rank 16, alpha 32, dropout 0, seed 3407, one BF16 NVIDIA L4 and two optimizer steps. Learning rates were 2e-5 and 1e-5. On the first step 112 of 224 tracked vision adapter tensors changed. Full run metadata and aggregate evaluation accompany the weights. Yarıkan et al., dataset and DOI · Training job
On 34 validation crops from patients disjoint from the 80-crop training gallery, macro top-one recall rose from 40.0% to 42.5%. Recall@5 was 88.24% for both models. Independent offline reload of the merged model reproduced these scores with finite 768-dimensional embeddings. The standalone adapter load path did not receive a separate numerical equivalence test. The smoke subset is too small to establish generalization. The KU test split was held out.
This research artifact supports crop retrieval. It has no clinical clearance or validation on the target laboratory’s single 100× Wright-stained crops, camera, or slides. Cell detection, field counting and clinical differential reporting are outside its scope. Proposed labels require a qualified technologist’s confirmation, including explicit review of blasts and other rare or high-risk cells. The analyzer remains authoritative for WBC counts. Acevedo et al. is related work excluded from training and evaluation. Acevedo et al., dataset record
The base model and these adapter weights use Apache 2.0. Yarıkan et al.’s training images retain their CC BY 4.0 license. See the upstream model card for the applicable Gemma Prohibited Use Policy. Base model card · Gemma use policy · Dataset license
unsloth/embeddinggemma-2