Commit
·
39492a9
1
Parent(s):
1889384
Add evaluation results and output files to model card
Browse files- README.md +36 -0
- checkpoint-250/config.json +23 -0
- checkpoint-250/model.safetensors +3 -0
- checkpoint-250/optimizer.pt +3 -0
- checkpoint-250/preprocessor_config.json +23 -0
- checkpoint-250/rng_state.pth +3 -0
- checkpoint-250/scheduler.pt +3 -0
- checkpoint-250/trainer_state.json +0 -0
- checkpoint-250/training_args.bin +3 -0
- config.json +23 -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,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language: code
|
3 |
+
tags:
|
4 |
+
- binary-classification
|
5 |
+
- model
|
6 |
+
- evaluation
|
7 |
+
metrics:
|
8 |
+
- average_precision: 0.93
|
9 |
+
- roc_auc: 0.74
|
10 |
+
- best threshold according to F1: 0.46
|
11 |
+
---
|
12 |
+
|
13 |
+
# Binary Classification Model
|
14 |
+
|
15 |
+
## Evaluation Results
|
16 |
+
|
17 |
+
**Average Precision:** 0.93
|
18 |
+
**ROC AUC:** 0.74
|
19 |
+
**best threshold according to F1: 0.46
|
20 |
+
|
21 |
+
|
22 |
+
## Visualizations
|
23 |
+
|
24 |
+
### Precision-Recall Curve
|
25 |
+

|
26 |
+
|
27 |
+
### ROC Curve
|
28 |
+

|
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-250/config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"problem_type": "single_label_classification",
|
20 |
+
"qkv_bias": true,
|
21 |
+
"torch_dtype": "float32",
|
22 |
+
"transformers_version": "4.48.0"
|
23 |
+
}
|
checkpoint-250/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:568b01b66978fdda3f5e30de9299c7330deffe0bc396de186b1e0b6ef9818b65
|
3 |
+
size 9497424
|
checkpoint-250/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:427f14548cd611d99c827e8df1f8c8ee22aa6f8fa85404120d9de967df3fa685
|
3 |
+
size 19039418
|
checkpoint-250/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": 256,
|
21 |
+
"width": 256
|
22 |
+
}
|
23 |
+
}
|
checkpoint-250/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:db4fdd5e1c3ad6c2879caec1c67ad129549850d0389d739b07df608cfef9a86a
|
3 |
+
size 14244
|
checkpoint-250/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4d6e56b293b3531b5285a0aec8bb27f746fe3720c3ed0eb334c68db3b00c7b19
|
3 |
+
size 1064
|
checkpoint-250/trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-250/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:554abbcf8a728781586ae0f65cb630220e0afa45e087308a981b57515d1ce795
|
3 |
+
size 5432
|
config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"problem_type": "single_label_classification",
|
20 |
+
"qkv_bias": true,
|
21 |
+
"torch_dtype": "float32",
|
22 |
+
"transformers_version": "4.48.0"
|
23 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b2b72bc4d78675bafbde39b5395e2d5bd9d08db7c679c0aacc1697ea3d753095
|
3 |
+
size 9497424
|
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": 256,
|
21 |
+
"width": 256
|
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:554abbcf8a728781586ae0f65cb630220e0afa45e087308a981b57515d1ce795
|
3 |
+
size 5432
|