ZivKassnerNK commited on
Commit
d5a3243
·
1 Parent(s): 58400ac

Add evaluation results and output files to model card

Browse files
README.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: code
3
+ tags:
4
+ - binary-classification
5
+ - model
6
+ - evaluation
7
+ metrics:
8
+ - average_precision: 0.97
9
+ - roc_auc: 0.95
10
+ - best threshold according to F1: 0.23
11
+ ---
12
+
13
+ # Binary Classification Model
14
+
15
+ ## Evaluation Results
16
+
17
+ **Average Precision:** 0.97
18
+ **ROC AUC:** 0.95
19
+ **Best Threshold (F1 Score):** 0.23
20
+
21
+ ## Visualizations
22
+
23
+ ### Precision-Recall Curve
24
+ ![Precision-Recall Curve](./pr_curve.png)
25
+
26
+ ### ROC Curve
27
+ ![ROC Curve](./roc_curve.png)
28
+
29
+ ## Output Files and Directories
30
+
31
+ - 📂 `checkpoint-171/`
32
+ - `config.json`
33
+ - `model.safetensors`
34
+ - `preprocessor_config.json`
35
+ - `training_args.bin`
checkpoint-4347/config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ViTForImageClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "encoder_stride": 16,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.0,
9
+ "hidden_size": 256,
10
+ "image_size": 64,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 512,
13
+ "layer_norm_eps": 1e-12,
14
+ "model_type": "vit",
15
+ "num_attention_heads": 8,
16
+ "num_channels": 3,
17
+ "num_hidden_layers": 4,
18
+ "patch_size": 4,
19
+ "pooler_act": "tanh",
20
+ "pooler_output_size": 256,
21
+ "problem_type": "single_label_classification",
22
+ "qkv_bias": true,
23
+ "torch_dtype": "float32",
24
+ "transformers_version": "4.51.0"
25
+ }
checkpoint-4347/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ba320c53fb5aae942eecec2537d9386c7122a4cfba56d2afad3a194ed5c9367
3
+ size 8760128
checkpoint-4347/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9534b58c1126270d9594e50f4f7745b58032547603cfff2691a99054c9163304
3
+ size 17564858
checkpoint-4347/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": 64,
21
+ "width": 64
22
+ }
23
+ }
checkpoint-4347/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:055b037867b9e828c824adda1489b20368ec0cf1f3cb3f6b85fa856101d3299f
3
+ size 14244
checkpoint-4347/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b30172cf14f5dbe00280d63e36224a9f28dc7a0e8b38a74ceb5eb284e84da363
3
+ size 988
checkpoint-4347/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11af9f5afc2a1a30386571f0524f416d5f1d2b025c576d5d490773d70f77e4bb
3
+ size 1064
checkpoint-4347/trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-4347/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:294836b221c062dc24aca7f118a446edafb2b4898f7582dfe43d232297782c42
3
+ size 5368
config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ViTForImageClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "encoder_stride": 16,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.0,
9
+ "hidden_size": 256,
10
+ "image_size": 64,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 512,
13
+ "layer_norm_eps": 1e-12,
14
+ "model_type": "vit",
15
+ "num_attention_heads": 8,
16
+ "num_channels": 3,
17
+ "num_hidden_layers": 4,
18
+ "patch_size": 4,
19
+ "pooler_act": "tanh",
20
+ "pooler_output_size": 256,
21
+ "problem_type": "single_label_classification",
22
+ "qkv_bias": true,
23
+ "torch_dtype": "float32",
24
+ "transformers_version": "4.51.0"
25
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3885eb4cd9aa97883e7279399e15c8407714115c3019791138b8c7d7a6253a49
3
+ size 8760128
pr_curve.png ADDED
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": 64,
21
+ "width": 64
22
+ }
23
+ }
roc_curve.png ADDED
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:294836b221c062dc24aca7f118a446edafb2b4898f7582dfe43d232297782c42
3
+ size 5368