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
1.42 GB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 71 commits
iamleonie's picture
iamleonie
Update PII detector model card
91221ca verified 8 days ago
  • plots
    Upload plots/vs_external.png with huggingface_hub about 2 months ago
  • .gitattributes
    1.63 kB
    Upload leaderboard_18lang.png with huggingface_hub about 2 months ago
  • LICENSE
    10.6 kB
    Add LICENSE about 2 months ago
  • README.md
    6.02 kB
    Update PII detector model card 8 days ago
  • config.json
    12.5 kB
    Upload config.json with huggingface_hub about 1 month ago
  • context_cued.py
    36.3 kB
    Upload context_cued.py with huggingface_hub about 2 months ago
  • label_schema.json
    7.97 kB
    pii-detect interim (ckpt-4000, epoch 0.23) + public-eval leaderboard about 2 months ago
  • leaderboard_18lang.png
    123 kB
    xet
    Upload leaderboard_18lang.png with huggingface_hub about 1 month ago
  • model.safetensors
    1.42 GB
    xet
    Upload model.safetensors with huggingface_hub about 1 month ago
  • modeling_phase2_tc.py
    6.55 kB
    Upload modeling_phase2_tc.py with huggingface_hub about 1 month ago
  • pii_hybrid_decode.py
    11.7 kB
    Upload pii_hybrid_decode.py with huggingface_hub about 1 month ago
  • tokenizer.json
    4.73 MB
    pii-detect interim (ckpt-4000, epoch 0.23) + public-eval leaderboard about 2 months ago
  • tokenizer_config.json
    616 Bytes
    pii-detect interim (ckpt-4000, epoch 0.23) + public-eval leaderboard about 2 months ago