coreai-artifacts / README.md
Peter
Publish Core AI artifact directories
251a6e7
|
Raw
History Blame Contribute Delete
1.58 kB
---
license: other
license_name: upstream-licenses
license_link: https://huggingface.co/lenitas/coreai-artifacts/blob/main/index.json
tags:
- coreai
- ios
- macos
- on-device
- model-artifacts
- lenitas
pipeline_tag: image-segmentation
---
# Lenitas Core AI Artifacts
Hosted Core AI model artifacts for Lenitas.
This repository contains already-exported Core AI directories that can be downloaded by the Lenitas iOS and macOS app. It does not contain model conversion code.
Core AI assets keep the shape produced by `coreai-models`: either a standalone `.aimodel` directory or a resource bundle directory containing `metadata.json`, one or more `.aimodel` directories, tokenizers, schedulers, and related resources.
## Contents
```text
index.json
artifacts/
<model-id>/
<variant>/
metadata.json
*.aimodel/
tokenizer/
```
`index.json` is the app-facing download index. Each entry points to an artifact directory and includes platform support, minimum OS, total size, and per-file SHA-256 checksums.
## Download
The app reads:
```text
https://huggingface.co/lenitas/coreai-artifacts/resolve/main/index.json
```
For each selected artifact, the app downloads files under the entry's `path`, verifies each file, writes into a staging directory, and atomically moves the complete directory into Application Support.
The installed directory is passed to the Core AI runtime or `coreai-models` Swift loader unchanged.
## License
Artifacts may have their own upstream licenses. See each `index.json` entry for license metadata when available.