explaingit

likedan/awesome-coreml-models

7,001PythonAudience · developerComplexity · 2/5Setup · easy

TLDR

A curated collection of ready-to-use machine learning model files in Apple's Core ML format, covering image recognition, text analysis, style transfer, and audio tasks, plug directly into an Xcode project for on-device AI without a server.

Mindmap

mindmap
  root((CoreML Models))
    Image Tasks
      Object recognition
      Food detection
      Style transfer
      Depth estimation
    Text Tasks
      Sentiment analysis
      Toxicity detection
      Text generation
    Audio Tasks
      Music genre
      Speech recognition
    Usage
      Download model file
      Add to Xcode
      Run on device
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Download a pre-built Core ML model for food or object classification and plug it directly into an Xcode project.

USE CASE 2

Add on-device age and gender detection to an iOS camera app without sending data to a server.

USE CASE 3

Implement sentiment analysis of user reviews inside a macOS app using a ready-made text model.

USE CASE 4

Add artistic style transfer to photos in an iOS app with a downloadable Core ML style model.

Tech stack

SwiftCore MLPythonXcode

Getting it running

Difficulty · easy Time to first run · 30min

In plain English

This repository is a collection of machine learning models in Apple's Core ML format, built for developers who want to add AI-powered features to their iOS, macOS, tvOS, or watchOS apps. Apple introduced Core ML with iOS 11, and it allows apps to run machine learning models directly on the device without sending data to a server. This collection aims to be the largest single place to find ready-to-use Core ML models. The models in the collection cover a wide range of tasks. Many work with images: some identify what objects appear in a photo, others predict the location where a photo was taken, classify the type of food shown, detect flowers, recognize artistic styles, or estimate a person's age and gender from a portrait. There are models for detecting text in images, predicting the depth of a scene from a single photo, and segmenting a camera frame into labeled regions like road, sky, or person. Beyond images, the collection includes models for natural language tasks. These include sentiment analysis of text, a tool for predicting whether a document is toxic, and models that generate text responses. There is also a section for style transfer models, which repaint a photo to look like a painting, and a section for audio models that can identify the genre of a song or recognize spoken words. Each entry in the collection links to a downloadable model file, a demo app that shows the model working on a real device, and a reference paper or source. Developers can plug the downloaded file directly into an Xcode project. The repository also mentions Netron, a third-party viewer that lets you inspect the structure of a model file. The project is community-maintained and accepts contributions. If someone has converted a new model to Core ML format, they can submit a pull request to add it to the list.

Copy-paste prompts

Prompt 1
I want to add object recognition to my iOS app, find me a Core ML model from awesome-coreml-models and show me how to integrate it in Xcode.
Prompt 2
How do I add on-device text sentiment analysis to my iOS app using a model from this collection? Show me the Swift code.
Prompt 3
I want to do style transfer on photos in my iOS app, which model from awesome-coreml-models should I use and how do I call it from Swift?
Prompt 4
How do I inspect a Core ML model file from this collection using Netron before adding it to my project?
Open on GitHub → Explain another repo

← likedan on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.