# Model bundle licences

The files in this directory are model assets, not part of the runtime program.
The runtime's GPL-3.0-only licence in `../LICENSE` does not grant rights to
these files, and these licences do not change the runtime's licence.

| Asset | File | Licence |
|---|---|---|
| Weights | `synthetic48-q8.m8` | `CC0-1.0` |
| Embedded tokenizer | inside `synthetic48-q8.m8` | `MIT` |
| Manifest metadata | `synthetic48-q8.manifest.json` | `CC0-1.0` |

## Weights

The weights were trained from scratch by this project on a corpus generated by
`../tools/gen_corpus.py`. No upstream dataset was used, so the project holds
the rights needed to release the weights under CC0-1.0.

CC0 1.0 Universal:
<https://creativecommons.org/publicdomain/zero/1.0/legalcode>

## Tokenizer

The embedded 512-token tokenizer is the tinyllamas tokenizer by Andrej
Karpathy, redistributed under the MIT licence. The source file is
`tok512.bin`, SHA-256
`037cb335abb25d1fa9e8ecae30ed2a3a8ace9302862ebcdc05d51a6bbb10c312`.

MIT licence text:
<https://opensource.org/license/mit>

## Note on metadata

The `licenses` object in the manifest records the intended licence of each
asset. An SPDX identifier is metadata; it does not by itself establish
redistribution rights. This file and `README.md` in this directory are the
provenance record for the bundle.
