Sentence Similarity
sentence-transformers
Safetensors
English
modernbert
feature-extraction
dense
securebert
IR
docembedding
Generated from Trainer
dataset_size:35705
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use cisco-ai/SecureBERT2.0-biencoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use cisco-ai/SecureBERT2.0-biencoder with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("cisco-ai/SecureBERT2.0-biencoder") sentences = [ "What is the primary responsibility of the Information Security Oversight Committee in an organization?", "Least privilege", "By searching for repeating ciphertext sequences at fixed displacements.", "Ensuring and supporting information protection awareness and training programs" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Inference
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -24,12 +24,11 @@ base_model:
|
|
| 24 |
- CiscoAITeam/SecureBERT2.0-base
|
| 25 |
---
|
| 26 |
|
| 27 |
-
# SecureBERT 2.0 Document Embedding and Similarity Search Model (bi-encoder)
|
| 28 |
|
| 29 |
-
This is a Bi-Encoder model fine-tuned on top of [**SecureBERT 2.0**](CiscoAITeam/SecureBERT2.0-code-vuln-detection), a cybersecurity domain-specific Model. It computes similarity scores for pairs of texts, which can be used for text ranking, semantic search, documnet embedding or other cybersecurity-related natural language tasks.
|
| 30 |
|
| 31 |
|
| 32 |
-
# SecureBERT 2.0 Bi-Encoder for Cybersecurity
|
| 33 |
|
| 34 |
Document embeddings are central to modern cybersecurity pipelines, enabling efficient use of large and complex text corpora. They power applications such as **Retrieval-Augmented Generation (RAG)**, semantic search, ranking, and threat intelligence retrieval.
|
| 35 |
|
|
|
|
| 24 |
- CiscoAITeam/SecureBERT2.0-base
|
| 25 |
---
|
| 26 |
|
| 27 |
+
# SecureBERT 2.0 for Document Embedding and Similarity Search Model (bi-encoder)
|
| 28 |
|
| 29 |
+
This is a **Bi-Encoder** model fine-tuned on top of [**SecureBERT 2.0**](CiscoAITeam/SecureBERT2.0-code-vuln-detection), a cybersecurity domain-specific Model. It computes similarity scores for pairs of texts, which can be used for text ranking, semantic search, documnet embedding or other cybersecurity-related natural language tasks.
|
| 30 |
|
| 31 |
|
|
|
|
| 32 |
|
| 33 |
Document embeddings are central to modern cybersecurity pipelines, enabling efficient use of large and complex text corpora. They power applications such as **Retrieval-Augmented Generation (RAG)**, semantic search, ranking, and threat intelligence retrieval.
|
| 34 |
|