Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

LiquidAI
/
LFM2.5-Encoder-350M-PII-Detector

Token Classification
Transformers
Safetensors
lfm2
liquid
lfm2.5
bidirectional
masked-lm
encoder
pii
ner
privacy
multilingual
custom_code
Model card Files Files and versions
xet
Community
2

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)
    # 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
LFM2.5-Encoder-350M-PII-Detector / plots
933 kB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 23 commits
yungisimon's picture
yungisimon
Upload plots/vs_external.png with huggingface_hub
8b5b4fe verified about 2 months ago
  • internal_v1
    Upload plots/internal_v1/per_type_f1.png with huggingface_hub about 2 months ago
  • v7
    Upload plots/v7/per_type_f1.png with huggingface_hub about 2 months ago
  • v8
    Upload plots/v8/per_type_f1.png with huggingface_hub about 2 months ago
  • candidates_comparison.png
    57.2 kB
    Upload plots/candidates_comparison.png with huggingface_hub about 2 months ago
  • vs_external.png
    65.5 kB
    Upload plots/vs_external.png with huggingface_hub about 2 months ago