# coreml

Published articles for coreml.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Introducing AnyLanguageModel: One API for Local and Remote LLMs on Apple Platforms

DevFeed: [Introducing AnyLanguageModel: One API for Local and Remote LLMs on Apple Platforms](<https://devfeed.tech/articles/introducing-anylanguagemodel-one-api-for-local-and-remote-llms-on-apple-platforms-7097.md>)

Original publisher: [Read original article](<https://huggingface.co/blog/anylanguagemodel>)

Author: Mattt

Published: 2025-11-20T00:00:00Z

Content type: article

Language: en

Sources: [Hugging Face - Blog](<https://devfeed.tech/sources/hugging-face-blog.md>)

Topics: [SDKs](<https://devfeed.tech/topics/sdks.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [Google AI](<https://devfeed.tech/topics/google-ai.md>)

Tags: [anthropic](<https://devfeed.tech/tags/anthropic.md>), [api](<https://devfeed.tech/tags/api.md>), [apple](<https://devfeed.tech/tags/apple.md>), [community](<https://devfeed.tech/tags/community.md>), [coreml](<https://devfeed.tech/tags/coreml.md>), [gemini](<https://devfeed.tech/tags/gemini.md>), [llama-cpp](<https://devfeed.tech/tags/llama-cpp.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llms](<https://devfeed.tech/tags/llms.md>), [local](<https://devfeed.tech/tags/local.md>), [mlx](<https://devfeed.tech/tags/mlx.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [openai](<https://devfeed.tech/tags/openai.md>), [remote](<https://devfeed.tech/tags/remote.md>), [swift](<https://devfeed.tech/tags/swift.md>)

### AI overview

AnyLanguageModel is a Swift package that lets Apple-platform developers use a common Foundation Models-style API across local and remote LLM providers.

### Source excerpt

We're on a journey to advance and democratize artificial intelligence through open source and open science.

## SOTA OCR with Core ML and dots.ocr

DevFeed: [SOTA OCR with Core ML and dots.ocr](<https://devfeed.tech/articles/sota-ocr-with-core-ml-and-dots-ocr-7174.md>)

Original publisher: [Read original article](<https://huggingface.co/blog/dots-ocr-ne>)

Author: Christopher Fleetwood; Pedro Cuenca

Published: 2025-10-02T00:00:00Z

Content type: tutorial

Language: en

Sources: [Hugging Face - Blog](<https://devfeed.tech/sources/hugging-face-blog.md>)

Topics: [MLX](<https://devfeed.tech/topics/mlx.md>), [PyTorch](<https://devfeed.tech/topics/pytorch.md>)

Tags: [apple](<https://devfeed.tech/tags/apple.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [battery](<https://devfeed.tech/tags/battery.md>), [coreml](<https://devfeed.tech/tags/coreml.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [developers](<https://devfeed.tech/tags/developers.md>), [framework](<https://devfeed.tech/tags/framework.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [high-performance](<https://devfeed.tech/tags/high-performance.md>), [images](<https://devfeed.tech/tags/images.md>), [mlx](<https://devfeed.tech/tags/mlx.md>), [model](<https://devfeed.tech/tags/model.md>), [ocr](<https://devfeed.tech/tags/ocr.md>), [on-device](<https://devfeed.tech/tags/on-device.md>), [parameter](<https://devfeed.tech/tags/parameter.md>), [precision](<https://devfeed.tech/tags/precision.md>), [pytorch](<https://devfeed.tech/tags/pytorch.md>), [repo](<https://devfeed.tech/tags/repo.md>), [tools](<https://devfeed.tech/tags/tools.md>), [vision](<https://devfeed.tech/tags/vision.md>)

### AI overview

This tutorial explains how to convert dots.ocr from PyTorch to Core ML for on-device execution on Apple hardware. It discusses the roles of the Neural Engine, GPU, MLX, and Core ML, then outlines a staged conversion process beginning with GPU execution, FLOAT32 precision, and static shapes.

### Source excerpt

We're on a journey to advance and democratize artificial intelligence through open source and open science.

## Swift Transformers Reaches 1.0 - and Looks to the Future

DevFeed: [Swift Transformers Reaches 1.0 - and Looks to the Future](<https://devfeed.tech/articles/swift-transformers-reaches-1-0-and-looks-to-the-future-7496.md>)

Original publisher: [Read original article](<https://huggingface.co/blog/swift-transformers>)

Author: Pedro Cuenca; Christopher Fleetwood; Mattt; Vaibhav Srivastav

Published: 2025-09-26T00:00:00Z

Content type: release

Language: en

Sources: [Hugging Face - Blog](<https://devfeed.tech/sources/hugging-face-blog.md>)

Topics: [swift-transformers](<https://devfeed.tech/topics/swift-transformers.md>), [MLX](<https://devfeed.tech/topics/mlx.md>), [Swift](<https://devfeed.tech/topics/swift.md>), [Inference](<https://devfeed.tech/topics/inference.md>), [Local AI](<https://devfeed.tech/topics/local-ai.md>), [hugging face](<https://devfeed.tech/topics/hugging-face.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [apple](<https://devfeed.tech/tags/apple.md>), [asr](<https://devfeed.tech/tags/asr.md>), [coreml](<https://devfeed.tech/tags/coreml.md>), [hugging-face](<https://devfeed.tech/tags/hugging-face.md>), [inference](<https://devfeed.tech/tags/inference.md>), [llms](<https://devfeed.tech/tags/llms.md>), [local](<https://devfeed.tech/tags/local.md>), [mlx](<https://devfeed.tech/tags/mlx.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [swift](<https://devfeed.tech/tags/swift.md>), [swift-transformers](<https://devfeed.tech/tags/swift-transformers.md>), [transformers](<https://devfeed.tech/tags/transformers.md>)

### AI overview

swift-transformers reaches version 1.0 as a Swift library for running local models on Apple Silicon, including iPhones. It combines input preparation, Hugging Face Hub access, local caching and offline downloads, and wrappers for running Core ML-converted LLMs. The release establishes a stable foundation for Apple-focused local inference and future MLX and agentic use cases.

### Source excerpt

We're on a journey to advance and democratize artificial intelligence through open source and open science.

## WWDC 24: Running Mistral 7B with Core ML

DevFeed: [WWDC 24: Running Mistral 7B with Core ML](<https://devfeed.tech/articles/wwdc-24-running-mistral-7b-with-core-ml-7353.md>)

Original publisher: [Read original article](<https://huggingface.co/blog/mistral-coreml>)

Author: Pedro Cuenca; Christopher Fleetwood; Vaibhav Srivastav; Omar Sanseviero

Published: 2024-07-22T00:00:00Z

Content type: tutorial

Language: en

Sources: [Hugging Face - Blog](<https://devfeed.tech/sources/hugging-face-blog.md>)

Topics: [Machine Learning & Artificial Intelligence](<https://devfeed.tech/topics/machine-learning-artificial-intelligence.md>), [Swift](<https://devfeed.tech/topics/swift.md>), [swift-transformers](<https://devfeed.tech/topics/swift-transformers.md>), [AI Models](<https://devfeed.tech/topics/ai-models.md>), [Inference](<https://devfeed.tech/topics/inference.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [macOS](<https://devfeed.tech/topics/macos.md>)

Tags: [ai-models](<https://devfeed.tech/tags/ai-models.md>), [apple](<https://devfeed.tech/tags/apple.md>), [coreml](<https://devfeed.tech/tags/coreml.md>), [guide](<https://devfeed.tech/tags/guide.md>), [inference](<https://devfeed.tech/tags/inference.md>), [llm](<https://devfeed.tech/tags/llm.md>), [mistral](<https://devfeed.tech/tags/mistral.md>), [ml](<https://devfeed.tech/tags/ml.md>), [swift](<https://devfeed.tech/tags/swift.md>), [swift-transformers](<https://devfeed.tech/tags/swift-transformers.md>), [wwdc](<https://devfeed.tech/tags/wwdc.md>)

### AI overview

A hands-on guide to running the Mistral 7B language model on Apple Silicon using Core ML and Swift. It covers converting or downloading Core ML models, running inference, and using new Core ML tensor features introduced with iOS 18 and macOS Sequoia, including execution across the CPU, GPU, and Neural Engine.

### Source excerpt

We're on a journey to advance and democratize artificial intelligence through open source and open science.

## How To Train Your Own GenAI Model

DevFeed: [How To Train Your Own GenAI Model](<https://devfeed.tech/articles/how-to-train-your-own-genai-model-15682.md>)

Original publisher: [Read original article](<https://developer.squareup.com/blog/how-to-train-your-own-genai-model>)

Author: Alessandro Joabar

Published: 2023-12-11T18:00:00Z

Content type: tutorial

Language: en

Sources: [Square Corner Blog RSS Feed](<https://devfeed.tech/sources/square-corner-blog-rss-feed.md>)

Topics: [genai](<https://devfeed.tech/topics/genai.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>), [Transformer](<https://devfeed.tech/topics/transformer.md>), [iOS](<https://devfeed.tech/topics/ios.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [article](<https://devfeed.tech/tags/article.md>), [build](<https://devfeed.tech/tags/build.md>), [coreml](<https://devfeed.tech/tags/coreml.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [genai](<https://devfeed.tech/tags/genai.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [ios](<https://devfeed.tech/tags/ios.md>), [llms](<https://devfeed.tech/tags/llms.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [model](<https://devfeed.tech/tags/model.md>), [offline](<https://devfeed.tech/tags/offline.md>), [open-source](<https://devfeed.tech/tags/open-source.md>)

### AI overview

This tutorial explains how to train a lightweight GPT2-based generative AI model for specialized tasks using private data. It demonstrates a cocktail-recipe generator and discusses open-source models, Seq2Seq training, mobile deployment, CoreML support on iOS, and offline operation.

### Source excerpt

Train lightweight LLMs like GPT2 for specialized tasks without having to use ChatGPT