Packages authored by Hugging Face
These packages are available as a package collection, usable in Xcode or SwiftPM.
AnyLanguageModel
An API-compatible, drop-in replacement for Apple's Foundation Models framework with support for custom language model providers.
Jinja
A minimalistic Swift implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.
swift-huggingface
A Swift client for Hugging Face Hub and Inference Providers APIs
swift-transformers
Swift Package to implement a transformers-like API in Swift
Xet
A Swift implementation of the Xet protocol
5 packages.