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

lexedit
/
herbert-polish-legal-ner

Token Classification
Transformers
ONNX
Safetensors
Polish
bert
named-entity-recognition
ner
pii
pii-detection
anonymization
privacy
gdpr
polish
legal
legal-nlp
herbert
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use lexedit/herbert-polish-legal-ner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use lexedit/herbert-polish-legal-ner with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("token-classification", model="lexedit/herbert-polish-legal-ner")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForTokenClassification
    
    tokenizer = AutoTokenizer.from_pretrained("lexedit/herbert-polish-legal-ner")
    model = AutoModelForTokenClassification.from_pretrained("lexedit/herbert-polish-legal-ner", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
herbert-polish-legal-ner / examples
15.1 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
i008's picture
i008
HerBERT Polish legal NER (general): weights + ONNX + card + examples
399294e verified about 1 month ago
  • KNOWN_LIMITATIONS.md
    2.23 kB
    HerBERT Polish legal NER (general): weights + ONNX + card + examples about 1 month ago
  • STRONG_CASES.md
    2.33 kB
    HerBERT Polish legal NER (general): weights + ONNX + card + examples about 1 month ago
  • inference_onnx.py
    2.83 kB
    HerBERT Polish legal NER (general): weights + ONNX + card + examples about 1 month ago
  • inference_pytorch.py
    1.06 kB
    HerBERT Polish legal NER (general): weights + ONNX + card + examples about 1 month ago
  • known_limitations.py
    3.24 kB
    HerBERT Polish legal NER (general): weights + ONNX + card + examples about 1 month ago
  • strong_cases.py
    3.42 kB
    HerBERT Polish legal NER (general): weights + ONNX + card + examples about 1 month ago