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

openbles
/
firewall-1

Text Classification
GLiNER2
GLiNER
English
German
prompt-injection
ai-agents
security
guardrails
mcp
lora
openbles
Model card Files Files and versions
xet
Community

Instructions to use openbles/firewall-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • GLiNER2

    How to use openbles/firewall-1 with GLiNER2:

    from gliner2 import AutoExtractor
    
    extractor = AutoExtractor.from_pretrained("openbles/firewall-1")
    
    # Extract entities
    text = "Apple CEO Tim Cook announced iPhone 15 in Cupertino yesterday."
    result = extractor.extract_entities(text, ["company", "person", "product", "location"])
    
    print(result)
  • GLiNER

    How to use openbles/firewall-1 with GLiNER:

    from gliner import GLiNER
    
    model = GLiNER.from_pretrained("openbles/firewall-1")
    
    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
firewall-1
31.8 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
stas4000's picture
stas4000
OpenBles Firewall 1: weights, loader, training and eval scripts, model card
87603cb verified 12 days ago
  • .gitattributes
    1.52 kB
    initial commit 12 days ago
  • README.md
    3.76 kB
    OpenBles Firewall 1: weights, loader, training and eval scripts, model card 12 days ago
  • adapter.safetensors
    31.8 MB
    xet
    OpenBles Firewall 1: weights, loader, training and eval scripts, model card 12 days ago
  • eval.json
    1.66 kB
    OpenBles Firewall 1: weights, loader, training and eval scripts, model card 12 days ago
  • eval_guard.py
    1.76 kB
    OpenBles Firewall 1: weights, loader, training and eval scripts, model card 12 days ago
  • load_guard.py
    1.2 kB
    OpenBles Firewall 1: weights, loader, training and eval scripts, model card 12 days ago
  • lora_config.json
    218 Bytes
    OpenBles Firewall 1: weights, loader, training and eval scripts, model card 12 days ago
  • train_guard.py
    1.88 kB
    OpenBles Firewall 1: weights, loader, training and eval scripts, model card 12 days ago