I'm new to Swift and was hoping the Playground would support loading adaptors. When I tried, I got a permissions error - thinking it's because it's not in the project and Playgrounds don't like going outside the project?
A tutorial and some sample code would be helpful.
Also some benchmarks on how long it's expected to take. Selfishly I'm on an M2 Mac Mini.
How to train and use an adaptor with the Foundation Models is detailed in the following documentation:
Specifically, if you have your adaptor ready, the way to create a session with your adaptor is detailed in the "Try out a local adapter in Xcode" section.
If you follow the process and still see the permissions error, I'll be interested in taking a look if you don't mind to provide all the details that allow reproducing the issue.
Best,
——
Ziqiao Chen
Worldwide Developer Relations.