Lead story
Models & availability
Latest
Lead story
Models & availability
Latest
Hugging Face released swift-huggingface, a Swift package that provides a full client for the Hugging Face Hub, including network improvements, a shared cache with Python, flexible authentication, and OAuth support.
From the source
swift-huggingface is a ground-up rewrite focused on reliability and developer experience. It provides: Complete Hub API coverage — models, datasets, spaces, collections, discussions, and more Robust file operations — progress tracking, resume support, and proper error handling Python-compatible cache — share downloaded models between Swift and Python clients Flexible authentication — a TokenProvider pattern that makes credential sources explicit OAuth support — first-class support for user-facing apps that need to authenticate users Xet storage backend support (Coming soon!) — chunk-based deduplication for significantly faster downloads
huggingface.co