|
1206 | 1206 | - filename: privacy-filter/models/privacy-filter-multilingual/privacy-filter-multilingual-f16.gguf |
1207 | 1207 | sha256: 01b76572f80b7d2ebee80a27cb9c3699c26b04cae1c402eee7664fc17a4b5ce6 |
1208 | 1208 | uri: https://huggingface.co/LocalAI-io/privacy-filter-multilingual-GGUF/resolve/main/privacy-filter-multilingual-f16.gguf |
| 1209 | +- name: "privacy-filter-nemotron" |
| 1210 | + url: "github:mudler/LocalAI/gallery/virtual.yaml@master" |
| 1211 | + icon: https://cdn-avatars.huggingface.co/v1/production/uploads/5fd5e18a90b6dc4633f6d292/QPiv8pt4JNxr0FdGnpFef.png |
| 1212 | + urls: |
| 1213 | + - https://huggingface.co/OpenMed/privacy-filter-nemotron |
| 1214 | + - https://huggingface.co/LocalAI-io/privacy-filter-nemotron-GGUF |
| 1215 | + description: | |
| 1216 | + A fine-grained English PII token-classification model: a fine-tune of |
| 1217 | + openai/privacy-filter by OpenMed on NVIDIA's Nemotron-PII dataset. It labels |
| 1218 | + every token with a BIOES tag over 55 PII categories (221 classes), trading |
| 1219 | + the multilingual sibling's language breadth for category depth - identity, |
| 1220 | + contact, address, dates, government IDs, financial, healthcare, enterprise, |
| 1221 | + vehicle and digital entities (including api_key, ipv4/ipv6 and mac_address). |
| 1222 | + For multilingual text prefer privacy-filter-multilingual instead. |
| 1223 | + |
| 1224 | + In LocalAI this is a PII detector for the NER redactor tier: set |
| 1225 | + known_usecases to [token_classify] (as below), and any model opts into |
| 1226 | + redaction by listing this one under pii.detectors. The detection policy |
| 1227 | + (which categories to mask vs block, and the score threshold) lives on this |
| 1228 | + model's own pii_detection block - see the overrides below. It runs locally |
| 1229 | + with no Python, served by the standalone privacy-filter backend's |
| 1230 | + TokenClassify RPC (constrained BIOES Viterbi decode into UTF-8 byte-offset |
| 1231 | + entity spans). |
| 1232 | + |
| 1233 | + Architecture: gpt-oss-style sparse MoE (8 layers, d_model 640, 128 experts |
| 1234 | + top-4, ~1.5B total / ~50M active per token), bidirectional banded attention, |
| 1235 | + o200k tokenizer and a 221-way token-classification head; served via the |
| 1236 | + openai-privacy-filter architecture. F16, ~2.8 GB. (A smaller Q8_0 quant |
| 1237 | + exists on the GGUF repo for RAM-constrained use - validate it on your own |
| 1238 | + data, since for PII a single dropped span is a leak.) |
| 1239 | + license: apache-2.0 |
| 1240 | + tags: |
| 1241 | + - token-classification |
| 1242 | + - ner |
| 1243 | + - pii |
| 1244 | + - privacy |
| 1245 | + - nemotron |
| 1246 | + - gguf |
| 1247 | + overrides: |
| 1248 | + backend: privacy-filter |
| 1249 | + embeddings: true |
| 1250 | + known_usecases: |
| 1251 | + - token_classify |
| 1252 | + parameters: |
| 1253 | + model: privacy-filter/models/privacy-filter-nemotron/privacy-filter-nemotron-f16.gguf |
| 1254 | + pii_detection: |
| 1255 | + min_score: 0.5 |
| 1256 | + default_action: mask |
| 1257 | + files: |
| 1258 | + - filename: privacy-filter/models/privacy-filter-nemotron/privacy-filter-nemotron-f16.gguf |
| 1259 | + sha256: 70dfe91ff220ff04594168a83e296dcc2054449cde77f98d0e782edbb6a31f5a |
| 1260 | + uri: https://huggingface.co/LocalAI-io/privacy-filter-nemotron-GGUF/resolve/main/privacy-filter-nemotron-f16.gguf |
| 1261 | +- name: "privacy-filter-nemotron-q8" |
| 1262 | + url: "github:mudler/LocalAI/gallery/virtual.yaml@master" |
| 1263 | + icon: https://cdn-avatars.huggingface.co/v1/production/uploads/5fd5e18a90b6dc4633f6d292/QPiv8pt4JNxr0FdGnpFef.png |
| 1264 | + urls: |
| 1265 | + - https://huggingface.co/OpenMed/privacy-filter-nemotron |
| 1266 | + - https://huggingface.co/LocalAI-io/privacy-filter-nemotron-GGUF |
| 1267 | + description: | |
| 1268 | + Q8_0 quant of privacy-filter-nemotron (~1.64 GB, vs ~2.8 GB for F16) for |
| 1269 | + RAM-constrained / edge use (e.g. a 4 GB Raspberry Pi 5). The MoE expert |
| 1270 | + weights are stored 8-bit; attention, embeddings and the classifier head |
| 1271 | + stay F16. Same model, policy and runtime as the F16 entry - see |
| 1272 | + privacy-filter-nemotron for the full description. |
| 1273 | + |
| 1274 | + Prefer the F16 entry when you can afford it: it is the reference artifact. |
| 1275 | + On a mixed-PII document the publisher measured q8 matching F16 on 99.93% of |
| 1276 | + token labels with an identical span set at threshold 0.5 - but one token |
| 1277 | + flipped, and for PII a single dropped span is a leak. Treat q8 as a |
| 1278 | + deliberate size/speed tradeoff and validate it on your own data. |
| 1279 | + license: apache-2.0 |
| 1280 | + tags: |
| 1281 | + - token-classification |
| 1282 | + - ner |
| 1283 | + - pii |
| 1284 | + - privacy |
| 1285 | + - nemotron |
| 1286 | + - gguf |
| 1287 | + overrides: |
| 1288 | + backend: privacy-filter |
| 1289 | + embeddings: true |
| 1290 | + known_usecases: |
| 1291 | + - token_classify |
| 1292 | + parameters: |
| 1293 | + model: privacy-filter/models/privacy-filter-nemotron/privacy-filter-nemotron-q8.gguf |
| 1294 | + pii_detection: |
| 1295 | + min_score: 0.5 |
| 1296 | + default_action: mask |
| 1297 | + files: |
| 1298 | + - filename: privacy-filter/models/privacy-filter-nemotron/privacy-filter-nemotron-q8.gguf |
| 1299 | + sha256: 2ec11c154e572a2686f4d77e861b7f74e6917e09638fe9bd27156d48bd99e21a |
| 1300 | + uri: https://huggingface.co/LocalAI-io/privacy-filter-nemotron-GGUF/resolve/main/privacy-filter-nemotron-q8.gguf |
1209 | 1301 | - name: "secret-filter" |
1210 | 1302 | url: "github:mudler/LocalAI/gallery/virtual.yaml@master" |
1211 | 1303 | description: | |
|
0 commit comments