Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

CheezOne
/
pii-detector-cjk-small

Token Classification
Transformers
ONNX
Safetensors
Transformers.js
modernbert
pii
pii-detection
ner
privacy
anonymization
redaction
de-identification
chinese
japanese
korean
cjk
mmbert
个人信息
脱敏
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use CheezOne/pii-detector-cjk-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use CheezOne/pii-detector-cjk-small with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("token-classification", model="CheezOne/pii-detector-cjk-small")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForTokenClassification
    
    tokenizer = AutoTokenizer.from_pretrained("CheezOne/pii-detector-cjk-small")
    model = AutoModelForTokenClassification.from_pretrained("CheezOne/pii-detector-cjk-small", device_map="auto")
  • Transformers.js

    How to use CheezOne/pii-detector-cjk-small with Transformers.js:

    // npm i @huggingface/transformers
    import { pipeline } from '@huggingface/transformers';
    
    // Allocate pipeline
    const pipe = await pipeline('token-classification', 'CheezOne/pii-detector-cjk-small');
  • Notebooks
  • Google Colab
  • Kaggle
pii-detector-cjk-small
1.39 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 15 commits
CheezOne's picture
CheezOne
Add pipeline eval script
8fba8bc verified about 3 hours ago
  • eval
    Add pipeline exact-span eval about 3 hours ago
  • onnx
    Release 2 days ago
  • scripts
    Add pipeline eval script about 3 hours ago
  • .gitattributes
    1.57 kB
    Release 2 days ago
  • LICENSE
    11.4 kB
    Add Apache-2.0 LICENSE file about 9 hours ago
  • README.md
    23.1 kB
    Card: out-of-template reality check (pipeline exact-span metrics) about 3 hours ago
  • config.json
    3.08 kB
    Release 2 days ago
  • machine.txt
    81 Bytes
    Release 2 days ago
  • model.safetensors
    563 MB
    xet
    Release 2 days ago
  • special_tokens_map.json
    1.05 kB
    Release 2 days ago
  • stdout.txt
    9.97 kB
    Release 2 days ago
  • tokenizer.json
    34.4 MB
    xet
    Release 2 days ago
  • tokenizer_config.json
    46.5 kB
    Release 2 days ago
  • train_log.jsonl
    9.27 kB
    Release 2 days ago