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

daslabhq
/
pii-proxy

Token Classification
GLiNER
PyTorch
pii
ner
Model card Files Files and versions
xet
Community

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

  • Libraries
  • GLiNER

    How to use daslabhq/pii-proxy with GLiNER:

    from gliner import GLiNER
    
    model = GLiNER.from_pretrained("daslabhq/pii-proxy")
    
    text = "Cristiano Ronaldo dos Santos Aveiro was born on 5 February 1985 in Funchal, Madeira, Portugal."
    labels = ["person", "date", "location"]
    
    entities = model.predict_entities(text, labels)
    for entity in entities:
        print(entity["text"], "=>", entity["label"])
  • Notebooks
  • Google Colab
  • Kaggle
pii-proxy
619 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
mirkokiefer's picture
mirkokiefer
Upload folder using huggingface_hub
a5c633b verified 4 months ago
  • .gitattributes
    1.52 kB
    initial commit 4 months ago
  • README.md
    1.18 kB
    Upload folder using huggingface_hub 4 months ago
  • gliner_config.json
    2.36 kB
    Upload folder using huggingface_hub 4 months ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "collections.OrderedDict",
    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    611 MB
    xet
    Upload folder using huggingface_hub 4 months ago
  • tokenizer.json
    8.34 MB
    Upload folder using huggingface_hub 4 months ago
  • tokenizer_config.json
    538 Bytes
    Upload folder using huggingface_hub 4 months ago