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

TyrusRC
/
haruspex-adapters

Text Classification
GLiNER2
Safetensors
GLiNER
English
security
pentest
vulnerability-detection
decision-model
praetor
Model card Files Files and versions
xet
Community

Instructions to use TyrusRC/haruspex-adapters with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • GLiNER2

    How to use TyrusRC/haruspex-adapters with GLiNER2:

    from gliner2 import AutoExtractor
    
    extractor = AutoExtractor.from_pretrained("TyrusRC/haruspex-adapters")
    
    # 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 TyrusRC/haruspex-adapters with GLiNER:

    from gliner import GLiNER
    
    model = GLiNER.from_pretrained("TyrusRC/haruspex-adapters")
    
    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
haruspex-adapters
159 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
TyrusRC's picture
TyrusRC
Update model card with corrected accuracy and Brier scores
c9a0deb verified 1 day ago
  • cloud
    Optimal-epoch adapters: security(10ep/88.5%) cloud(5ep/95.7%) llm(10ep/95.7%) mobile(5ep/92.3%) network(3ep/94.4%) 1 day ago
  • llm
    Optimal-epoch adapters: security(10ep/88.5%) cloud(5ep/95.7%) llm(10ep/95.7%) mobile(5ep/92.3%) network(3ep/94.4%) 1 day ago
  • mobile
    Optimal-epoch adapters: security(10ep/88.5%) cloud(5ep/95.7%) llm(10ep/95.7%) mobile(5ep/92.3%) network(3ep/94.4%) 1 day ago
  • network
    Optimal-epoch adapters: security(10ep/88.5%) cloud(5ep/95.7%) llm(10ep/95.7%) mobile(5ep/92.3%) network(3ep/94.4%) 1 day ago
  • security
    Optimal-epoch adapters: security(10ep/88.5%) cloud(5ep/95.7%) llm(10ep/95.7%) mobile(5ep/92.3%) network(3ep/94.4%) 1 day ago
  • .gitattributes
    1.52 kB
    initial commit 1 day ago
  • README.md
    3.6 kB
    Update model card with corrected accuracy and Brier scores 1 day ago