readme: ---
  license: apache-2.0
  tags:
  - generated_from_trainer
  datasets:
  - cynthiachan/FeedRef2022
  model-index:
  - name: training
    results: []
  ---
  
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
  should probably proofread and complete it, then remove this comment. -->
  
  # training
  
  This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on the cynthiachan/FeedRef2022 dataset.
  It achieves the following results on the evaluation set:
  - Loss: 0.0514
  - Attackid Precision: 0.8889
  - Attackid Recall: 0.9231
  - Attackid F1: 0.9057
  - Attackid Number: 52
  - Bitcoinaddr Precision: 0.875
  - Bitcoinaddr Recall: 1.0
  - Bitcoinaddr F1: 0.9333
  - Bitcoinaddr Number: 7
  - Cve Precision: 0.8378
  - Cve Recall: 0.9538
  - Cve F1: 0.8921
  - Cve Number: 65
  - Defenderthreat Precision: 0.875
  - Defenderthreat Recall: 1.0
  - Defenderthreat F1: 0.9333
  - Defenderthreat Number: 7
  - Domain Precision: 0.9279
  - Domain Recall: 0.9369
  - Domain F1: 0.9324
  - Domain Number: 206
  - Email Precision: 0.8333
  - Email Recall: 0.9302
  - Email F1: 0.8791
  - Email Number: 43
  - Filepath Precision: 0.8857
  - Filepath Recall: 0.9195
  - Filepath F1: 0.9023
  - Filepath Number: 1652
  - Fingerprint Precision: 0.0
  - Fingerprint Recall: 0.0
  - Fingerprint F1: 0.0
  - Fingerprint Number: 2
  - Hostname Precision: 0.8910
  - Hostname Recall: 0.9653
  - Hostname F1: 0.9267
  - Hostname Number: 144
  - Ipv4 Precision: 0.9767
  - Ipv4 Recall: 0.9825
  - Ipv4 F1: 0.9796
  - Ipv4 Number: 171
  - Ipv6 Precision: 0.3333
  - Ipv6 Recall: 1.0
  - Ipv6 F1: 0.5
  - Ipv6 Number: 3
  - Md5 Precision: 0.9141
  - Md5 Recall: 0.9857
  - Md5 F1: 0.9486
  - Md5 Number: 421
  - Sha1 Precision: 0.8545
  - Sha1 Recall: 0.9592
  - Sha1 F1: 0.9038
  - Sha1 Number: 49
  - Sha256 Precision: 0.9120
  - Sha256 Recall: 0.9919
  - Sha256 F1: 0.9502
  - Sha256 Number: 491
  - Uri Precision: 0.3333
  - Uri Recall: 0.4545
  - Uri F1: 0.3846
  - Uri Number: 11
  - Overall Precision: 0.8946
  - Overall Recall: 0.9446
  - Overall F1: 0.9189
  - Overall Accuracy: 0.9886
  
  ## Model description
  
  More information needed
  
  ## Intended uses & limitations
  
  More information needed
  
  ## Training and evaluation data
  
  More information needed
  
  ## Training procedure
  
  ### Training hyperparameters
  
  The following hyperparameters were used during training:
  - learning_rate: 5e-05
  - train_batch_size: 8
  - eval_batch_size: 8
  - seed: 42
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  - lr_scheduler_type: linear
  - num_epochs: 3.0
  
  ### Training results
  
  | Training Loss | Epoch | Step  | Validation Loss | Attackid Precision | Attackid Recall | Attackid F1 | Attackid Number | Bitcoinaddr Precision | Bitcoinaddr Recall | Bitcoinaddr F1 | Bitcoinaddr Number | Cve Precision | Cve Recall | Cve F1 | Cve Number | Defenderthreat Precision | Defenderthreat Recall | Defenderthreat F1 | Defenderthreat Number | Domain Precision | Domain Recall | Domain F1 | Domain Number | Email Precision | Email Recall | Email F1 | Email Number | Filepath Precision | Filepath Recall | Filepath F1 | Filepath Number | Fingerprint Precision | Fingerprint Recall | Fingerprint F1 | Fingerprint Number | Hostname Precision | Hostname Recall | Hostname F1 | Hostname Number | Ipv4 Precision | Ipv4 Recall | Ipv4 F1 | Ipv4 Number | Ipv6 Precision | Ipv6 Recall | Ipv6 F1 | Ipv6 Number | Md5 Precision | Md5 Recall | Md5 F1 | Md5 Number | Sha1 Precision | Sha1 Recall | Sha1 F1 | Sha1 Number | Sha256 Precision | Sha256 Recall | Sha256 F1 | Sha256 Number | Uri Precision | Uri Recall | Uri F1 | Uri Number | Overall Precision | Overall Recall | Overall F1 | Overall Accuracy |
  |:-------------:|:-----:|:-----:|:---------------:|:------------------:|:---------------:|:-----------:|:---------------:|:---------------------:|:------------------:|:--------------:|:------------------:|:-------------:|:----------:|:------:|:----------:|:------------------------:|:---------------------:|:-----------------:|:---------------------:|:----------------:|:-------------:|:---------:|:-------------:|:---------------:|:------------:|:--------:|:------------:|:------------------:|:---------------:|:-----------:|:---------------:|:---------------------:|:------------------:|:--------------:|:------------------:|:------------------:|:---------------:|:-----------:|:---------------:|:--------------:|:-----------:|:-------:|:-----------:|:--------------:|:-----------:|:-------:|:-----------:|:-------------:|:----------:|:------:|:----------:|:--------------:|:-----------:|:-------:|:-----------:|:----------------:|:-------------:|:---------:|:-------------:|:-------------:|:----------:|:------:|:----------:|:-----------------:|:--------------:|:----------:|:----------------:|
  | 0.3691        | 0.04  | 500   | 0.3054          | 0.0                | 0.0             | 0.0         | 52              | 0.0                   | 0.0                | 0.0            | 7                  | 0.0           | 0.0        | 0.0    | 65         | 0.0                      | 0.0             