SABR22 commited on
Commit
71924f8
·
verified ·
1 Parent(s): 683a5b3

End of training

Browse files
Files changed (2) hide show
  1. README.md +68 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google/vit-base-patch16-224-in21k
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: ViT-threat-classification
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # ViT-threat-classification
18
+
19
+ This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.4579
22
+ - Accuracy: 0.875
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 5e-05
42
+ - train_batch_size: 4
43
+ - eval_batch_size: 4
44
+ - seed: 42
45
+ - gradient_accumulation_steps: 4
46
+ - total_train_batch_size: 16
47
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
48
+ - lr_scheduler_type: linear
49
+ - lr_scheduler_warmup_ratio: 0.1
50
+ - num_epochs: 5
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
55
+ |:-------------:|:------:|:----:|:---------------:|:--------:|
56
+ | 0.6419 | 0.9756 | 10 | 0.6340 | 0.75 |
57
+ | 0.4677 | 1.9512 | 20 | 0.5560 | 0.75 |
58
+ | 0.367 | 2.9268 | 30 | 0.4571 | 1.0 |
59
+ | 0.3346 | 4.0 | 41 | 0.4751 | 0.75 |
60
+ | 0.2395 | 4.8780 | 50 | 0.4579 | 0.875 |
61
+
62
+
63
+ ### Framework versions
64
+
65
+ - Transformers 4.46.2
66
+ - Pytorch 2.5.1+cu124
67
+ - Datasets 3.1.0
68
+ - Tokenizers 0.20.3
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2e27b041e4642a7aa07522dfe9131ad9a38623a0900c7d91e0e803b90390909e
3
  size 343223968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa6543c0688c4d9488bd03b9b887623389f59cf05ee0163ee1ab891df43a6f42
3
  size 343223968