Commit
·
e9f3c4b
1
Parent(s):
688c9ba
Add evaluation results and output files to model card
Browse files- README.md +35 -0
- checkpoint-2624/config.json +25 -0
- checkpoint-2624/model.safetensors +3 -0
- checkpoint-2624/optimizer.pt +3 -0
- checkpoint-2624/preprocessor_config.json +23 -0
- checkpoint-2624/rng_state.pth +3 -0
- checkpoint-2624/scaler.pt +3 -0
- checkpoint-2624/scheduler.pt +3 -0
- checkpoint-2624/trainer_state.json +0 -0
- checkpoint-2624/training_args.bin +3 -0
- config.json +25 -0
- model.safetensors +3 -0
- pr_curve.png +0 -0
- preprocessor_config.json +23 -0
- roc_curve.png +0 -0
- training_args.bin +3 -0
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.96
|
9 |
+
- roc_auc: 0.94
|
10 |
+
- best threshold according to F1: 0.37
|
11 |
+
---
|
12 |
+
|
13 |
+
# Binary Classification Model
|
14 |
+
|
15 |
+
## Evaluation Results
|
16 |
+
|
17 |
+
**Average Precision:** 0.96
|
18 |
+
**ROC AUC:** 0.94
|
19 |
+
**Best Threshold (F1 Score):** 0.37
|
20 |
+
|
21 |
+
## Visualizations
|
22 |
+
|
23 |
+
### Precision-Recall Curve
|
24 |
+

|
25 |
+
|
26 |
+
### ROC Curve
|
27 |
+

|
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-2624/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-2624/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fa7aaeb4cf5840c927382e5a995628d6649ac5302399d81df0486f26f6389fae
|
3 |
+
size 8760128
|
checkpoint-2624/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:da9015d2b5977fabd13281c825ce1919bb1d972d0822aa8adccada67f5b9d52a
|
3 |
+
size 17564858
|
checkpoint-2624/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-2624/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3ab1eb859490d3081d003e205c9b53897bdb2a3a79a0812129d3bde1097ce338
|
3 |
+
size 14244
|
checkpoint-2624/scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b30172cf14f5dbe00280d63e36224a9f28dc7a0e8b38a74ceb5eb284e84da363
|
3 |
+
size 988
|
checkpoint-2624/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2ed278e01833c8ee29da4ea1953e15a9932bcab90eb597791a83e01cf879c223
|
3 |
+
size 1064
|
checkpoint-2624/trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-2624/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2e2fc7d01fbf72cf32ecb824fb69c416a403f522d23e6fe9dce913c7816f4f8b
|
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:3e9558810607ea7dc639a90717fbac0a5999a6b9880b0996fe82b8278409d6a0
|
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:2e2fc7d01fbf72cf32ecb824fb69c416a403f522d23e6fe9dce913c7816f4f8b
|
3 |
+
size 5368
|