Swift app for local, offline AI experience
Top 90.6% on sourcepulse
This repository provides the OLMoE.swift application, an offline-capable, privacy-focused AI experience for iOS devices. It allows users to interact with large language models directly on their device without data storage or internet connectivity requirements.
How It Works
The project leverages on-device inference for its AI capabilities. While the README doesn't detail the specific model architecture or inference engine used within the Swift application, it does provide Python code demonstrating how to load and run OLMoE models using the Hugging Face transformers
library with PyTorch. This suggests a modular approach where the core AI logic can be accessed via standard Python libraries, with the Swift app acting as a user-friendly interface.
Quick Start & Requirements
transformers
(>= 4.45.0) and torch
. Run the provided Python code snippet to load and interact with models.Highlighted Details
Maintenance & Community
The project is from Allen AI. Further community or maintenance details are not specified in the README.
Licensing & Compatibility
The project is open source, with the core application and its dependencies (LlamaCPP, ggml, MarkdownUI, HighlightSwift) licensed under the MIT License. This license permits commercial use and integration into closed-source projects.
Limitations & Caveats
The README specifies that the iOS app requires a target device of iPhone 15 Pro or higher, indicating potential hardware limitations for older devices. The exact model sizes and performance characteristics on mobile hardware are not detailed.
3 months ago
Inactive