Instructions to use bootingai/sei-orpo-disposition with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use bootingai/sei-orpo-disposition with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("fdtn-ai/Foundation-Sec-8B") model = PeftModel.from_pretrained(base_model, "bootingai/sei-orpo-disposition") - Notebooks
- Google Colab
- Kaggle
sei-orpo-disposition
LoRA adapter for Security Event Intelligence (SEI): structured SOC triage JSON (disposition β ATT&CK β severity β grounded evidence β recommended actions).
This is the ship preference-aligned (ORPO) adapter. It is not a full model β
load it on top of fdtn-ai/Foundation-Sec-8B.
- Code / docs: companion git repo for SEI SLM (schemas, train/eval, case agent)
- Local path after download:
checkpoints/sei-orpo-disposition/adapter
License (important)
This adapter is a derivative of Llama 3.1 via Foundation-Sec-8B. Use is subject to:
| Layer | License |
|---|---|
| This LoRA + Llama 3.1 lineage | Llama 3.1 Community License (Meta) β primary license for these weights |
| Cisco Foundation-Sec continued-pretrain deltas | Apache-2.0 (see Foundation-Sec model card / NOTICE) |
| SEI training / inference code | Apache-2.0 |
Do not treat this repo as Apache-2.0-only weights.
You must accept Llama 3.1 Community terms (and Foundation-Secβs terms) to use the base model and this adapter together.
Training data used to build the adapter includes open corpora under their own licenses
(e.g. GUIDE via Kaggle, Atomic/OTRF/seed data, etc.). Those govern the data, not a
relicense of Metaβs Llama terms. See the project NOTICE and configs/license_allowlist.yaml.
Model details
- Type: PEFT LoRA adapter (ORPO preference alignment)
- Base:
fdtn-ai/Foundation-Sec-8B(Llama-3.1-8B + Cisco security CPT) - Config (ship):
configs/orpo_disposition.yamlβ LoRA r=32, Ξ±=64, lr=5e-6, Ξ²=0.1 - Intended use: assisted SOC triage with schema-constrained decoding; not autonomous containment
- Library:
peft+transformers
How to use
hf download bootingai/sei-orpo-disposition \
--local-dir checkpoints/sei-orpo-disposition/adapter
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base_id = "fdtn-ai/Foundation-Sec-8B"
adapter_id = "bootingai/sei-orpo-disposition"
tokenizer = AutoTokenizer.from_pretrained(base_id)
model = AutoModelForCausalLM.from_pretrained(base_id, torch_dtype="auto", device_map="auto")
model = PeftModel.from_pretrained(model, adapter_id)
For SEI JSON + guided decode / verifier, use the project scripts (scripts/infer_sei.py,
scripts/eval_model.py --require-guided).
Evaluation (guided decode)
| Split | Disposition macro-F1 | Technique exact F1 | Evidence F1 |
|---|---|---|---|
| Sealed held-out (n=49) | 0.490 | 0.412 | 0.280 |
Single-run; ORPO train seed was not pinned. See project docs/model_card.md and eval/LEADERBOARD.md.
Limitations
- Assist only β high-impact actions (e.g. contain) need human approval
- May over- or under-abstain (
needs_more_data); certainty fine-tunes can trade off other skills - Silver / synthetic labels in parts of the training mix
- Requires Foundation-Sec base weights (gated / terms on Hugging Face)
Citation / notices
- Llama 3.1 β Meta Platforms, Inc. (Llama 3.1 Community License)
- Foundation-Sec-8B β Foundation AI at Cisco (model card)
- SEI SLM training code β Apache-2.0
- Downloads last month
- 29