Training an LLM in Swift, Part 2: macOS built-in frameworks

In this article, I&rsquo;m going to look at some of the frameworks that are built into macOS for numerical algorithms. Fitting with the theme of this series, I&rsquo;ll mostly be looking at frameworks that can also train an ML model. But there&rsquo;s a lot of different approaches – Accelerate (BLAS), BNNS, CoreML, MPSGraph – and the real challenge is knowing which one to use – if they are even…