Rare find

Swift Transformers. Use AI language models in iPhone and Mac apps.

github.com/huggingface/swift-transformers

Vaya's read on this project

Problem, audience, market, and the verdict — sign in to see it.

Updates

June 2026
  • Bump actions/cache from 5.0.5 to 6.1.0 (#375)
  • Bump actions/checkout from 6.0.2 to 7.0.0 (#373)
  • Add Sendable conformance to Hub.Repo and Hub.RepoType (#374)
May 2026
  • AutoTokenizer.from(pretrained:) supports revision (#361)
  • Release —1.3.3
  • Unigram lattice walks Unicode scalars (#352, Bug 3) (#356)
  • BPE merge by Unicode scalar, not grapheme cluster (#352, Bug 4) (#355)
  • Strip Japanese voiced-kana marks in BasicTokenizer (#352, Bug 2) (#354)
  • Fix Bert NFD decomposition (#353)
  • Release —1.3.2
  • Speed up BPE merge with priority-queue algorithm (5-12x on inner loop…
  • Speed up SentencePiece/Unigram tokenization (O(N²) → O(N), ~15-25x on…
  • Cache pre-tokenize regex for Bert/whitespace/punctuation/digits (#349)
  • Cache byte-level pre-tokenize regex and inline byte encoder lookup (#…
  • Attempt to fix CI on push events (#351)
  • Release —1.3.1
  • Honor `prepend_scheme` in MetaspaceDecoder (#345)
April 2026
  • Bump actions/cache from 5.0.4 to 5.0.5 (#342)
  • 🔒 pin ci.yml actions to commit SHAs (#340)
March 2026
  • Release —1.3.0
  • Add Swift 6.1 manifest to forward Xet trait to `swift-huggingface` de…
  • Release —1.2.1
  • Fix progress handler regression (#336)
  • Create background Hub clients only if necessary (#338)
  • Release —1.2.0
  • Remove `Downloader` and update `HubApi.download` to throw `HubClientE…
  • Release —1.1.9
February 2026
  • Release —1.1.8
  • Release —1.1.7
December 2025
  • Release —1.1.6