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

oneryalcin
/
static-retrieval-cve-en-v1

Sentence Similarity
sentence-transformers
Safetensors
English
feature-extraction
retrieval
cybersecurity
cve
cwe
vulnerability
static-embedding
matryoshka
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use oneryalcin/static-retrieval-cve-en-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use oneryalcin/static-retrieval-cve-en-v1 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("oneryalcin/static-retrieval-cve-en-v1")
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
static-retrieval-cve-en-v1
169 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 15 commits
oneryalcin's picture
oneryalcin
Add data fetcher for GHSA records (via gh api)
e502f3f verified 4 months ago
  • .gitattributes
    1.52 kB
    initial commit 4 months ago
  • README.md
    17.6 kB
    Tighten README: add Scope and limitations (read first), add OOD generalization results (GHSA + informal queries), explicit "NOT for" guidance 4 months ago
  • config_sentence_transformers.json
    277 Bytes
    Add new SentenceTransformer model 4 months ago
  • eval_ghsa.py
    5.37 kB
    Add OOD eval reproducer: GHSA cross-corpus retrieval 4 months ago
  • eval_per_cwe.py
    8.05 kB
    Add per-CWE evaluation script 4 months ago
  • fetch_ghsa.py
    2.43 kB
    Add data fetcher for GHSA records (via gh api) 4 months ago
  • informal_queries.py
    12.4 kB
    Add OOD eval reproducer: 100 hand-built informal queries 4 months ago
  • model.safetensors
    166 MB
    xet
    Add new SentenceTransformer model 4 months ago
  • modules.json
    156 Bytes
    Add new SentenceTransformer model 4 months ago
  • quality_bench.py
    4.75 kB
    Add reproducible quality benchmark script 4 months ago
  • speed_bench.py
    4.07 kB
    Add reproducible CPU speed benchmark script 4 months ago
  • tokenizer.json
    2.62 MB
    Add new SentenceTransformer model 4 months ago
  • train.py
    17.1 kB
    Add training script for reproducibility 4 months ago