Final full upload: model files, checkpoints, evaluation results, logs, reports
Browse files- .gitattributes +1 -0
- classification_report.txt +26 -0
- config.json +38 -0
- model.safetensors +3 -0
- prediction_results.csv +3 -0
- summary.json +11 -0
- tokenizer.json +0 -0
- tokenizer_config.json +15 -0
- training_args.bin +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
prediction_results.csv filter=lfs diff=lfs merge=lfs -text
|
classification_report.txt
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Model: bert-base-uncased
|
| 2 |
+
Hub repo: HID-APP/bert-rd-keystrokes
|
| 3 |
+
|
| 4 |
+
Validation metrics:
|
| 5 |
+
{
|
| 6 |
+
"eval_loss": 0.15841300785541534,
|
| 7 |
+
"eval_accuracy": 0.9671551288529561,
|
| 8 |
+
"eval_precision": 0.9712606139777923,
|
| 9 |
+
"eval_recall": 0.9860742705570292,
|
| 10 |
+
"eval_f1": 0.9786113853241197
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
Test metrics:
|
| 14 |
+
Accuracy : 0.977099
|
| 15 |
+
Precision: 0.978172
|
| 16 |
+
Recall : 0.991016
|
| 17 |
+
F1 : 0.984552
|
| 18 |
+
|
| 19 |
+
precision recall f1-score support
|
| 20 |
+
|
| 21 |
+
benign 0.97 0.94 0.96 518
|
| 22 |
+
malicious 0.98 0.99 0.98 1447
|
| 23 |
+
|
| 24 |
+
accuracy 0.98 1965
|
| 25 |
+
macro avg 0.98 0.96 0.97 1965
|
| 26 |
+
weighted avg 0.98 0.98 0.98 1965
|
config.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_cross_attention": false,
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForSequenceClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"bos_token_id": null,
|
| 8 |
+
"classifier_dropout": null,
|
| 9 |
+
"dtype": "float32",
|
| 10 |
+
"eos_token_id": null,
|
| 11 |
+
"gradient_checkpointing": false,
|
| 12 |
+
"hidden_act": "gelu",
|
| 13 |
+
"hidden_dropout_prob": 0.1,
|
| 14 |
+
"hidden_size": 768,
|
| 15 |
+
"id2label": {
|
| 16 |
+
"0": "benign",
|
| 17 |
+
"1": "malicious"
|
| 18 |
+
},
|
| 19 |
+
"initializer_range": 0.02,
|
| 20 |
+
"intermediate_size": 3072,
|
| 21 |
+
"is_decoder": false,
|
| 22 |
+
"label2id": {
|
| 23 |
+
"benign": 0,
|
| 24 |
+
"malicious": 1
|
| 25 |
+
},
|
| 26 |
+
"layer_norm_eps": 1e-12,
|
| 27 |
+
"max_position_embeddings": 512,
|
| 28 |
+
"model_type": "bert",
|
| 29 |
+
"num_attention_heads": 12,
|
| 30 |
+
"num_hidden_layers": 12,
|
| 31 |
+
"pad_token_id": 0,
|
| 32 |
+
"position_embedding_type": "absolute",
|
| 33 |
+
"tie_word_embeddings": true,
|
| 34 |
+
"transformers_version": "5.12.1",
|
| 35 |
+
"type_vocab_size": 2,
|
| 36 |
+
"use_cache": false,
|
| 37 |
+
"vocab_size": 30522
|
| 38 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b860aed1fe9e8f10386d08f1ed6d3e385beb590ed8e36e7cb342d7a0dd06d314
|
| 3 |
+
size 437958624
|
prediction_results.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f77b1f56003bc4918b785d752d0c32a7c9a4ac6607a765a0724434bba401698f
|
| 3 |
+
size 46994651
|
summary.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "bert-base-uncased",
|
| 3 |
+
"hub_model_id": "HID-APP/bert-rd-keystrokes",
|
| 4 |
+
"output_dir": "/kaggle/working/outputs/bert_rd_keystrokes",
|
| 5 |
+
"save_eval_push_steps": 500,
|
| 6 |
+
"logging_steps": 25,
|
| 7 |
+
"accuracy": 0.9770992366412213,
|
| 8 |
+
"precision": 0.9781718963165075,
|
| 9 |
+
"recall": 0.9910158949550795,
|
| 10 |
+
"f1": 0.984552008238929
|
| 11 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"cls_token": "[CLS]",
|
| 4 |
+
"do_lower_case": true,
|
| 5 |
+
"is_local": false,
|
| 6 |
+
"local_files_only": false,
|
| 7 |
+
"mask_token": "[MASK]",
|
| 8 |
+
"model_max_length": 1000000000,
|
| 9 |
+
"pad_token": "[PAD]",
|
| 10 |
+
"sep_token": "[SEP]",
|
| 11 |
+
"strip_accents": null,
|
| 12 |
+
"tokenize_chinese_chars": true,
|
| 13 |
+
"tokenizer_class": "BertTokenizer",
|
| 14 |
+
"unk_token": "[UNK]"
|
| 15 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6356dffa425669d6696f329ab57522ceda02ab7fadb057794c10a172cb56de1f
|
| 3 |
+
size 5201
|