Token Classification
Transformers
ONNX
Safetensors
English
Irish
distilbert
pii
de-identification
ireland
irish
gaelic
global-pointer
span-extraction
ppsn
eircode
int8
dynamic-quantization
cpu
Eval Results (legacy)
Instructions to use temsa/IrishCore-GlobalPointer-135M-v1-rc3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use temsa/IrishCore-GlobalPointer-135M-v1-rc3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="temsa/IrishCore-GlobalPointer-135M-v1-rc3")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("temsa/IrishCore-GlobalPointer-135M-v1-rc3") model = AutoModel.from_pretrained("temsa/IrishCore-GlobalPointer-135M-v1-rc3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 1,167 Bytes
6b3b01c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | {
"base_model": "OpenMed/OpenMed-PII-mLiteClinical-Base-135M-v1",
"init_from": "release/IrishCore-GlobalPointer-135M-v1-rc2",
"init_encoder_from": "temsa/IrishCore-DiffMask-135M-v1-rc6",
"init_mode": "full_global_pointer",
"label_names": [
"ACCOUNT_NUMBER",
"BANK_ROUTING_NUMBER",
"CREDIT_DEBIT_CARD",
"EMAIL",
"FIRST_NAME",
"LAST_NAME",
"PASSPORT_NUMBER",
"PHONE_NUMBER",
"POSTCODE",
"PPSN",
"SWIFT_BIC"
],
"max_length": 128,
"task": "Irish core PII global-pointer span extraction",
"freeze_layers": 2,
"span_positive_weight": 8.0,
"global_pointer_head_size": 64,
"global_pointer_use_rope": true,
"global_pointer_negative_ratio": 16,
"global_pointer_min_negatives": 256,
"fitted_label_max_span_tokens": {
"ACCOUNT_NUMBER": 19,
"BANK_ROUTING_NUMBER": 6,
"CREDIT_DEBIT_CARD": 12,
"EMAIL": 15,
"FIRST_NAME": 6,
"LAST_NAME": 8,
"PASSPORT_NUMBER": 8,
"PHONE_NUMBER": 10,
"POSTCODE": 8,
"PPSN": 9,
"SWIFT_BIC": 8
},
"train_examples": 9909,
"valid_examples": 678,
"test_examples": 689,
"data": "data/irish_core_globalpointer_focus_chatbot_v3"
}
|