Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →
Top 16 Swift Machine Learning Projects
-
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
CoreML-in-ARKit
Simple project to detect objects and display 3D labels above them in AR. This serves as a basic Template for an ARKit project to use CoreML.
-
-
-
AIToolbox
A toolbox of AI modules written in Swift: Graphs/Trees, Support Vector Machines, Neural Networks, PCA, K-Means, Genetic Algorithms
-
Swift-Brain
Artificial intelligence/machine learning data structures and Swift algorithms for future iOS development. bayes theorem, neural networks, and more AI.
-
TensorSwift
A lightweight library to calculate tensors in Swift, which has similar APIs to TensorFlow's
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
-
-
DL4S
Accelerated tensor operations and dynamic neural networks based on reverse mode automatic differentiation for every device that can run Swift - from watchOS to Linux
-
CLIP-Finder2
CLIP-Finder enables semantic offline searches of images from gallery photos using natural language descriptions or the camera. Built on Apple's MobileCLIP-S0 architecture, it ensures optimal performance and accurate media retrieval.
Here's an open source iOS app[1] that does that. Incidentally, it's built using Apple's own MobileCLIP[2] models.
[1]: https://github.com/fguzman82/CLIP-Finder2
-
-
Project mention: A Picture Is Worth 170 Tokens: How Does GPT-4o Encode Images? | news.ycombinator.com | 2024-06-07
I also wrote a Swift CLI that wraps over the Vision framework: https://github.com/nexuist/seev
Text extraction is included (including the ability to specify custom words not found in the dictionary) but there are also utilities for face detection, classification, etc.
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Swift Machine Learning discussion
Swift Machine Learning related posts
-
Metal-flash-attention: Faster alternative to Metal Performance Shaders
-
LlamaChat abnormally bad with LLaMa-7B
-
Machine learning modules for swift
-
Should I use accelerate or another library for simple, np.sum-like, matrix operations?
-
August Review 2021
-
[P] AppleNeuralHash2ONNX: Reverse-Engineered Apple NeuralHash, in ONNX and Python
-
Swift on the Server in 2020
-
A note from our sponsor - CodeRabbit
coderabbit.ai | 27 Mar 2025
Index
What are some of the best open-source Machine Learning projects in Swift? This list will help you:
# | Project | Stars |
---|---|---|
1 | Bender | 1,800 |
2 | CoreML-in-ARKit | 1,679 |
3 | NSFWDetector | 1,612 |
4 | LlamaChat | 1,495 |
5 | AIToolbox | 795 |
6 | Swift-Brain | 334 |
7 | TensorSwift | 324 |
8 | SwiftCoreMLTools | 162 |
9 | CoreMLPlayer | 160 |
10 | Neuron | 128 |
11 | DL4S | 105 |
12 | CLIP-Finder2 | 73 |
13 | Revolver | 29 |
14 | seeV | 26 |
15 | swift-ranker | 13 |
16 | sniglet | 8 |