End of training
Browse files- README.md +73 -0
- config.json +27 -0
- model.safetensors +3 -0
- runs/Jun11_21-01-33_fccc17f20baa/events.out.tfevents.1718139693.fccc17f20baa.24488.0 +3 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: cyberseclabs/bert-classify-urls-v0.005
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
metrics:
|
| 7 |
+
- accuracy
|
| 8 |
+
- precision
|
| 9 |
+
- recall
|
| 10 |
+
- f1
|
| 11 |
+
model-index:
|
| 12 |
+
- name: test_trainer_full
|
| 13 |
+
results: []
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 17 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 18 |
+
|
| 19 |
+
# test_trainer_full
|
| 20 |
+
|
| 21 |
+
This model is a fine-tuned version of [cyberseclabs/bert-classify-urls-v0.005](https://huggingface.co/cyberseclabs/bert-classify-urls-v0.005) on an unknown dataset.
|
| 22 |
+
It achieves the following results on the evaluation set:
|
| 23 |
+
- Loss: 0.1000
|
| 24 |
+
- Accuracy: 0.9823
|
| 25 |
+
- Precision: 0.9744
|
| 26 |
+
- Recall: 0.9732
|
| 27 |
+
- F1: 0.9738
|
| 28 |
+
- Roc Auc: 0.9965
|
| 29 |
+
|
| 30 |
+
## Model description
|
| 31 |
+
|
| 32 |
+
More information needed
|
| 33 |
+
|
| 34 |
+
## Intended uses & limitations
|
| 35 |
+
|
| 36 |
+
More information needed
|
| 37 |
+
|
| 38 |
+
## Training and evaluation data
|
| 39 |
+
|
| 40 |
+
More information needed
|
| 41 |
+
|
| 42 |
+
## Training procedure
|
| 43 |
+
|
| 44 |
+
### Training hyperparameters
|
| 45 |
+
|
| 46 |
+
The following hyperparameters were used during training:
|
| 47 |
+
- learning_rate: 2e-05
|
| 48 |
+
- train_batch_size: 16
|
| 49 |
+
- eval_batch_size: 16
|
| 50 |
+
- seed: 42
|
| 51 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 52 |
+
- lr_scheduler_type: linear
|
| 53 |
+
- num_epochs: 3
|
| 54 |
+
|
| 55 |
+
### Training results
|
| 56 |
+
|
| 57 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 | Roc Auc |
|
| 58 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|:-------:|
|
| 59 |
+
| 0.1474 | 0.3846 | 500 | 0.1319 | 0.9704 | 0.9679 | 0.9437 | 0.9556 | 0.9900 |
|
| 60 |
+
| 0.1275 | 0.7692 | 1000 | 0.0938 | 0.9758 | 0.9739 | 0.9539 | 0.9638 | 0.9957 |
|
| 61 |
+
| 0.1005 | 1.1538 | 1500 | 0.0905 | 0.9767 | 0.9717 | 0.9590 | 0.9653 | 0.9964 |
|
| 62 |
+
| 0.0637 | 1.5385 | 2000 | 0.0842 | 0.9815 | 0.9689 | 0.9767 | 0.9728 | 0.9969 |
|
| 63 |
+
| 0.0568 | 1.9231 | 2500 | 0.0884 | 0.9794 | 0.9666 | 0.9727 | 0.9696 | 0.9972 |
|
| 64 |
+
| 0.0357 | 2.3077 | 3000 | 0.1019 | 0.9810 | 0.9786 | 0.9647 | 0.9716 | 0.9964 |
|
| 65 |
+
| 0.0272 | 2.6923 | 3500 | 0.1000 | 0.9823 | 0.9744 | 0.9732 | 0.9738 | 0.9965 |
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
### Framework versions
|
| 69 |
+
|
| 70 |
+
- Transformers 4.41.2
|
| 71 |
+
- Pytorch 2.3.0+cu121
|
| 72 |
+
- Datasets 2.19.2
|
| 73 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "cyberseclabs/bert-classify-urls-v0.005",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForSequenceClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"classifier_dropout": null,
|
| 8 |
+
"gradient_checkpointing": false,
|
| 9 |
+
"hidden_act": "gelu",
|
| 10 |
+
"hidden_dropout_prob": 0.1,
|
| 11 |
+
"hidden_size": 768,
|
| 12 |
+
"initializer_range": 0.02,
|
| 13 |
+
"intermediate_size": 3072,
|
| 14 |
+
"layer_norm_eps": 1e-12,
|
| 15 |
+
"max_position_embeddings": 512,
|
| 16 |
+
"model_type": "bert",
|
| 17 |
+
"num_attention_heads": 12,
|
| 18 |
+
"num_hidden_layers": 12,
|
| 19 |
+
"pad_token_id": 0,
|
| 20 |
+
"position_embedding_type": "absolute",
|
| 21 |
+
"problem_type": "single_label_classification",
|
| 22 |
+
"torch_dtype": "float32",
|
| 23 |
+
"transformers_version": "4.41.2",
|
| 24 |
+
"type_vocab_size": 2,
|
| 25 |
+
"use_cache": true,
|
| 26 |
+
"vocab_size": 30522
|
| 27 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9ba1e771e6493ddedb6645f314f0cdb8ea202b2b23e2c0a70fccebc5a35eb1b1
|
| 3 |
+
size 437958648
|
runs/Jun11_21-01-33_fccc17f20baa/events.out.tfevents.1718139693.fccc17f20baa.24488.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:566610bc1e83b5af62c03001275c42cf973b8f3a64a3e52f7da9e9e0505152d0
|
| 3 |
+
size 10404
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2884f2aaa57fb1629ba5dc340ab0e64d60ba28ddc97109ccecb56d67663ba4a6
|
| 3 |
+
size 5112
|