Downloads · 30 days
9
5% of all-time downloads
shaswatamitra/falcon-snort-bi-all-MiniLM-L6-v2
falcon-snort-bi-all-MiniLM-L6-v2 is a sentence similarity model from shaswatamitra. Use it when you need a score for how close two texts are. It is set up for transformers. The card lists the license as cc-by-nc-nd-4.0.
Contrastive encoder fine-tuned to map CTI text and SNORT rules into a shared embedding space. Backbone: sentence-transformers/all-MiniLM-L6-v2.
Downloads · 30 days
9
5% of all-time downloads
All-time downloads
169
Public
Parameters
22.7M
182 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors90.9 MB · 99%
From the Hugging Face model README
all-MiniLM-L6-v2Contrastive encoder fine-tuned to map CTI text and SNORT rules into a shared embedding space.
Backbone: sentence-transformers/all-MiniLM-L6-v2.
| split | recall@1 | F1 | threshold | diag mean | off-diag mean |
|---|---|---|---|---|---|
| pretrained | 0.7993 | 0.3346 | 0.7216 | 0.9425 | 0.8358 |
| run_0 | 0.9551 | 0.9070 | 0.7012 | 0.9319 | 0.0825 |
| run_1 | 0.9564 | 0.9164 | 0.6920 | 0.9278 | 0.0528 |
| run_2 | 0.9539 | 0.9161 | 0.6974 | 0.9345 | 0.0550 |
| run_3 | 0.9526 | 0.9302 | 0.7038 | 0.9452 | 0.0377 |
| run_4 | 0.9551 | 0.9159 | 0.7038 | 0.9543 | 0.0052 |
Symmetric InfoNCE / NT-Xent over in-batch negatives. Best checkpoint selected by validation loss.
from transformers import AutoModel, AutoTokenizer
tok = AutoTokenizer.from_pretrained("shaswatamitra/falcon-snort-bi-all-MiniLM-L6-v2")
model = AutoModel.from_pretrained("shaswatamitra/falcon-snort-bi-all-MiniLM-L6-v2")
@article{mitra2025falcon,
title={FALCON: Autonomous Cyber Threat Intelligence Mining with LLMs for IDS Rule Generation},
author={Mitra, Shaswata and Bazarov, Azim and Duclos, Martin and Mittal, Sudip and Piplai, Aritran and Rahman, Md Rayhanur and Zieglar, Edward and Rahimi, Shahram},
journal={arXiv preprint arXiv:2508.18684},
year={2025}
}