Text of developer.apple.com › machine-learning › models as Styx crawled it on Nov 19, 2026. The page may have changed since. Only its words are kept, without pictures or layout, and only the first part of a long page.

Open the live page

Models - Machine Learning - Apple Developer

View in English Core ML Models Build intelligence into your apps using machine learning models from the research community designed for Core ML. Filter by keywords Models are in Core ML format and can be integrated into Xcode projects. You can select different versions of models to optimize for sizes and architectures. image FastViT Image Classification A Fast Hybrid Vision Transformer architecture trained to classify the dominant object in a camera frame or image.

View details Hide details Model Info Summary FastViT is a general-purpose, hybrid vision transformer model, trained on the ImageNet dataset, that provides a state-of-the-art accuracy/latency trade-off. The model's high performance, low latency, and robustness against out-of-distribution samples result from three novel architectural strategies: Structural reparameterization Linear training-time overparameterization Use of large kernel convolutions FastViT consistently outperforms competing robust architectures on mobile and desktop GPU platforms across a wide range of computer vision tasks such as image classification, object detection, semantic segmentation, and 3D mesh regression.

Use Cases Image classification, object detection, semantic segmentation, 3D mesh regression Links Source code in GitHub FastViT: A Fast Hybrid Vision Transformer using Structural Reparameterization Variants Model Name Size Action FastViTMA36F16.mlpackage 88.3MB Download FastViTT8F16.mlpackage 8.2MB Download FastViTMA36F16Headless.mlpackage 85.8MB Download FastViTT8F16Headless.mlpackage 6.5MB Download Variant Parameters Size Weight Precision Activation Precision T8 3.6M 7.8 Float16 Float16 MA36 42.7M 84 Float16 Float16 Inference Time Variant Device OS Inference Time (ms) Compute Unit T8 F16 iPhone 16 Pro 18.3 0.52 All T8 F16 iPhone 15 Pro Max 17.6 0.67 All T8 F16 iPhone 15 Plus 17.6 0.73 All T8 F16 iPhone 14 Plus 17.6 0.82 All T8 F16 iPhone 13 Pro Max 17.6 0.83 All T8 F16 MacBook Pro M3 Max 14.4 0.62 All MA36 F16 iPhone 16 Pro 18.3 2.78 All MA36 F16 iPhone 15 Pro Max 17.6 3.33 All MA36 F16 iPhone 15 Plus 17.6 3.47 All MA36 F16 iPhone 14 Plus 17.6 4.56 All MA36 F16 iPhone 13 Pro Max 17.6 4.47 All MA36 F16 MacBook Pro M2 Max 15.0 2.94 All MA36 F16 MacBook Pro M1 Max 15.0 4 All MA36 F16 iPad Pro 5th Gen 17.5 3.35 All Example Projects Classifying Images with Vision and Core ML Preprocess photos using the Vision framework and classify them with a Core ML model. image Depth Anything V2 Depth Estimation The Depth Anything model performs monocular depth estimation.

View details Hide details Model Info Summary Depth Anything v2 is a foundation model for monocular depth estimation. It maintains the strengths and rectifies the weaknesses of the original Depth Anything by refining the powerful data curation engine and teacher-student pipeline. To train a teacher model, Depth Anything v2 uses purely synthetic, computer-generated images. This avoids problems created by using real images, which can limit monocular depth-estimation model performance due to noisy annotations and low resolution.

The teacher model predicts depth information on unlabeled real images, and then uses only that new, pseudo-labeled data to train a student model. This helps avoid distribution shift between synthetic and real images. On the depth estimation task, the Depth Anything v2 model optimizes and outperforms v1 especially in terms of robustness, inference speed, and image depth properties like fine-grained details, transparent objects, reflections, and complex scenes.

Its refined data curation approach results in competitive performance on standard datasets (including KITTI, NYU-D, Sintel, ETH3D, and DIODE) and a more than 9% accuracy improvement over v1 and other community models on the new DA-2k evaluation set built for depth estimation. Depth Anything v2 provides varied model scales and inference efficiency to support extensive applications and is generalizable for fine tuning to downstream tasks.

It can be used in any application requiring depth estimation, such as 3D reconstruction, navigation, autonomous driving, and image or video generation. Use Cases Depth estimation, semantic segmentation Links Source code in GitHub Depth Anything: Unleashing the Power of Large-Scale Unlabeled Data Depth Anything V2 Variants Model Name Size Action DepthAnythingV2SmallF16.mlpackage 49.8MB Download DepthAnythingV2SmallF16P6.mlpackage 19MB Download Variant Parameters Size Weight Precision Activation Precision F32 24.8M 99.2 Float32 Float32 F16 24.8M 49.8 Float16 Float16 Inference Time Variant Device OS Inference Time (ms) Compute Unit Small F16 iPhone 16 Pro 18.3 26.21 All Small F16 iPhone 15 Pro Max 17.4 33.90 All Small F16 MacBook Pro M1 Max 15.0 33.48 All Small F16 MacBook Pro M1 Max 15.0 32.78 GPU image DETR Resnet50 Semantic Segmentation Semantic Segmentation The DEtection TRansformer (DETR) model, trained for object detection and panoptic segmentation, configured to return semantic segmentation masks.

View details Hide details Model Info Summary The DETR model is an encoder/decoder transformer with a convolutional backbone trained on the COCO 2017 dataset. It blends a set of proven ML strategies to detect and classify objects in images more elegantly than standard object detectors can, while matching their performance. The model is trained with a loss function that performs bipartite matching between predicted and ground-truth objects.

At inference time, DETR applies self-attention to an image globally to predict all objects at once. Thanks to global attention, the model outperforms standard object detectors on large objects but underperforms on small objects. Despite this limitation, DETR demonstrates accuracy and run-time performance on par with other highly optimized architectures when evaluated on the challenging COCO dataset. DETR can be easily reproduced in any framework that contains standard CNN and transformer classes.

It can also be easily generalized to accommodate more complex tasks, such as panoptic segmentation and other tasks requiring a simple segmentation head trained on top of a pre-trained DETR. DETR avoids clunky surrogate tasks and hand-designed components that traditional architectures require to achieve acceptable performance and instead provides a conceptually simple, easily reproducible approach that streamlines the object detection pipeline.

Use Cases Object detection, panoptic segmentation Links Source code in GitHub End-to-End Object Detection with Transformers Variants Model Name Size Action DETRResnet50SemanticSegmentationF16.mlpackage 85.5MB Download DETRResnet50SemanticSegmentationF16P8.mlpackage 43.1MB Download Variant Parameters Size Weight Precision Activation Precision F32 43M 171 Float32 Float32 F16 43M 86 Float16 Float16 Inference Time Variant Device OS Inference Time (ms) Compute Unit F16 iPhone 16 Pro 18.3 34.32 All F16 iPhone 15 Pro Max 17.6 39 All F16 iPhone 15 Plus 17.6 43 All F16 iPhone 14 Plus 17.6 50 All F16 iPhone 14 17.5 51 All F16 iPhone 13 Pro Max 17.6 51 All F16 MacBook Pro M1 Max 15.0 117 All F16 MacBook Pro M1 Max 15.0 43 GPU F16P8 iPhone 16 Pro 18.3 32.23 All F16P8 iPhone 15 Plus 18.0 40.73 All F16P8 iPhone 13 Pro Max 17.6 51.53 All F16P8 MacBook Pro M1 Max 15.0 36.52 All F16P8 MacBook Pro M1 Max 15.0 33.14 GPU F16P8 iPad Pro 5th Generation 18.0 62.49 All F16P8 iPad Pro 4th Generation 18.0 1224 All Example Projects Using Core ML for Semantic Image Segmentation Identify multiple objects in an image by using the DEtection TRansformer image-segmentation model. text BERT-SQuAD Question Answering Find answers to questions about paragraphs of text.

View details Hide details Model Info Summary BERT (Bidirectional Encoder Representations from Transformers) is a language representation model that uses fine-tuning-based approaches to apply pre-trained representations to downstream NLP tasks. In the case of BERT-SQuAD, the downstream NLP task is context-based Question Answering. BERT's multilayer, bidirectio

The rest of this page is on the live site.