← all repositories

huggingface/swift-transformers

A Swift package bringing Hugging Face Transformers language model capabilities to Apple platforms with an idiomatic API.

swift-transformers
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.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.