From 5fc85f4f9c90f2e527cfa10a6c92e5f707723e42 Mon Sep 17 00:00:00 2001 From: andrearuffini Date: Tue, 6 Oct 2026 22:14:03 +0000 Subject: [PATCH] Add README and model licence --- LICENSE | 21 +++++++++++++++++++++ README.md | 27 +++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 LICENSE create mode 100644 README.md diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..51cd653 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Simone Rizzo — Rizzo AI Academy + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..fd2c1cc --- /dev/null +++ b/README.md @@ -0,0 +1,27 @@ +# ai-privacy-models + +Model artifacts used by the [Local Privacy Runtime](https://git.a75.it/andrearuffini/ai_privacy) +(private repository). Only the files needed for local inference are published. + +## rizzo-pii-0.3B — revision d4f9893 + +Published as the generic package +[`rizzo-pii-0.3B` version `d4f9893`](https://git.a75.it/andrearuffini/-/packages/generic/rizzo-pii-0.3B/d4f9893). + +| File | SHA-256 | +|---|---| +| `config.json` | `6b9d5bdd4a194d40fb40c53fdc302e225514cd7940d97f657c4082454ee7e91b` | +| `tokenizer.json` | `a0ab5772a8c5450f45a66c95985d6df2205bf09449ba7ff7bb46de034eaa118a` | +| `model.onnx` | `32e403d1607f05acc2e1c2582418dbeec464c50ce7362eeacc9ea9dadce1dd3c` | + +- **Source model:** [`rizzoaiacademy/rizzo-pii-0.3B`](https://huggingface.co/rizzoaiacademy/rizzo-pii-0.3B), + revision `d4f989333bcda1fcb188785a12937b0f52b52580`, by Simone Rizzo — Rizzo AI Academy. +- **`config.json`, `tokenizer.json`:** unchanged from the source revision. +- **`model.onnx`:** FP32 ONNX export of the source weights, produced and validated by the + Local Privacy Runtime project (opset 18; parity with the PyTorch reference within + `atol=5e-5` on a synthetic corpus). Not an official artifact of the model author. +- **Licence:** MIT, see [`LICENSE`](LICENSE). + +Do not trust these files because of where they come from: the runtime verifies every +file against the SHA-256 values above, which are compiled into its binaries +(`local-privacy-cli model install`).