| license: apache-2.0 | |
| tags: | |
| - react-native-executorch | |
| - spec | |
| # react-native-executorch Spec | |
| Machine-readable specifications for | |
| [`react-native-executorch`](https://github.com/software-mansion/react-native-executorch) | |
| model repositories under | |
| [`software-mansion`](https://huggingface.co/software-mansion). | |
| ## Contents | |
| | File | Purpose | | |
| | -------------------- | ----------------------------------------------------------------------------------------- | | |
| | `config.schema.json` | JSON Schema for the per-backend `config.json` files shipped alongside each `.pte`. | | |
| | `precisions.json` | Authoritative quantized / non-quantized partition for precision tokens used in file names. | | |
| | `README.md` | This file. | | |
| ## Source of truth | |
| The human-readable spec lives at | |
| [`software-mansion/react-native-executorch:MODEL_SPEC.md`](https://github.com/software-mansion/react-native-executorch/blob/main/MODEL_SPEC.md). | |
| Edit that document first; the artifacts here are derived from it. | |
| ## Versioning | |
| The schema is referenced by `$schema` from every `config.json` in the | |
| ecosystem. Breaking changes get a new `$id` URL and the old one stays | |
| available so existing files continue to validate. | |