File size: 1,388 Bytes
22314d8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
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.