Commit
·
ad7c0bb
1
Parent(s):
d31cbd5
Add evaluation results and output files to model card
Browse files- README.md +36 -0
- checkpoint-1487/config.json +23 -0
- checkpoint-1487/model.safetensors +3 -0
- checkpoint-1487/optimizer.pt +3 -0
- checkpoint-1487/preprocessor_config.json +22 -0
- checkpoint-1487/rng_state.pth +3 -0
- checkpoint-1487/scheduler.pt +3 -0
- checkpoint-1487/trainer_state.json +0 -0
- checkpoint-1487/training_args.bin +3 -0
- config.json +23 -0
- model.safetensors +3 -0
- pr_curve.png +0 -0
- preprocessor_config.json +22 -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.86
|
9 |
+
- roc_auc: 0.84
|
10 |
+
- best threshold according to F1: 0.11
|
11 |
+
---
|
12 |
+
|
13 |
+
# Binary Classification Model
|
14 |
+
|
15 |
+
## Evaluation Results
|
16 |
+
|
17 |
+
**Average Precision:** 0.86
|
18 |
+
**ROC AUC:** 0.84
|
19 |
+
**best threshold according to F1: 0.11
|
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-1487/config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "GenetikaPlus/binary_classification_model_v3.1.3_junctions",
|
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": 32,
|
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.46.2"
|
23 |
+
}
|
checkpoint-1487/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1abdb4a048e429a4b787c59d4aae009010396964d381c08da415c4af14f559fa
|
3 |
+
size 8563512
|
checkpoint-1487/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:09639c1f35151c336318d76b886884cb2acd50d4caf419e5aede04ccf2fae7f4
|
3 |
+
size 17171514
|
checkpoint-1487/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": 32,
|
20 |
+
"width": 32
|
21 |
+
}
|
22 |
+
}
|
checkpoint-1487/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:da99c35841d05c5377d553429cd2c439800a38f24b3ad34f986a0d96698e85f6
|
3 |
+
size 14244
|
checkpoint-1487/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:65fb418e59a9c2dfa58ccf7fed21ff5d82f178849c911b24bc0a1f012644738c
|
3 |
+
size 1000
|
checkpoint-1487/trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-1487/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2ff397e9fb65f1cfb1f327151929eb11c370b6a936ab72f36ceac4c2800a790b
|
3 |
+
size 5368
|
config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "GenetikaPlus/binary_classification_model_v3.1.3_junctions",
|
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": 32,
|
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.46.2"
|
23 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ae6bb554320b6c7fd0aaa33f0377f10484b3b3d19419296a06342e554df44b93
|
3 |
+
size 8563512
|
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": 32,
|
20 |
+
"width": 32
|
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:2ff397e9fb65f1cfb1f327151929eb11c370b6a936ab72f36ceac4c2800a790b
|
3 |
+
size 5368
|