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

peter2000
/
laya-vulnerability-groups-v2

Text Classification
Transformers
Safetensors
Laya
multi-label
climate
vulnerability
rlcd
Model card Files Files and versions
xet
Community

Instructions to use peter2000/laya-vulnerability-groups-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use peter2000/laya-vulnerability-groups-v2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="peter2000/laya-vulnerability-groups-v2")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("peter2000/laya-vulnerability-groups-v2", device_map="auto")
  • Laya

    How to use peter2000/laya-vulnerability-groups-v2 with Laya:

    # No code snippets available yet for this library.
    
    # To use this model, check the repository files and the library's documentation.
    
    # Want to help? PRs adding snippets are welcome at:
    # https://github.com/huggingface/huggingface.js
  • Notebooks
  • Google Colab
  • Kaggle
laya-vulnerability-groups-v2
846 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
peter2000's picture
peter2000
Full accuracy+F1 metrics: laya v2 zero-shot, laya v2 fine-tuned, setfit (95 test rows)
5d4b222 verified 4 days ago
  • encoder
    Laya v2 (climate-context instructions) fine-tuned on GIZ vulnerability data: macro-F1 0.704 (zero-shot 0.163) 4 days ago
  • tokenizer
    Laya v2 (climate-context instructions) fine-tuned on GIZ vulnerability data: macro-F1 0.704 (zero-shot 0.163) 4 days ago
  • .gitattributes
    1.52 kB
    initial commit 4 days ago
  • README.md
    2.05 kB
    Laya v2 (climate-context instructions) fine-tuned on GIZ vulnerability data: macro-F1 0.704 (zero-shot 0.163) 4 days ago
  • eval_full.py
    7.11 kB
    Pass HF_TOKEN to snapshot_download calls (authenticated resolve path) 4 days ago
  • metrics.json
    1.87 kB
    Add evaluation metrics 4 days ago
  • metrics_full.json
    128 kB
    Full accuracy+F1 metrics: laya v2 zero-shot, laya v2 fine-tuned, setfit (95 test rows) 4 days ago
  • model.safetensors
    843 MB
    xet
    Laya v2 (climate-context instructions) fine-tuned on GIZ vulnerability data: macro-F1 0.704 (zero-shot 0.163) 4 days ago
  • rl_agent_config.json
    791 Bytes
    Laya v2 (climate-context instructions) fine-tuned on GIZ vulnerability data: macro-F1 0.704 (zero-shot 0.163) 4 days ago
  • train_laya.py
    18.4 kB
    Fix UnboundLocalError: literal {label} inside write_readme f-string; reword v2-change sentence 4 days ago