Token Classification
Transformers
Safetensors
lfm2
liquid
lfm2.5
bidirectional
masked-lm
encoder
pii
ner
privacy
multilingual
custom_code
Run this model with HF Jobs
Run LiquidAI/LFM2.5-Encoder-350M-PII-Detector on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/LiquidAI/LFM2.5-Encoder-350M-PII-Detector. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/LiquidAI/LFM2.5-Encoder-350M-PII-Detector on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use LiquidAI/LFM2.5-Encoder-350M-PII-Detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LiquidAI/LFM2.5-Encoder-350M-PII-Detector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="LiquidAI/LFM2.5-Encoder-350M-PII-Detector", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("LiquidAI/LFM2.5-Encoder-350M-PII-Detector", trust_remote_code=True) model = AutoModelForTokenClassification.from_pretrained("LiquidAI/LFM2.5-Encoder-350M-PII-Detector", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
add leaderboard plot + embed in card
Browse files38 unmodified lines39404142434438 unmodified lines## Public benchmark leaderboardType-level **micro** scores, **partial-match**. P=precision, R=recall (PII caught),F1, F2 (recall-weighted β=2 — the metric that matters most for PII). Ours is an**interim checkpoint (≈¼ of epoch 1)** vs **fully-trained** released baselines.38 unmodified lines39404142434445464748495038 unmodified lines## Public benchmark leaderboard_Black = this model. Gold tick = best score any previous checkpoint reached on thatbenchmark. Δ (vs the previous run) is annotated under our bars once a second versionis tracked. Hatched benchmarks are train-contaminated for some models._Type-level **micro** scores, **partial-match**. P=precision, R=recall (PII caught),F1, F2 (recall-weighted β=2 — the metric that matters most for PII). Ours is an**interim checkpoint (≈¼ of epoch 1)** vs **fully-trained** released baselines.
README.md+6