shaswatamitra/falcon-yara-bi-e5-base-v2
074
FALCON bi-encoder — YARA / e5-base-v2
Contrastive encoder fine-tuned to map CTI text and YARA rules into a shared embedding space. Backbone: intfloat/e5-base-v2.
Test-set metrics
Training
Symmetric InfoNCE / NT-Xent over in-batch negatives. Best checkpoint selected by validation loss.
- Run 0 — batch=16, epochs=5, lr=2e-05, schedule=constant, T=0.05
- Run 1 — batch=50, epochs=10, lr=2e-05, schedule=constant, T=0.05
- Run 2 — batch=70, epochs=30, lr=2e-05, schedule=constant, T=0.05
- Run 3 — batch=128, epochs=30, lr=5e-05, schedule=warmup_cosine, T=0.05
- Run 4 — batch=70, epochs=50, lr=2e-05, schedule=constant, T=0.07
Loading
from transformers import AutoModel, AutoTokenizer
tok = AutoTokenizer.from_pretrained("shaswatamitra/falcon-yara-bi-e5-base-v2")
model = AutoModel.from_pretrained("shaswatamitra/falcon-yara-bi-e5-base-v2")Citation
@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}
}