huggingface/swift-transformers
A Swift package bringing Hugging Face Transformers language model capabilities to Apple platforms with an idiomatic API.

Velocity · 7d
+1.2
★ / day
Trend
→steady
star history
swift-transformers provides utilities for adopting language models in Swift applications, developed by Hugging Face. It offers tokenization, model downloading from the Hugging Face Hub, and chat template support, providing an API familiar to users of the Python transformers library. This enables iOS and macOS developers to integrate LLM capabilities into native Apple applications.