Instructions to use mlboydaisuke/GLiNER2-PII-CoreAI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use mlboydaisuke/GLiNER2-PII-CoreAI with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("mlboydaisuke/GLiNER2-PII-CoreAI") - Notebooks
- Google Colab
- Kaggle
ios/: the JIT .aimodel alone (every iPhone generation specializes it); the h18p AOT files move to ios-h18p/
Browse filesMeasured 2026-09-26 on the iPhone 18 Pro (h19p): the shipped ios/ bundle, JIT IR beside h18p delegates, was refused with incompatibleCompiledAssetArchitecture; the JIT files alone load in 0.75 s. Record: knowledge/jit-distribution.md in john-rocky/coreai-model-zoo.
- .gitattributes +3 -0
- ios-h18p/extractor.json +21 -0
- {ios/gliner2-pii_float16_s256_t96_m16.aimodel → ios-h18p/gliner2-pii_float16_s256_t96_m16.h18p.aimodelc}/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/manifest.plist +0 -0
- {ios/gliner2-pii_float16_s256_t96_m16.aimodel → ios-h18p/gliner2-pii_float16_s256_t96_m16.h18p.aimodelc}/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/original_model_0.mpsgraph +0 -0
- {ios/gliner2-pii_float16_s256_t96_m16.aimodel → ios-h18p/gliner2-pii_float16_s256_t96_m16.h18p.aimodelc}/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/resources.bin +0 -0
- {ios/gliner2-pii_float16_s256_t96_m16.aimodel → ios-h18p/gliner2-pii_float16_s256_t96_m16.h18p.aimodelc}/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/specialized_model_1.mpsgraph +0 -0
- {ios/gliner2-pii_float16_s256_t96_m16.aimodel → ios-h18p/gliner2-pii_float16_s256_t96_m16.h18p.aimodelc}/main-h18p.mlirb +0 -0
- ios-h18p/gliner2-pii_float16_s256_t96_m16.h18p.aimodelc/main.hash +1 -0
- ios-h18p/gliner2-pii_float16_s256_t96_m16.h18p.aimodelc/metadata.json +8 -0
- {ios/gliner2-pii_float16_s256_t96_m16.aimodel → ios-h18p/gliner2-pii_float16_s256_t96_m16.h18p.aimodelc}/stats.json +0 -0
- ios-h18p/tokenizer/tokenizer.json +3 -0
- ios-h18p/tokenizer/tokenizer_config.json +33 -0
.gitattributes
CHANGED
|
@@ -39,3 +39,6 @@ ios/tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
| 39 |
macos/gliner2-pii_float16_s256_t96_m16.aimodel/main.mlirb filter=lfs diff=lfs merge=lfs -text
|
| 40 |
macos/tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 41 |
ios/gliner2-pii_float16_s256_t96_m16.aimodel/main.mlirb filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
macos/gliner2-pii_float16_s256_t96_m16.aimodel/main.mlirb filter=lfs diff=lfs merge=lfs -text
|
| 40 |
macos/tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 41 |
ios/gliner2-pii_float16_s256_t96_m16.aimodel/main.mlirb filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
ios-h18p/gliner2-pii_float16_s256_t96_m16.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/original_model_0.mpsgraph filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
ios-h18p/gliner2-pii_float16_s256_t96_m16.h18p.aimodelc/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/specialized_model_1.mpsgraph filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
ios-h18p/tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
ios-h18p/extractor.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"S": 256,
|
| 3 |
+
"T": 96,
|
| 4 |
+
"MMAX": 16,
|
| 5 |
+
"K": 8,
|
| 6 |
+
"threshold": 0.5,
|
| 7 |
+
"prompt_token": "entities",
|
| 8 |
+
"marker_ids": {
|
| 9 |
+
"[P]": 250104,
|
| 10 |
+
"[E]": 250106,
|
| 11 |
+
"[SEP_TEXT]": 250103,
|
| 12 |
+
"[SEP_STRUCT]": 250102
|
| 13 |
+
},
|
| 14 |
+
"pool_ids": [
|
| 15 |
+
250104,
|
| 16 |
+
250105,
|
| 17 |
+
250106,
|
| 18 |
+
250107,
|
| 19 |
+
250108
|
| 20 |
+
]
|
| 21 |
+
}
|
{ios/gliner2-pii_float16_s256_t96_m16.aimodel → ios-h18p/gliner2-pii_float16_s256_t96_m16.h18p.aimodelc}/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/manifest.plist
RENAMED
|
File without changes
|
{ios/gliner2-pii_float16_s256_t96_m16.aimodel → ios-h18p/gliner2-pii_float16_s256_t96_m16.h18p.aimodelc}/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/original_model_0.mpsgraph
RENAMED
|
File without changes
|
{ios/gliner2-pii_float16_s256_t96_m16.aimodel → ios-h18p/gliner2-pii_float16_s256_t96_m16.h18p.aimodelc}/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/resources.bin
RENAMED
|
File without changes
|
{ios/gliner2-pii_float16_s256_t96_m16.aimodel → ios-h18p/gliner2-pii_float16_s256_t96_m16.h18p.aimodelc}/main-h18p-delegates/MPSGraph/mpsExecutable.mpsgraphpackage/specialized_model_1.mpsgraph
RENAMED
|
File without changes
|
{ios/gliner2-pii_float16_s256_t96_m16.aimodel → ios-h18p/gliner2-pii_float16_s256_t96_m16.h18p.aimodelc}/main-h18p.mlirb
RENAMED
|
File without changes
|
ios-h18p/gliner2-pii_float16_s256_t96_m16.h18p.aimodelc/main.hash
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
���7<S�;�JK>xANb����@���(��
|
ios-h18p/gliner2-pii_float16_s256_t96_m16.h18p.aimodelc/metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"creationDate" : "20260720T174953Z",
|
| 3 |
+
"author" : "fastino (GLiNER2-PII); mDeBERTa-v3 base (Microsoft, MIT)",
|
| 4 |
+
"license" : "Apache-2.0",
|
| 5 |
+
"assetVersion" : "2.0",
|
| 6 |
+
"description" : "GLiNER2 schema-driven information extraction (PII) — mDeBERTa-v3 + SpanMarker + CountLSTM, fused static graph.",
|
| 7 |
+
"producer" : "coreai-core 1.0.0b2"
|
| 8 |
+
}
|
{ios/gliner2-pii_float16_s256_t96_m16.aimodel → ios-h18p/gliner2-pii_float16_s256_t96_m16.h18p.aimodelc}/stats.json
RENAMED
|
File without changes
|
ios-h18p/tokenizer/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f6df10ec83bea993035b2dd7c39345a3d4fcf23421c2adb6cb4ffc1e6d1bc4b5
|
| 3 |
+
size 16020604
|
ios-h18p/tokenizer/tokenizer_config.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": true,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": "[CLS]",
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"cls_token": "[CLS]",
|
| 7 |
+
"do_lower_case": false,
|
| 8 |
+
"eos_token": "[SEP]",
|
| 9 |
+
"extra_special_tokens": [
|
| 10 |
+
"[SEP_STRUCT]",
|
| 11 |
+
"[SEP_TEXT]",
|
| 12 |
+
"[P]",
|
| 13 |
+
"[C]",
|
| 14 |
+
"[E]",
|
| 15 |
+
"[R]",
|
| 16 |
+
"[L]",
|
| 17 |
+
"[EXAMPLE]",
|
| 18 |
+
"[OUTPUT]",
|
| 19 |
+
"[DESCRIPTION]"
|
| 20 |
+
],
|
| 21 |
+
"is_local": false,
|
| 22 |
+
"local_files_only": false,
|
| 23 |
+
"mask_token": "[MASK]",
|
| 24 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 25 |
+
"pad_token": "[PAD]",
|
| 26 |
+
"sep_token": "[SEP]",
|
| 27 |
+
"sp_model_kwargs": {},
|
| 28 |
+
"split_by_punct": false,
|
| 29 |
+
"tokenizer_class": "XLMRobertaTokenizer",
|
| 30 |
+
"unk_id": 3,
|
| 31 |
+
"unk_token": "[UNK]",
|
| 32 |
+
"vocab_type": "spm"
|
| 33 |
+
}
|