Run this model with HF Jobs
Run inference4j/yolo26n 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/inference4j/yolo26n. 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/inference4j/yolo26n 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.
Instructions to use inference4j/yolo26n with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use inference4j/yolo26n with ultralytics:
from huggingface_hub import hf_hub_download from ultralytics import YOLO # pick the weights file from this repo's "Files and versions" tab weights = hf_hub_download("inference4j/yolo26n", "<weights>.pt") model = YOLO(weights) source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
YOLO26n β ONNX
ONNX export of YOLO26n, the nano variant of Ultralytics YOLO26 object detection model. Features built-in NMS (no post-processing required). Trained on COCO with 80-class output.
Mirrored for use with inference4j, an inference-only AI library for Java.
Original Source
- Repository: onnx-community (Ultralytics YOLO26)
- License: agpl-3.0
Usage with inference4j
try (ObjectDetector detector = Yolo26Detector.builder().build()) {
List<Detection> detections = detector.detect(Path.of("street.jpg"));
detections.forEach(d -> System.out.printf("%s (%.0f%%) at [%.0f, %.0f, %.0f, %.0f]%n",
d.label(), d.confidence() * 100,
d.box().x1(), d.box().y1(), d.box().x2(), d.box().y2()));
}
Model Details
| Property | Value |
|---|---|
| Architecture | YOLO26 Nano (NMS-free single-shot detector) |
| Task | Object detection (COCO 80 classes) |
| COCO AP | 40.9 (val2017, as reported by Ultralytics) |
| Input | [1, 3, 640, 640] β RGB, normalized 0-1 |
| Output | NMS-free β outputs filtered detections directly |
| Post-processing | None required (built-in NMS) |
| Original framework | PyTorch (Ultralytics) |
License
This model is licensed under the AGPL-3.0 License; the full text is in the LICENSE file of this repository. Original model by Ultralytics, exported by onnx-community.
Provenance
| Part | Origin |
|---|---|
| Code | ultralytics/ultralytics, AGPL-3.0 |
| Weights | Ultralytics YOLO26n, AGPL-3.0 |
| ONNX export | onnx-community/yolo26n-ONNX |
| Training data | COCO 2017 (80 classes) |
| Changes in this mirror | None: files copied unchanged |