ZivKassnerNK commited on
Commit
3f1335f
·
1 Parent(s): 263e38a

Add evaluation results and output files to model card

Browse files
README.md CHANGED
@@ -5,18 +5,18 @@ tags:
5
  - model
6
  - evaluation
7
  metrics:
8
- - average_precision: 0.93
9
- - roc_auc: 0.90
10
- - best threshold according to F1: 0.37
11
  ---
12
 
13
  # Binary Classification Model
14
 
15
  ## Evaluation Results
16
 
17
- **Average Precision:** 0.93
18
- **ROC AUC:** 0.90
19
- **best threshold according to F1: 0.37
20
 
21
 
22
  ## Visualizations
 
5
  - model
6
  - evaluation
7
  metrics:
8
+ - average_precision: 0.83
9
+ - roc_auc: 0.79
10
+ - best threshold according to F1: 0.47
11
  ---
12
 
13
  # Binary Classification Model
14
 
15
  ## Evaluation Results
16
 
17
+ **Average Precision:** 0.83
18
+ **ROC AUC:** 0.79
19
+ **best threshold according to F1: 0.47
20
 
21
 
22
  ## Visualizations
checkpoint-8/config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "GenetikaPlus/binary_classification_model_v3.1.5_Junction_batch2",
3
+ "architectures": [
4
+ "ViTForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "encoder_stride": 16,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 256,
11
+ "image_size": 64,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 512,
14
+ "layer_norm_eps": 1e-12,
15
+ "model_type": "vit",
16
+ "num_attention_heads": 8,
17
+ "num_channels": 3,
18
+ "num_hidden_layers": 4,
19
+ "patch_size": 4,
20
+ "qkv_bias": true,
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.48.0"
23
+ }
checkpoint-8/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:958f354c0a4a7b17ee2f1630478630a3a890eaf792fbaaa6127973903ec18b95
3
+ size 8760128
checkpoint-8/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2774fd9f37a8d9cff1d919819d8448613233296dff71df0ef1e7413b0c44f16
3
+ size 17564858
checkpoint-8/preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": null,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": false,
6
+ "image_mean": [
7
+ 0.5,
8
+ 0.5,
9
+ 0.5
10
+ ],
11
+ "image_processor_type": "ViTFeatureExtractor",
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "resample": 2,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 32,
21
+ "width": 32
22
+ }
23
+ }
checkpoint-8/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:daa1c217c832c0fc1cebf0b1dcaccf2efb5505007a425e34a438e672993f5579
3
+ size 14244
checkpoint-8/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0ed227609d668f32c29a88e864644bbc2d719856cd6e14fe5b57623aeddb19d
3
+ size 1064
checkpoint-8/trainer_state.json ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.7894614129167639,
3
+ "best_model_checkpoint": "/tmp/logs/binary_classification_model_v3.1.5_Junction_batch2/checkpoint-8",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 8,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.13333333333333333,
13
+ "grad_norm": 28787.228515625,
14
+ "learning_rate": 0.00035714285714285714,
15
+ "loss": 0.3856,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.26666666666666666,
20
+ "grad_norm": 27319.6640625,
21
+ "learning_rate": 0.0007142857142857143,
22
+ "loss": 0.3913,
23
+ "step": 2
24
+ },
25
+ {
26
+ "epoch": 0.4,
27
+ "grad_norm": 764010.0625,
28
+ "learning_rate": 0.0010714285714285715,
29
+ "loss": 0.657,
30
+ "step": 3
31
+ },
32
+ {
33
+ "epoch": 0.5333333333333333,
34
+ "grad_norm": 460677.375,
35
+ "learning_rate": 0.0014285714285714286,
36
+ "loss": 0.6085,
37
+ "step": 4
38
+ },
39
+ {
40
+ "epoch": 0.6666666666666666,
41
+ "grad_norm": 349255.0625,
42
+ "learning_rate": 0.0017857142857142859,
43
+ "loss": 0.6177,
44
+ "step": 5
45
+ },
46
+ {
47
+ "epoch": 0.8,
48
+ "grad_norm": 162546.3125,
49
+ "learning_rate": 0.002142857142857143,
50
+ "loss": 0.5485,
51
+ "step": 6
52
+ },
53
+ {
54
+ "epoch": 0.9333333333333333,
55
+ "grad_norm": 441874.4375,
56
+ "learning_rate": 0.0025,
57
+ "loss": 0.7531,
58
+ "step": 7
59
+ },
60
+ {
61
+ "epoch": 1.0,
62
+ "grad_norm": 153196.75,
63
+ "learning_rate": 0.002857142857142857,
64
+ "loss": 0.3116,
65
+ "step": 8
66
+ },
67
+ {
68
+ "epoch": 1.0,
69
+ "eval_accuracy": 0.7538838920686836,
70
+ "eval_best_threshold": 0.5175232887268066,
71
+ "eval_f1": 0.7894614129167639,
72
+ "eval_loss": 0.5186505913734436,
73
+ "eval_pr_auc": 0.8433328368486523,
74
+ "eval_precision": 0.7086647132691503,
75
+ "eval_recall": 0.8910526315789473,
76
+ "eval_roc_auc": 0.8432376305376215,
77
+ "eval_runtime": 2.5983,
78
+ "eval_samples_per_second": 1412.087,
79
+ "eval_steps_per_second": 3.079,
80
+ "step": 8
81
+ }
82
+ ],
83
+ "logging_steps": 1,
84
+ "max_steps": 1400,
85
+ "num_input_tokens_seen": 0,
86
+ "num_train_epochs": 200,
87
+ "save_steps": 500,
88
+ "stateful_callbacks": {
89
+ "EarlyStoppingCallback": {
90
+ "args": {
91
+ "early_stopping_patience": 20,
92
+ "early_stopping_threshold": 0.0
93
+ },
94
+ "attributes": {
95
+ "early_stopping_patience_counter": 0
96
+ }
97
+ },
98
+ "TrainerControl": {
99
+ "args": {
100
+ "should_epoch_stop": false,
101
+ "should_evaluate": false,
102
+ "should_log": false,
103
+ "should_save": true,
104
+ "should_training_stop": false
105
+ },
106
+ "attributes": {}
107
+ }
108
+ },
109
+ "total_flos": 2366877807673344.0,
110
+ "train_batch_size": 1024,
111
+ "trial_name": null,
112
+ "trial_params": null
113
+ }
checkpoint-8/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99c19006956dac46c4f9af44fd85d92055df85ce6d52f69565d2637981ffd87f
3
+ size 5496
config.json CHANGED
@@ -1,4 +1,5 @@
1
  {
 
2
  "architectures": [
3
  "ViTForImageClassification"
4
  ],
 
1
  {
2
+ "_name_or_path": "GenetikaPlus/binary_classification_model_v3.1.5_Junction_batch2",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:19a6f54899e78fbef1b7ba0c10d4ae45fb33aeb499d950a1c219df118f36cbf8
3
  size 8760128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dcf15dfe1603919b6569b7a8b9543d2d04a2c6071913433b787ac4a06829caba
3
  size 8760128
pr_curve.png CHANGED
roc_curve.png CHANGED
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d23bd679f2ac4710cc47143fd0d3ede7ba63efa5f001551630286ba32462adec
3
- size 5432
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99c19006956dac46c4f9af44fd85d92055df85ce6d52f69565d2637981ffd87f
3
+ size 5496