Developers working with Apple platforms now have access to two new open-source packages that extend local machine learning capabilities beyond language generation. The releases, AnySpeechRecognizer and AnyDecisionModel, introduce specialized models for speech-to-text and probabilistic decision-making, offering alternatives to using general-purpose language models for these tasks.
What Happened
The Hugging Face team announced the release of AnySpeechRecognizer and AnyDecisionModel, Swift packages designed to integrate directly with Apple's native APIs. AnySpeechRecognizer mirrors Apple’s new SpeechAnalyzer API introduced in macOS 26 and iOS 26 but allows developers to swap the underlying engine. The package supports NVIDIA’s Parakeet v3 and Ultra, as well as Alibaba’s Qwen3-ASR, all running locally on Core ML. It also introduces a SpeakerDiarizer module, which tracks up to four speakers in a conversation, a feature currently missing from Apple’s standard Speech framework.
AnyDecisionModel takes a different approach by focusing on structured outputs rather than text generation. It answers yes-or-no, multiple-choice, and rating-scale questions by deriving answers from model probabilities. The package supports multiple backends, including MLX, Core AI, and llama.cpp for local execution, as well as hosted services like Jev and Ollama. It also integrates with Cloudflare’s Clef models, which use a trained decision head to return probabilities for all allowed options in a single forward pass.
Why It Matters
For developers, these packages address the inefficiency of using large language models for simple classification or transcription tasks. By providing specialized, smaller models that run on-device, the tools offer faster inference times and lower memory usage compared to prompting a general-purpose LLM. For instance, the source reports that Parakeet models can transcribe an hour of audio in about 20 to 40 seconds from a file on an M4 Max Mac Studio, with word error rates ranging from 1.43% to 2.78% on standard datasets.
The addition of speaker diarization in AnySpeechRecognizer fills a significant gap in Apple’s native capabilities, enabling more complex applications such as meeting summaries or customer support analysis without relying on third-party cloud services. AnyDecisionModel’s typed results allow for more robust application logic, as developers receive probabilities and confidence values rather than unstructured text that requires parsing. The inclusion of calibration features helps mitigate the overconfidence often seen in language models, allowing for more reliable decision-making in automated workflows.
The Bottom Line
AnySpeechRecognizer and AnyDecisionModel provide open, local alternatives to cloud-based AI services for speech and decision tasks on Apple hardware. By leveraging Core ML and MLX, these packages enable developers to build responsive, private applications that utilize specialized models for transcription and structured classification, with ongoing support for additional engines and platforms as they mature.