Run this model with HF Jobs

Run LibreYOLO/LibreDFINEm on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/LibreYOLO/LibreDFINEm. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/LibreYOLO/LibreDFINEm on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use from the
Use from the
LibreYOLO library
# pip install libreyolo
from libreyolo import LibreYOLO

model = LibreYOLO("LibreYOLO/LibreDFINEm")
results = model("https://raw.githubusercontent.com/LibreYOLO/libreyolo/release/libreyolo/assets/guggenheim-bilbao.jpg", save=True)

LibreDFINEm

D-FINE-m (medium) detection weights, repackaged for LibreYOLO.

Reported COCO val2017 mAP50-95: 55.1.

Source

Derived from Peterande/D-FINE at the v1.0 release (dfine_m_obj2coco.pth). This checkpoint is pretrained on Objects365 and then fine-tuned on COCO. Typically +2.8 mAP over the COCO-only checkpoint. Copyright (c) 2024 The D-FINE Authors. Licensed under the Apache License, Version 2.0.

The HGNetV2 backbone is copied from PaddlePaddle/PaddleClas. Copyright (c) 2024 PaddlePaddle Authors. Licensed under the Apache License, Version 2.0.

Modifications

Checkpoint metadata wrapping only β€” learned parameters are unchanged. The wrapper adds model_family, size, nc, and names fields so the unified LibreYOLO() factory routes correctly without filename heuristics. See weights/convert_dfine_weights.py in the LibreYOLO source repository.

Usage

pip install libreyolo
from libreyolo import LibreYOLO

model = LibreYOLO("LibreDFINEm.pt")
results = model("image.jpg", save=True)

License

Apache License 2.0. See the LICENSE and NOTICE files in this repository.

Downloads last month
112
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Collection including LibreYOLO/LibreDFINEm