CoreNet is a Python library from Apple for training AI models, specifically the kind called deep neural networks. It is the internal toolkit Apple researchers use to build and experiment with models that can recognize objects in images, segment images into regions, detect objects, and work with large language models. Several published Apple research papers were produced using this library, and the repository includes the training configurations needed to reproduce those results. The library supports a wide range of model types, from lightweight models designed to run efficiently on phones to larger foundation models used in vision-language tasks. Pre-trained model weights for many of these are available alongside the code. Tutorials and Jupyter notebooks are included to help newcomers get started, covering tasks like training a new model from scratch and running semantic segmentation or object detection. One notable included project is OpenELM, a family of efficient language models trained and released with open weights. Another is CatLIP, which achieves competitive image-text recognition at faster training speeds. These are packaged as separate project directories within the repository, each with documentation and configuration files. For developers who use Apple Silicon hardware, the repository also includes examples that run CoreNet models via MLX, Apple's framework optimized for Mac chips. This makes it possible to run inference locally on a Mac without needing a data-center GPU. Installation requires Python 3.10 or higher on Linux, or Python 3.9 or higher on macOS, along with a recent version of the PyTorch library. The repository uses Git LFS to store large binary files like datasets and checkpoints, so that tool must be installed before cloning. The library is oriented toward researchers and engineers who want to train or fine-tune models rather than end users looking for a finished product.
← apple on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.