Run this model with HF Jobs
Run SharpAI/yolo12n-coreml 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/SharpAI/yolo12n-coreml. 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/SharpAI/yolo12n-coreml 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 SharpAI/yolo12n-coreml with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use SharpAI/yolo12n-coreml 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("SharpAI/yolo12n-coreml", "<weights>.pt") model = YOLO(weights) source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
Upload metadata.json with huggingface_hub
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137{ "model_info": { "accuracy_metrics": { "mAP_50": 0.4309016229928738, "mAP_50_95": 0.3222867401394754, "precision": 0.37502635709528137, "recall": 0.13692841653923543, "f1_score": 0.2006105534399983, "total_detections": 24660, "total_ground_truth": 36781, "class_metrics": {}, "inference_time_ms": 11.222120958060259, "fps": 89.10971497609394, "dataset_info": { "name": "COCO Dataset - Real Object Detection", "classes": 80, "test_images": 5000, "max_images": 5000, "download_size_mb": 1580, "estimated_time_minutes": 25, "download_url": "mock://create_test_dataset", "description": "Microsoft COCO dataset with 80 classes. Use quick_test variant for fast evaluation or full_evaluation for comprehensive testing.", "variants": [ "quick_test", "full_evaluation" ] }, "evaluation_time": 1756526002.020573 }, "benchmark_id": null, "benchmark_status": "completed", "compression_ratio": 0.9814288060742122, "conversion_metadata": { "apple_silicon": true, "batch_size": 1, "compute_unit_selection": "automatic_at_runtime", "coremltools_version": "8.3.0", "format": "mlpackage", "input_shape": [ 640, 640 ], "machine": "arm64", "nms_enabled": true, "optimization_level": "standard", "output_signature": { "inputs": [ { "image_info": { "color_space": "20", "height": 640, "width": 640 }, "name": "image", "type": "imageType" }, { "name": "iouThreshold", "type": "doubleType" }, { "name": "confidenceThreshold", "type": "doubleType" } ], "model_author": "Ultralytics", "model_description": "Ultralytics YOLOv12n model ", "model_version": "8.3.186", "outputs": [ { "array_info": { "data_type": "65568", "shape": [] }, "name": "confidence", "type": "multiArrayType" }, { "array_info": { "data_type": "65568", "shape": [] }, "name": "coordinates", "type": "multiArrayType" } ] }, "platform": "macOS-15.6.1-arm64-arm-64bit", "precision": "fp32", "processor": "arm", "ultralytics_version": "unknown" }, "conversion_time": 11.295691967010498, "converted_size_mb": 5.236774444580078, "created_at": "2025-08-29T17:02:54.710184", "evaluation_dataset": "coco", "evaluation_id": "eval_yolo12n_coreml_fp32_auto_mlpackage_auto_fp32_20250829_170254_20250829_205154", "evaluation_status": "completed", "format": "mlpackage", "hardware_target": "auto", "has_benchmark": true, "huggingface_last_sync": null, "huggingface_repo_id": null, "huggingface_repo_url": null, "huggingface_status": null, "huggingface_uploaded_at": null, "id": "yolo12n_coreml_fp32_auto_mlpackage_auto_fp32_20250829_170254", "name": "yolo12n_coreml_fp32_auto", "optimization_level": "standard", "original_size_mb": 5.335867881774902, "output_path": "/Users/simba/.aegis-forge/models/converted/yolo12n_coreml_fp32_auto.coreml", "performance_data": { "fps": 89.10971497609394, "inference_time_ms": 11.222120958060259, "memory_mb": 0 }, "performance_summary": { "fps": 89.10971497609394, "inference_time_ms": 11.222120958060259, "memory_mb": 0 }, "precision": "fp32", "source_path": "/Users/simba/.aegis-forge/models/original/yolo12n.pt", "file_path": "/Users/simba/.aegis-forge/models/converted/yolo12n_coreml_fp32_auto.coreml", "original_model_source": "yolo12n_coreml_fp32_auto", "conversion_timestamp": "2025-08-29T17:02:54.710184", "source_model": "yolo12n_coreml_fp32_auto" }, "performance_metrics": { "fps": 89.10971497609394, "inference_time_ms": 11.222120958060259, "memory_mb": 0 }, "hardware_info": {}, "upload_date": "2025-09-03T20:46:19.726485", "tool_version": "1.0.0"}metadata.jsonAdded+137