Base Model:
broadfield-dev/bert-mini-ner-pii-training-tuned-12270113
Task:
token-classification
Opset Version:
17
Optimization:
FP32 (No Quantization)
Usage
Installation
For a lightweight mobile/serverless setup, you only need
onnxruntime
and
tokenizers
.
pip install onnxruntime tokenizers
Python Example
from tokenizers import Tokenizer
import onnxruntime as ort
import numpy as np
# 1. Load the lightweight tokenizer (No Transformers dependency needed)
tokenizer = Tokenizer.from_pretrained("broadfield-dev/bert-mini-ner-pii-mobile")
# 2. Load the ONNX model
session = ort.InferenceSession("model.onnx")
# 3. Preprocess (Simple text encoding)
text = "Run inference on mobile!"
encoding = tokenizer.encode(text)
# Prepare inputs (Exact names vary by model, usually input_ids + attention_mask)
inputs = {
"input_ids": np.array([encoding.ids], dtype=np.int64),
"attention_mask": np.array([encoding.attention_mask], dtype=np.int64)
}
# 4. Run Inference
outputs = session.run(None, inputs)
print("Output logits shape:", outputs[0].shape)
About this Export
This model was exported using
Optimum
.
It includes the
FP32 (No Quantization)
quantization settings and a pre-compiled
tokenizer.json
for fast loading.
Runs of broadfield-dev bert-mini-ner-pii-mobile on huggingface.co
9
Total runs
0
24-hour runs
0
3-day runs
1
7-day runs
9
30-day runs
More Information About bert-mini-ner-pii-mobile huggingface.co Model
bert-mini-ner-pii-mobile huggingface.co
bert-mini-ner-pii-mobile huggingface.co is an AI model on huggingface.co that provides bert-mini-ner-pii-mobile's model effect (), which can be used instantly with this broadfield-dev bert-mini-ner-pii-mobile model. huggingface.co supports a free trial of the bert-mini-ner-pii-mobile model, and also provides paid use of the bert-mini-ner-pii-mobile. Support call bert-mini-ner-pii-mobile model through api, including Node.js, Python, http.
bert-mini-ner-pii-mobile huggingface.co is an online trial and call api platform, which integrates bert-mini-ner-pii-mobile's modeling effects, including api services, and provides a free online trial of bert-mini-ner-pii-mobile, you can try bert-mini-ner-pii-mobile online for free by clicking the link below.
broadfield-dev bert-mini-ner-pii-mobile online free url in huggingface.co:
bert-mini-ner-pii-mobile is an open source model from GitHub that offers a free installation service, and any user can find bert-mini-ner-pii-mobile on GitHub to install. At the same time, huggingface.co provides the effect of bert-mini-ner-pii-mobile install, users can directly use bert-mini-ner-pii-mobile installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
bert-mini-ner-pii-mobile install url in huggingface.co: