Token Classification
Transformers
ONNX
Safetensors
English
Irish
distilbert
pii
de-identification
ireland
irish
gaelic
ppsn
eircode
passport
phone-number
iban
int8
Instructions to use temsa/OpenMed-mLiteClinical-IrishCorePII-135M-v2-rc5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use temsa/OpenMed-mLiteClinical-IrishCorePII-135M-v2-rc5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="temsa/OpenMed-mLiteClinical-IrishCorePII-135M-v2-rc5")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("temsa/OpenMed-mLiteClinical-IrishCorePII-135M-v2-rc5") model = AutoModelForTokenClassification.from_pretrained("temsa/OpenMed-mLiteClinical-IrishCorePII-135M-v2-rc5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "source_dir": "onnx/model.onnx", | |
| "input_model": "models/openmed-mliteclinical-irish-core-v23_fprepair_full_s100_onnx_pp_q8_pc/model.onnx", | |
| "output_model": "models/openmed-mliteclinical-irish-core-v23_fprepair_full_s100_onnx_pp_q8_pc/model_quantized.onnx", | |
| "weight_type": "qint8", | |
| "per_channel": true, | |
| "reduce_range": false, | |
| "op_types": [ | |
| "MatMul", | |
| "Gemm", | |
| "Attention" | |
| ], | |
| "copied_assets": [ | |
| "models/openmed-mliteclinical-irish-core-v23_fprepair_full_s100_onnx_pp/model.onnx", | |
| "onnx_export.json", | |
| "config.json", | |
| "label_meta.json", | |
| "special_tokens_map.json", | |
| "tokenizer.json", | |
| "tokenizer_config.json", | |
| "vocab.txt" | |
| ], | |
| "format": "onnx_dynamic_quantized", | |
| "task": "token-classification", | |
| "source_model": "temsa/OpenMed-mLiteClinical-IrishCorePII-135M-v2-rc5#onnx_full" | |
| } | |