-
Notifications
You must be signed in to change notification settings - Fork 106
research: benchmark quantized Florence-2 and lightweight captioning alternatives #343
Copy link
Copy link
Open
Labels
assignedIssue or PR is already assigned to someone.Issue or PR is already assigned to someone.backendFastAPI, database, storage, and API workFastAPI, database, storage, and API workgssoc26Related to GirlScript Summer of Code 2026.Related to GirlScript Summer of Code 2026.level:advancedGSSoC difficulty level: advanced. Base contributor points: 55.GSSoC difficulty level: advanced. Base contributor points: 55.mlModel inference, embeddings, OCR, captions, and search relevanceModel inference, embeddings, OCR, captions, and search relevanceperformanceSpeed, startup, memory, image size, and runtime efficiencySpeed, startup, memory, image size, and runtime efficiencypriority: highImportant issue that should be handled soonImportant issue that should be handled soonresearchNeeds investigation, comparison, or design proposal before implementationNeeds investigation, comparison, or design proposal before implementationstatus: unavailableThis issue is now unavailable to pick up.This issue is now unavailable to pick up.testingAutomated tests or manual QA coverageAutomated tests or manual QA coverage
Description
Metadata
Metadata
Assignees
Labels
assignedIssue or PR is already assigned to someone.Issue or PR is already assigned to someone.backendFastAPI, database, storage, and API workFastAPI, database, storage, and API workgssoc26Related to GirlScript Summer of Code 2026.Related to GirlScript Summer of Code 2026.level:advancedGSSoC difficulty level: advanced. Base contributor points: 55.GSSoC difficulty level: advanced. Base contributor points: 55.mlModel inference, embeddings, OCR, captions, and search relevanceModel inference, embeddings, OCR, captions, and search relevanceperformanceSpeed, startup, memory, image size, and runtime efficiencySpeed, startup, memory, image size, and runtime efficiencypriority: highImportant issue that should be handled soonImportant issue that should be handled soonresearchNeeds investigation, comparison, or design proposal before implementationNeeds investigation, comparison, or design proposal before implementationstatus: unavailableThis issue is now unavailable to pick up.This issue is now unavailable to pick up.testingAutomated tests or manual QA coverageAutomated tests or manual QA coverage
Summary
Benchmark lower-footprint captioning paths rather than replacing Florence-2 based on parameter count alone.
Evidence
Microsoft lists Florence-2-base at 0.23B parameters: https://huggingface.co/microsoft/Florence-2-base. Hugging Face's SmolVLM-256M card reports under 1 GB GPU RAM for one-image inference: https://huggingface.co/HuggingFaceTB/SmolVLM-256M-Instruct. SmolVLM is not automatically smaller in parameters, so quantized Florence and runtime overhead must also be measured.
Where to work
backend/src/find_api/ml/captioner.pyAcceptance criteria
Dependency
Use measurable fixtures from #100 where captions affect retrieval.