Upload trained Rex ModernBERT RBA investigation checkpoint
Browse files- README.md +28 -0
- config.json +77 -0
- model.safetensors +3 -0
- rex_config.json +19 -0
- rex_model.safetensors +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +20 -0
README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
tags:
|
| 6 |
+
- cybersecurity
|
| 7 |
+
- risk-based-authentication
|
| 8 |
+
- fraud-detection
|
| 9 |
+
- modernbert
|
| 10 |
+
- process-of-elimination
|
| 11 |
+
datasets:
|
| 12 |
+
- dasgroup/rba-dataset
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# Rex ModernBERT Investigation Engine (RBA Pre-trained)
|
| 16 |
+
|
| 17 |
+
This checkpoint is a specialized **ModernBERT Dual-Head MECE Investigation Engine** trained on the Risk-Based Authentication (RBA) dataset with Popperian Process of Elimination (PoE).
|
| 18 |
+
|
| 19 |
+
### Model Architecture:
|
| 20 |
+
- Base Encoder: `answerdotai/ModernBERT-base` (Apache-2.0)
|
| 21 |
+
- Heads: `ToolMLPHead` (4 Investigation Slots) & `SharedVerdictHead` (4 MECE Root Causes)
|
| 22 |
+
- Hypotheses: `H_botnet`, `H_sybil`, `H_shared`, `H_novel`
|
| 23 |
+
- Investigation Policy: 3-Round Dynamic Budgeted Telemetry Collection
|
| 24 |
+
|
| 25 |
+
### Training Dataset & Citation:
|
| 26 |
+
This model was trained using data derived from the **Login Data Set for Risk-Based Authentication** hosted on Zenodo (Record 6782156), licensed under **Creative Commons Attribution 4.0 International (CC BY 4.0)**:
|
| 27 |
+
|
| 28 |
+
> Stephan Wiefling, Paul René Jørgensen, Sigurd Thunem, and Luigi Lo Iacono. 2022. *Pump Up Password Security! Evaluating and Enhancing Risk-Based Authentication on a Real-World Large-Scale Online Service*. In ACM Transactions on Privacy and Security (TOPS), Vol. 26, No. 1, Article 7. DOI: https://doi.org/10.1145/3546187. Dataset: https://doi.org/10.5281/zenodo.6782156
|
config.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"ModernBertModel"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 50281,
|
| 8 |
+
"classifier_activation": "gelu",
|
| 9 |
+
"classifier_bias": false,
|
| 10 |
+
"classifier_dropout": 0.0,
|
| 11 |
+
"classifier_pooling": "mean",
|
| 12 |
+
"cls_token_id": 50281,
|
| 13 |
+
"decoder_bias": true,
|
| 14 |
+
"deterministic_flash_attn": false,
|
| 15 |
+
"dtype": "float32",
|
| 16 |
+
"embedding_dropout": 0.0,
|
| 17 |
+
"eos_token_id": 50282,
|
| 18 |
+
"global_attn_every_n_layers": 3,
|
| 19 |
+
"gradient_checkpointing": false,
|
| 20 |
+
"hidden_activation": "gelu",
|
| 21 |
+
"hidden_size": 768,
|
| 22 |
+
"initializer_cutoff_factor": 2.0,
|
| 23 |
+
"initializer_range": 0.02,
|
| 24 |
+
"intermediate_size": 1152,
|
| 25 |
+
"layer_norm_eps": 1e-05,
|
| 26 |
+
"layer_types": [
|
| 27 |
+
"full_attention",
|
| 28 |
+
"sliding_attention",
|
| 29 |
+
"sliding_attention",
|
| 30 |
+
"full_attention",
|
| 31 |
+
"sliding_attention",
|
| 32 |
+
"sliding_attention",
|
| 33 |
+
"full_attention",
|
| 34 |
+
"sliding_attention",
|
| 35 |
+
"sliding_attention",
|
| 36 |
+
"full_attention",
|
| 37 |
+
"sliding_attention",
|
| 38 |
+
"sliding_attention",
|
| 39 |
+
"full_attention",
|
| 40 |
+
"sliding_attention",
|
| 41 |
+
"sliding_attention",
|
| 42 |
+
"full_attention",
|
| 43 |
+
"sliding_attention",
|
| 44 |
+
"sliding_attention",
|
| 45 |
+
"full_attention",
|
| 46 |
+
"sliding_attention",
|
| 47 |
+
"sliding_attention",
|
| 48 |
+
"full_attention"
|
| 49 |
+
],
|
| 50 |
+
"local_attention": 128,
|
| 51 |
+
"max_position_embeddings": 8192,
|
| 52 |
+
"mlp_bias": false,
|
| 53 |
+
"mlp_dropout": 0.0,
|
| 54 |
+
"model_type": "modernbert",
|
| 55 |
+
"norm_bias": false,
|
| 56 |
+
"norm_eps": 1e-05,
|
| 57 |
+
"num_attention_heads": 12,
|
| 58 |
+
"num_hidden_layers": 22,
|
| 59 |
+
"pad_token_id": 50283,
|
| 60 |
+
"position_embedding_type": "absolute",
|
| 61 |
+
"rope_parameters": {
|
| 62 |
+
"full_attention": {
|
| 63 |
+
"rope_theta": 160000.0,
|
| 64 |
+
"rope_type": "default"
|
| 65 |
+
},
|
| 66 |
+
"sliding_attention": {
|
| 67 |
+
"rope_theta": 10000.0,
|
| 68 |
+
"rope_type": "default"
|
| 69 |
+
}
|
| 70 |
+
},
|
| 71 |
+
"sep_token_id": 50282,
|
| 72 |
+
"sparse_pred_ignore_index": -100,
|
| 73 |
+
"sparse_prediction": false,
|
| 74 |
+
"tie_word_embeddings": true,
|
| 75 |
+
"transformers_version": "5.16.1",
|
| 76 |
+
"vocab_size": 50432
|
| 77 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a49aff562a94dc900ea0e4a172e060d85f1549de6f9b332da54b1bef89d978b
|
| 3 |
+
size 596266744
|
rex_config.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "rex_investigation_model",
|
| 3 |
+
"base_encoder": "answerdotai/ModernBERT-base",
|
| 4 |
+
"hidden_size": 768,
|
| 5 |
+
"num_hypotheses": 4,
|
| 6 |
+
"num_slots": 4,
|
| 7 |
+
"canonical_hypotheses": [
|
| 8 |
+
"H_botnet",
|
| 9 |
+
"H_sybil",
|
| 10 |
+
"H_shared",
|
| 11 |
+
"H_novel"
|
| 12 |
+
],
|
| 13 |
+
"canonical_tool_slots": [
|
| 14 |
+
"SLOT_NETWORK",
|
| 15 |
+
"SLOT_DEVICE",
|
| 16 |
+
"SLOT_BEHAVIOR",
|
| 17 |
+
"SLOT_GRAPH"
|
| 18 |
+
]
|
| 19 |
+
}
|
rex_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:185785ebfb4fc88bd5da2fa65916a9a7069038d3ada7045202e84648ed694823
|
| 3 |
+
size 598652404
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"clean_up_tokenization_spaces": true,
|
| 4 |
+
"cls_token": "[CLS]",
|
| 5 |
+
"extra_special_tokens": [
|
| 6 |
+
"<TASK_RISK_INVESTIGATION>"
|
| 7 |
+
],
|
| 8 |
+
"is_local": false,
|
| 9 |
+
"local_files_only": false,
|
| 10 |
+
"mask_token": "[MASK]",
|
| 11 |
+
"model_input_names": [
|
| 12 |
+
"input_ids",
|
| 13 |
+
"attention_mask"
|
| 14 |
+
],
|
| 15 |
+
"model_max_length": 8192,
|
| 16 |
+
"pad_token": "[PAD]",
|
| 17 |
+
"sep_token": "[SEP]",
|
| 18 |
+
"tokenizer_class": "TokenizersBackend",
|
| 19 |
+
"unk_token": "[UNK]"
|
| 20 |
+
}
|