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

aitrainingdatabroker
/
invoice-pii-detector

Token Classification
Transformers
Safetensors
English
roberta
pii
pii-detection
invoices
ner
de-identification
redaction
Synthetic
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use aitrainingdatabroker/invoice-pii-detector with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("token-classification", model="aitrainingdatabroker/invoice-pii-detector")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForTokenClassification
    
    tokenizer = AutoTokenizer.from_pretrained("aitrainingdatabroker/invoice-pii-detector")
    model = AutoModelForTokenClassification.from_pretrained("aitrainingdatabroker/invoice-pii-detector", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
invoice-pii-detector / source
45 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
aitrainingdatabroker's picture
aitrainingdatabroker
Add source/train.py
789bb1e verified 1 day ago
  • gen_derived.py
    5.54 kB
    Add source/gen_derived.py 1 day ago
  • gen_synth.py
    32.4 kB
    Add source/gen_synth.py 1 day ago
  • train.py
    6.99 kB
    Add source/train.py 1 day ago