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-rc4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use temsa/IrishCore-GlobalPointer-135M-v1-rc4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="temsa/IrishCore-GlobalPointer-135M-v1-rc4")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("temsa/IrishCore-GlobalPointer-135M-v1-rc4") model = AutoModel.from_pretrained("temsa/IrishCore-GlobalPointer-135M-v1-rc4") - Notebooks
- Google Colab
- Kaggle
| { | |
| "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" | |
| } | |