Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Hugging Face 12 min read Announcement mediumAdept

Introducing AnySpeechRecognizer and AnyDecisionModel: Open Models for Speech and Decisions on Apple Platforms

AnySpeechRecognizer mirrors Apple's SpeechAnalyzer API but lets apps swap in other engines (NVIDIA Parakeet v3/Ultra/Unified and Alibaba Qwen3-ASR on Core ML) and adds Sortformer-based speaker diarization for up to four speakers. On an M4 Max, Parakeet variants reached 1.4–2.8% WER on LibriSpeech files versus 2.1–4.0% for Apple's transcriber, transcribing an hour of audio in 20–40 seconds with about 100 MB of memory. AnyDecisionModel answers yes/no, multiple-choice and rating questions as typed Swift results with probabilities, read from one-token label probabilities or trained decision heads like Cloudflare's Clef. It supports MLX, Core AI, llama.cpp, Jev and Ollama backends, with calibration, rotation debiasing and entropy-based confidence.

Related posts

  • Rumble-2-Flash: an open 0.5B speech model for 40+ languages

    Hugging Face mediumAdept

    Rumble-2-Flash is an Apache 2.0, 0.5B-parameter multilingual speech recognition model covering 40+ languages, built on the Qwen3-ASR architecture so it runs natively in Transformers and vLLM. It was distilled from the larger Rumble-2 using on-policy distillation, where the teacher scores the student's own transcripts token by token, with GOLD aligning the two models' different tokenizers. It averages 6.96% WER on the Open ASR Leaderboard multilingual track, beating omniASR-LLM 7B and Whisper large-v3, exceeds 7,000 RTFx on full batches, and reaches 7.86% WER on a 302-hour call-centre benchmark, close to the 30B Nemotron 3.5 Transcribe.

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

    Hugging Face mediumAdept

    AnyLanguageModel is a Swift package that mirrors Apple's Foundation Models API, so a single `import` swap lets apps target Apple's system model, Core ML, MLX, llama.cpp, Ollama, or cloud providers (OpenAI, Anthropic, Gemini, Hugging Face Inference Providers) through the same session-based interface. Building on Foundation Models rather than a new abstraction keeps the API minimal and familiar. Swift 6.1 package traits let developers opt in only to the heavy local backends they need. The library already extends the API with image inputs for vision-language models, and tool calling, MCP and guided generation across providers are planned before 1.0.

  • Open ASR Leaderboard: Trends and Insights with New Multilingual & Long-Form Tracks

    Hugging Face easyNovice

    Across 60+ open and closed ASR models on 11 datasets, Conformer encoders paired with LLM decoders (Canary-Qwen-2.5B, Granite-Speech-3.3-8B, Phi-4-Multimodal) achieve the lowest English word error rates. CTC and TDT decoders run 10–100× faster (higher RTFx) at slightly worse accuracy, which suits batch and long-form work. Multilingual coverage tends to cost single-language accuracy, as with Whisper Large v3 versus English-tuned variants and MMS versus language-specific encoders. On the new long-form track, closed systems still lead, and Parakeet CTC 1.1B reaches RTFx 2793.75 against Whisper Large v3's 68.56 with WER of 6.68 versus 6.43, though that Parakeet version is English-only.

  • AnyLanguageModel 1.0: One Year of Local Models on Apple Platforms

    Hugging Face mediumAdept

    AnyLanguageModel 1.0 is a Swift package that acts as a drop-in replacement for Apple's Foundation Models framework, letting apps swap the model and provider by changing a single import. Over the past year it gained tool calling, guided generation including nested @Generable types, and image support across every provider. It covers local models via llama.cpp, MLX and Core ML as well as hosted APIs (OpenAI, Anthropic, Gemini, Ollama, Hugging Face Inference Providers, Private Cloud Compute), and reasoning blocks are omitted automatically when switching to a provider that can't replay them. API keys now come from a closure so apps can fetch short-lived tokens, the library runs on Linux, and swift-huggingface and swift-xet 1.0 ship alongside it for faster model downloads from the Hub.

  • Transcribe speech 100x faster and 100x cheaper with open models

    Modal mediumAdept

    Open-weights ASR models such as NVIDIA's parakeet-tdt-0.6b-v2 and canary-1b-flash, deployed as a batch transcription service on Modal GPUs, transcribed about a week of ESB benchmark audio in roughly a minute for about $1. That works out to over 100x faster or up to 200x cheaper than a popular proprietary API, at matching or slightly lower WER. The gains come from measuring end-to-end throughput including cold starts and data transfer, shuffling files before dealing them into requests to balance load across workers, and sorting audio by duration within each GPU worker so batch lanes finish together. Parallel threaded downloads also help. Sweeping GPU type and worker count produces a Pareto frontier of cost-versus-speed configurations rather than a single optimum.

The quest for software engineering knowledge.

Look:
Layout: