Florence-2-base

214.0K
310
1K
Small context
license:mit
by
microsoft
Image Model
OTHER
Good
214K downloads
Production-ready
Edge AI:
Mobile
Laptop
Server
Unknown
Mobile
Laptop
Server
Quick Summary

--- license: mit license_link: https://huggingface.

Code Examples

Captionpython
prompt = "<CAPTION>"
run_example(prompt)
Captionpython
prompt = "<DETAILED_CAPTION>"
run_example(prompt)
Captionpython
prompt = "<MORE_DETAILED_CAPTION>"
run_example(prompt)
python
task_prompt = "<CAPTION_TO_PHRASE_GROUNDING>"
results = run_example(task_prompt, text_input="A green car parked in front of a yellow building.")
Object Detectionpython
prompt = "<OD>"
run_example(prompt)
Dense Region Captionpython
prompt = "<DENSE_REGION_CAPTION>"
run_example(prompt)
Region proposalpython
prompt = "<REGION_PROPOSAL>"
run_example(prompt)
OCRpython
prompt = "<OCR>"
run_example(prompt)
OCR with Regionpython
prompt = "<OCR_WITH_REGION>"
run_example(prompt)

Deploy This Model

Production-ready deployment in minutes

Together.ai

Instant API access to this model

Fastest API

Production-ready inference API. Start free, scale to millions.

Try Free API

Replicate

One-click model deployment

Easiest Setup

Run models in the cloud with simple API. No DevOps required.

Deploy Now

Disclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.