---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://mixpeek.com/.well-known/search?q={query}"
  method: GET
  documentation: "https://mixpeek.com/llms.txt"
---

[Models](/models)/[Captioning](/models?category=captioning)/microsoft/Florence-2-large

HFScene Captioningmit

# Florence-2-large

by microsoft

Foundation model for unified vision tasks with sequence-to-sequence architecture

655Kdl/month

1,850likes

777Mparams

[HuggingFace](https://huggingface.co/microsoft/Florence-2-large)[Run it on your own data, free](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=model_page&utm_campaign=mvs_onramp)

Identifiers

Model ID

`microsoft/Florence-2-large`

## Deploy Florence-2-large

Single-tenant

Mixpeek has no managed extractor for this model. On a single-tenant deployment you upload the weights and a custom plugin serves them next to the rest of your pipeline.

[Read the customer-hosted guide](https://mixpeek.com/docs/customer-hosted/overview) [Talk to us about single-tenant](/demo)

## Overview

Florence-2 is a versatile vision foundation model that handles captioning, object detection, grounding, and OCR in a single unified architecture using a sequence-to-sequence paradigm. It processes images and task-specific text prompts to produce structured outputs.

On Mixpeek, Florence-2 provides detailed scene descriptions that go beyond simple captions, including spatial relationships, object attributes, and contextual information.

## Architecture

DaViT vision encoder paired with a transformer-based sequence-to-sequence decoder. Supports multiple vision tasks via task-specific prompt tokens. Large variant uses 770M parameters.

## How it runs

.dataflow-R15f6b .df-packets-static{display:none} @media (prefers-reduced-motion: reduce){ .dataflow-R15f6b .df-packets-anim{display:none} .dataflow-R15f6b .df-packets-static{display:inline} .dataflow-R15f6b .df-toggle{display:none} }

Pause

Inference INPUT MODEL OUTPUT Image object Text object Florence-2-large mp.inference Text vector Vector store MVS Florence-2-large → embeddings, indexed for search

Florence-2-large takes image and text, and Mixpeek indexes what it emits.

## Mixpeek SDK Integration

IngestRetrieve

// No extractor parameter takes a Hugging Face model id (checked against
// GET /v1/discovery/extractors, which returns 13), so Florence-2-large runs
// on your side and the output is upserted through POST
// /v1/namespaces/{namespace\_id}/documents/upsert. On Enterprise the other
// path is to upload the weights instead: POST /v1/namespaces/{id}/models
// accepts the huggingface format and a custom plugin loads them.
const res = await fetch(
  "https://api.mixpeek.com/v1/namespaces/ns\_your\_namespace/documents/upsert",
  {
    method: "POST",
    headers: {
      Authorization: "Bearer API\_KEY",
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      collection\_id: "col\_your\_collection",
      documents: \[
        {
          document\_id: "asset-00412",
          // The model produces text, so it lands in payload. Give the
          // collection a text vector index and embed that text to make it
          // searchable rather than only filterable.
          payload: { extracted\_text: modelOutput, source\_key: "archive/2026/asset-00412" },
          vectors: { "multimodal-embedding": embeddingOfModelOutput },
        },
      \],
    }),
  },
);

// Managed alternative, if this exact model is not the requirement:
// universal\_extractor@v1 runs google/gemini-embedding-2
// (3072-d) over a bucket, with no inference of your own.

## Capabilities

*   Dense captioning with region descriptions
*   Referring expression comprehension
*   Object detection and visual grounding
*   OCR with text localization

## Use Cases on Mixpeek

Rich scene understanding for video analytics

Multi-task visual extraction in a single pass

Grounded captioning for accessibility

## Benchmarks

Dataset

Metric

Score

Source

COCO Captioning

CIDEr

140.0

Xiao et al., 2024: Table 2

RefCOCO (val)

Accuracy

92.6%

Xiao et al., 2024: Table 5

TextVQA (val)

Accuracy

78.0%

Xiao et al., 2024: Table 4

## Performance

Input Size768×768 px

GPU Latency~35ms / image (A100)

CPU Latency~520ms / image

GPU Throughput~28 images/sec (A100)

GPU Memory~3.1 GB

## Common Pipeline Companions

[

facebook/detr-resnet-50

Object detection for region understanding

](/model/facebook/detr-resnet-50)[

openai/clip-vit-large-patch14

Visual embedding alongside captioning

](/model/openai/clip-vit-large-patch14)[

microsoft/trocr-large-printed

OCR for text-heavy images

](/model/microsoft/trocr-large-printed)

## Explore on Mixpeek

[

More Captioning models

Compare alternatives in this category

](/models?category=captioning)[

Best Document AI Platforms

Hand-picked tools & platforms compared

](/curated-lists/best-document-ai-platforms)[

OCR & Document AI Internals

Deep-dive technical guide

](/guides/ocr-document-ai-internals)[

Feature Extractors

See how Mixpeek runs models as extractors

](/extractors)[

Mixpeek Vector Store

Store & search embeddings at scale

](/mvs)[

Pricing

Usage-based pricing for pipelines

](/pricing)[

All Curated Lists

Compare models, APIs & infrastructure

](/curated-lists)

### Specification

FrameworkHF

Organizationmicrosoft

FeatureScene Captioning

Outputtext

Modalitiesvideo, image

RetrieverSemantic Search

Parameters777M

Licensemit

Downloads/mo655K

Likes1,850

[

### Research Paper

Florence-2: Advancing a Unified Representation for a Variety of Vision Tasks

arxiv.org](https://arxiv.org/abs/2311.06242)

### Build a pipeline with Florence-2-large

Add this model to a processing pipeline alongside other extractors. Combine with retrieval stages for end-to-end search.

[Run it on your own data, free](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=model_page&utm_campaign=mvs_onramp)

### Alternative Models

[

Salesforce/blip2-opt-2.7b

Scene Captioning

](/model/Salesforce/blip2-opt-2.7b)[

google/paligemma2-3b-mix-448

Scene Captioning

](/model/google/paligemma2-3b-mix-448)[

Qwen/Qwen3-VL-8B-Instruct

Scene Captioning

](/model/Qwen/Qwen3-VL-8B-Instruct)[

google/gemma-4-E2B-it

Scene Captioning

](/model/google/gemma-4-E2B-it)