-
Notifications
You must be signed in to change notification settings - Fork 156
Open
Labels
good first issueGood for newcomersGood for newcomershubRelated to the Swift -> Hugging Face Hub integrationRelated to the Swift -> Hugging Face Hub integration
Description
The Python transformers library downloads models to ~/.cache/huggingface/hub. This allows reuse of previously downloaded models by multiple apps. Currently, calling HubApi.shapshot in swift-transformers downloads the models to a specified directory, with a different directory structure than the one used by Python transformers. As more apps get built with these libraries, it would be great if swift-transformers and Python transformers could share models in the user's home directory on macOS. (If I understand correctly, this isn't possible on iOS, although apps within the same app group can save models to the app group's shared directory.)
mattt
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershubRelated to the Swift -> Hugging Face Hub integrationRelated to the Swift -> Hugging Face Hub integration