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
|
@@ -142,14 +142,7 @@ print(similarity)
|
|
| 142 |
---
|
| 143 |
|
| 144 |
|
| 145 |
-
## Training Details
|
| 146 |
-
|
| 147 |
-
### Training Dataset
|
| 148 |
-
|
| 149 |
-
The model was fine-tuned on cybersecurity-specific paired-sentence data for document embedding and similarity learning.
|
| 150 |
-
|
| 151 |
-
- **Dataset Size:** 35,705 samples
|
| 152 |
-
- **Columns:** `sentence_0`, `sentence_1`, `label`
|
| 153 |
|
| 154 |
|
| 155 |
#### Example Schema
|
|
|
|
| 142 |
---
|
| 143 |
|
| 144 |
|
| 145 |
+
## Training Details
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 146 |
|
| 147 |
|
| 148 |
#### Example Schema
|