ZivKassnerNK commited on
Commit
331a455
·
1 Parent(s): c1c1be0

Add evaluation results and output files to model card

Browse files
README.md ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: code
3
+ tags:
4
+ - binary-classification
5
+ - model
6
+ - evaluation
7
+ metrics:
8
+ - average_precision: 0.94
9
+ - roc_auc: 0.47
10
+ - best threshold according to F1: 0.05
11
+ ---
12
+
13
+ # Binary Classification Model
14
+
15
+ ## Evaluation Results
16
+
17
+ **Average Precision:** 0.94
18
+ **ROC AUC:** 0.47
19
+ **best threshold according to F1: 0.05
20
+
21
+
22
+ ## Visualizations
23
+
24
+ ### Precision-Recall Curve
25
+ ![Precision-Recall Curve](./pr_curve.png)
26
+
27
+ ### ROC Curve
28
+ ![ROC Curve](./roc_curve.png)
29
+
30
+ ## Output Files and Directories
31
+
32
+ - 📂 `checkpoint-171/`
33
+ - `config.json`
34
+ - `model.safetensors`
35
+ - `preprocessor_config.json`
36
+ - `training_args.bin`
checkpoint-333/config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 256,
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": 16,
19
+ "qkv_bias": true,
20
+ "torch_dtype": "float32",
21
+ "transformers_version": "4.46.2"
22
+ }
checkpoint-333/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e473b6b2db5d65d5aa703e44d5cbad321db632cc65a654d81e80d2422eac79b
3
+ size 9497424
checkpoint-333/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc6ec1fdbe303d3270e8ee8ceb197b30df78fbb698758020cb5a28164461c902
3
+ size 19039290
checkpoint-333/preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_rescale": true,
4
+ "do_resize": false,
5
+ "image_mean": [
6
+ 0.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_processor_type": "ViTFeatureExtractor",
11
+ "image_std": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "resample": 2,
17
+ "rescale_factor": 0.00392156862745098,
18
+ "size": {
19
+ "height": 256,
20
+ "width": 256
21
+ }
22
+ }
checkpoint-333/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36f3c0db3ef5ee2c07dce6f30b6f4b822924d8532f54c1a8d1df4bd66e7aa090
3
+ size 14244
checkpoint-333/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b20419ed40c8919a902a158086f1d35bfeee58dc1770920844421cf61e93ccdc
3
+ size 1000
checkpoint-333/trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-333/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8762816cc9821828d767db1f935e5bda5bffeff8ebf233a280cc357a35f3e6e
3
+ size 5368
config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 256,
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": 16,
19
+ "qkv_bias": true,
20
+ "torch_dtype": "float32",
21
+ "transformers_version": "4.46.2"
22
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ded925128b7cb7aeb661a84c853a1cbc8cd32841405ddd44cf954cbdfc73d7d5
3
+ size 9497424
pr_curve.png ADDED
preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_rescale": true,
4
+ "do_resize": false,
5
+ "image_mean": [
6
+ 0.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_processor_type": "ViTFeatureExtractor",
11
+ "image_std": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "resample": 2,
17
+ "rescale_factor": 0.00392156862745098,
18
+ "size": {
19
+ "height": 256,
20
+ "width": 256
21
+ }
22
+ }
roc_curve.png ADDED
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8762816cc9821828d767db1f935e5bda5bffeff8ebf233a280cc357a35f3e6e
3
+ size 5368