Making open AI useful in native apps takes more than a model. Developers also need ways to download model files, prepare text, and connect the pieces to an application. My work with the Hugging Face community focuses on that Swift foundation.
This is a collection of related projects: AnyLanguageModel and AnyDecisionModel alongside libraries for the Hugging Face Hub, transformers, Jinja templates, and Xet downloads. AnyDecisionModel follows the same model-and-session pattern for typed decisions: yes-or-no probabilities, choices among options, and scores on ordinal scales. Together, they cover different parts of bringing language models into Swift software. Explore the individual repositories for their documentation and examples.