Skip to content
Back to skills

Florence 2

ASecurity

"Use Maestro Florence-2 for fine-tuning command/API construction,

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
toolspythonbashapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill florence-2 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Florence 2?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Florence 2
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-florence-2/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-florence-2)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: florence-2
description: "Use Maestro Florence-2 for fine-tuning command/API construction,
  checkpoint load/save, inference, object-detection formatting, LoRA/freeze/none
  choices, and troubleshooting."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Florence-2 sub-skill

Use this sub-skill when the task is specifically about Maestro's Florence-2 integration: `maestro florence_2 train`, the `maestro.trainer.models.florence_2` Python APIs, Florence-2 checkpoint loading/saving, inference calls, or the Florence object-detection text format.

## Start here

1. Confirm the package and model-specific dependencies are available. For root install and CLI probing guidance, use [installation and CLI](../../references/installation-and-cli.md).
2. Confirm the data layout before building a training command. For JSONL/COCO split rules, Roboflow identifiers, and generic metric details, route to [datasets-and-metrics](../datasets-and-metrics/SKILL.md).
3. Build Florence-2 commands and API calls from [workflows](references/workflows.md) and exact signatures in [API reference](references/api-reference.md).
4. For object detection, use the `<OD>` prefix and the Florence `<loc_*>` suffix rules in [detection formats](references/detection-formats.md).
5. If a CLI/API/data/model issue appears, check [Florence-2 troubleshooting](references/troubleshooting.md) before changing code or broadening dependencies.

## Critical defaults and boundaries

- Default model id: `microsoft/Florence-2-base-ft`.
- Default model revision: `refs/pr/20`.
- Supported Florence-2 optimization strategies are exactly `lora`, `freeze`, and `none`. Do **not** use or recommend `qlora` for Florence-2 in Maestro.
- Florence object detection uses prefix `<OD>` and suffix fragments of the form `class<loc_xmin><loc_ymin><loc_xmax><loc_ymax>` with coordinates normalized to the `0..1000` range.
- This sub-skill owns Florence-specific collate, train, load/save, inference, and formatter decisions. It routes shared dataset validation, Roboflow downloads, COCO/JSONL layout, and metric semantics to [datasets-and-metrics](../datasets-and-metrics/SKILL.md).
- Full fine-tuning or model inference may download Hugging Face model files and usually needs a GPU. The bundled smoke script only checks deterministic text formatting and does not load a model.

## Safe local checks

From the generated Maestro skill tree, run:

```bash
python sub-skills/florence-2/scripts/smoke_florence_detection_format.py --help
python sub-skills/florence-2/scripts/smoke_florence_detection_format.py --json
```

These checks import only Maestro's Florence detection formatter functions and NumPy. They do not open datasets, call Roboflow, contact Hugging Face, download weights, or start training.

Files in this skill

  • SKILL.md2.7 KB
  • references/api-reference.md8.4 KB
  • references/detection-formats.md4.3 KB
  • references/troubleshooting.md5.7 KB
  • references/workflows.md7.5 KB
  • scripts/smoke_florence_detection_format.py6.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.