Correct licensing: per-model licenses following base-model lineage
Browse files
README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
|
|
|
|
|
|
| 3 |
tags: [pii, redaction, document-ai]
|
| 4 |
---
|
| 5 |
|
|
@@ -118,11 +120,25 @@ deployment setup (the same setup behind the demo Space above).
|
|
| 118 |
|
| 119 |
## License and attribution
|
| 120 |
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 126 |
|
| 127 |
If you use the models or the library, please cite:
|
| 128 |
|
|
|
|
| 1 |
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: per-model-licenses
|
| 4 |
+
license_link: https://huggingface.co/ekacare/pii-redactors#license-and-attribution
|
| 5 |
tags: [pii, redaction, document-ai]
|
| 6 |
---
|
| 7 |
|
|
|
|
| 120 |
|
| 121 |
## License and attribution
|
| 122 |
|
| 123 |
+
The weights are licensed **per model**, following each base model's
|
| 124 |
+
license (a fine-tune is a derivative of its base — the base license
|
| 125 |
+
flows through):
|
| 126 |
+
|
| 127 |
+
| weights | fine-tuned from | license |
|
| 128 |
+
|---|---|---|
|
| 129 |
+
| `text/minilm/` | Multilingual MiniLM (MIT) | **CC-BY-4.0** — free use incl. commercial; credit Eka Care with a link back |
|
| 130 |
+
| `image/layoutlmv3/` | [microsoft/layoutlmv3-base](https://huggingface.co/microsoft/layoutlmv3-base) (CC-BY-NC-SA-4.0) | **CC-BY-NC-SA-4.0** — **non-commercial use only**, ShareAlike |
|
| 131 |
+
| `image/yolo/best.pt` | YOLO11m ([Ultralytics](https://github.com/ultralytics/ultralytics), AGPL-3.0) | **AGPL-3.0** |
|
| 132 |
+
|
| 133 |
+
Practical summary: the **plain-text pipeline (`TextPIIRedactor`) has a
|
| 134 |
+
fully permissive lineage** and may be used commercially with attribution.
|
| 135 |
+
The image pipeline currently inherits its bases' restrictions — no
|
| 136 |
+
commercial use of the LayoutLMv3 fine-tune, and AGPL obligations for the
|
| 137 |
+
visual detector (the `ultralytics` runtime it needs is also AGPL-3.0 and
|
| 138 |
+
is an optional `[visual]` extra of the pip package).
|
| 139 |
+
|
| 140 |
+
The library code is Apache-2.0 at
|
| 141 |
+
https://github.com/eka-care/Eka-PII-redactors.
|
| 142 |
|
| 143 |
If you use the models or the library, please cite:
|
| 144 |
|