codechrl commited on
Commit
8233137
·
verified ·
1 Parent(s): 7ebab89

Training update: 1,298/237,619 rows (0.55%) | +50 new @ 2025-10-20 06:01:21

Browse files
README.md CHANGED
@@ -13,12 +13,12 @@ base_model: boltuix/bert-micro
13
  ## 1. Model Details
14
 
15
  **Model description**
16
- "bert-micro-cybersecurity" is a compact transformer model derived from `boltuix/bert-micro`, adapted for cybersecurity text classification tasks (e.g., threat detection, incident reports, malicious vs benign content).
17
 
18
  - Model type: fine-tuned lightweight BERT variant
19
  - Languages: English & Indonesia
20
  - Finetuned from: `boltuix/bert-micro`
21
- - Status: **Early version** — trained on **1.86%** of planned data.
22
 
23
  **Model sources**
24
  - Base model: [boltuix/bert-micro](https://huggingface.co/boltuix/bert-micro)
@@ -41,7 +41,7 @@ You can use this model to classify cybersecurity-related text — for example, w
41
 
42
  ## 3. Bias, Risks, and Limitations
43
 
44
- Because the model is based on a small subset (1.86%) of planned data, performance is preliminary and may degrade on unseen or specialized domains (industrial control, IoT logs, foreign language).
45
 
46
  - Inherits any biases present in the base model (`boltuix/bert-micro`) and in the fine-tuning data — e.g., over-representation of certain threat types, vendor or tooling-specific vocabulary.
47
  - Should not be used as sole authority for incident decisions; only as an aid to human analysts.
@@ -63,7 +63,7 @@ predicted_class = logits.argmax(dim=-1).item()
63
 
64
  ## 5. Training Details
65
 
66
- - **Trained records**: 1,260 / 67,618 (1.86%)
67
  - **Learning rate**: 5e-05
68
  - **Epochs**: 3
69
  - **Batch size**: 1
 
13
  ## 1. Model Details
14
 
15
  **Model description**
16
+ "bert-micro-cybersecurity" is a compact transformer model adapted for cybersecurity text classification tasks (e.g., threat detection, incident reports, malicious vs benign content).
17
 
18
  - Model type: fine-tuned lightweight BERT variant
19
  - Languages: English & Indonesia
20
  - Finetuned from: `boltuix/bert-micro`
21
+ - Status: **Early version** — trained on **0.55%** of planned data.
22
 
23
  **Model sources**
24
  - Base model: [boltuix/bert-micro](https://huggingface.co/boltuix/bert-micro)
 
41
 
42
  ## 3. Bias, Risks, and Limitations
43
 
44
+ Because the model is based on a small subset (0.55%) of planned data, performance is preliminary and may degrade on unseen or specialized domains (industrial control, IoT logs, foreign language).
45
 
46
  - Inherits any biases present in the base model (`boltuix/bert-micro`) and in the fine-tuning data — e.g., over-representation of certain threat types, vendor or tooling-specific vocabulary.
47
  - Should not be used as sole authority for incident decisions; only as an aid to human analysts.
 
63
 
64
  ## 5. Training Details
65
 
66
+ - **Trained records**: 1,298 / 237,619 (0.55%)
67
  - **Learning rate**: 5e-05
68
  - **Epochs**: 3
69
  - **Batch size**: 1
checkpoint-399/config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertForMaskedLM"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "dtype": "float32",
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 128,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 512,
13
+ "layer_norm_eps": 1e-12,
14
+ "max_position_embeddings": 512,
15
+ "model_type": "bert",
16
+ "num_attention_heads": 2,
17
+ "num_hidden_layers": 2,
18
+ "pad_token_id": 0,
19
+ "position_embedding_type": "absolute",
20
+ "transformers_version": "4.57.0",
21
+ "type_vocab_size": 2,
22
+ "use_cache": true,
23
+ "vocab_size": 30522
24
+ }
checkpoint-399/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5c7b02bb13ebf2905410619055cb013385b4011c032639fe17fcccdebaa0782
3
+ size 17671560
checkpoint-399/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c55b7ea85087a6425483e191a3425e14973a52dd8ba2a0bf258b595d34b290e
3
+ size 35368075
checkpoint-399/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e30ff8827cc04d333a3515bde51c8e701e5b0a041c94195a2ecf5dd4f023f92
3
+ size 14455
checkpoint-399/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d886584f6f9ad818746ccaa9537f161b2526cb5d1b0541cd9be4f626cc43ca6b
3
+ size 1465
checkpoint-399/special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
checkpoint-399/tokenizer_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "model_max_length": 1000000000000000019884624838656,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "strip_accents": null,
55
+ "tokenize_chinese_chars": true,
56
+ "tokenizer_class": "BertTokenizer",
57
+ "unk_token": "[UNK]"
58
+ }
checkpoint-399/trainer_state.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 3.0,
6
+ "eval_steps": 500,
7
+ "global_step": 399,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.7518796992481203,
14
+ "grad_norm": 37.094478607177734,
15
+ "learning_rate": 4e-05,
16
+ "loss": 4.3381,
17
+ "step": 100
18
+ },
19
+ {
20
+ "epoch": 1.5037593984962405,
21
+ "grad_norm": 0.0,
22
+ "learning_rate": 2.6666666666666667e-05,
23
+ "loss": 4.1538,
24
+ "step": 200
25
+ },
26
+ {
27
+ "epoch": 2.255639097744361,
28
+ "grad_norm": 12.260258674621582,
29
+ "learning_rate": 1.3333333333333333e-05,
30
+ "loss": 3.6074,
31
+ "step": 300
32
+ }
33
+ ],
34
+ "logging_steps": 100,
35
+ "max_steps": 399,
36
+ "num_input_tokens_seen": 0,
37
+ "num_train_epochs": 3,
38
+ "save_steps": 500,
39
+ "stateful_callbacks": {
40
+ "TrainerControl": {
41
+ "args": {
42
+ "should_epoch_stop": false,
43
+ "should_evaluate": false,
44
+ "should_log": false,
45
+ "should_save": true,
46
+ "should_training_stop": true
47
+ },
48
+ "attributes": {}
49
+ }
50
+ },
51
+ "total_flos": 544333547520.0,
52
+ "train_batch_size": 1,
53
+ "trial_name": null,
54
+ "trial_params": null
55
+ }
checkpoint-399/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:923e344d96e07850933e9f1da23fb1dd6dd58910ee71a5248d69e14f54590898
3
+ size 5841
checkpoint-399/vocab.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ea4e1367fc7a89da294decbd67eaa8eb5a499457cddc489370ba5a0f4153c787
3
  size 17671560
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5c7b02bb13ebf2905410619055cb013385b4011c032639fe17fcccdebaa0782
3
  size 17671560
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6c57c5de3eaba678d4bafcb1b8d5390e895d371b501b5b1b46356182c51fc0da
3
  size 5841
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:923e344d96e07850933e9f1da23fb1dd6dd58910ee71a5248d69e14f54590898
3
  size 5841
training_metadata.json CHANGED
@@ -1,11 +1,11 @@
1
  {
2
- "trained_at": 1760939135.9935098,
3
- "trained_at_readable": "2025-10-20 05:45:35",
4
- "samples_this_session": 1000,
5
- "new_rows_this_session": 1000,
6
- "trained_rows_total": 1260,
7
- "total_db_rows": 67618,
8
- "percentage": 1.863409151409388,
9
  "final_loss": 0,
10
  "epochs": 3,
11
  "learning_rate": 5e-05
 
1
  {
2
+ "trained_at": 1760940081.235496,
3
+ "trained_at_readable": "2025-10-20 06:01:21",
4
+ "samples_this_session": 133,
5
+ "new_rows_this_session": 50,
6
+ "trained_rows_total": 1298,
7
+ "total_db_rows": 237619,
8
+ "percentage": 0.5462526144794818,
9
  "final_loss": 0,
10
  "epochs": 3,
11
  "learning_rate": 5e-05