Open pcuenca opened 1 month ago
We can use one of the snapshot download functions from https://github.com/huggingface/swift-transformers/blob/71963c36da21b29630ee43fa0d748f8f5b88fc33/Sources/Hub/HubApi.swift#L185
It also requires loading the models programmatically, instead of using the auto-generated Swift classes.
We can use one of the snapshot download functions from https://github.com/huggingface/swift-transformers/blob/71963c36da21b29630ee43fa0d748f8f5b88fc33/Sources/Hub/HubApi.swift#L185