End of training
Browse files- README.md +61 -0
- all_results.json +8 -0
- config.json +69 -0
- eval_results.json +8 -0
- model.safetensors +3 -0
- preprocessor_config.json +27 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: facebook/dinov2-large
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
model-index:
|
8 |
+
- name: eval-trueface-dinov2-large-5-epochs-nov_19-baseline
|
9 |
+
results: []
|
10 |
+
---
|
11 |
+
|
12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
13 |
+
should probably proofread and complete it, then remove this comment. -->
|
14 |
+
|
15 |
+
# eval-trueface-dinov2-large-5-epochs-nov_19-baseline
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [facebook/dinov2-large](https://huggingface.co/facebook/dinov2-large) on an unknown dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- eval_loss: 0.9384
|
20 |
+
- eval_model_preparation_time: 0.0055
|
21 |
+
- eval_accuracy: 0.5680
|
22 |
+
- eval_runtime: 1478.4624
|
23 |
+
- eval_samples_per_second: 14.204
|
24 |
+
- eval_steps_per_second: 0.444
|
25 |
+
- step: 0
|
26 |
+
|
27 |
+
## Model description
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Intended uses & limitations
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training and evaluation data
|
36 |
+
|
37 |
+
More information needed
|
38 |
+
|
39 |
+
## Training procedure
|
40 |
+
|
41 |
+
### Training hyperparameters
|
42 |
+
|
43 |
+
The following hyperparameters were used during training:
|
44 |
+
- learning_rate: 5e-05
|
45 |
+
- train_batch_size: 32
|
46 |
+
- eval_batch_size: 32
|
47 |
+
- seed: 42
|
48 |
+
- distributed_type: multi-GPU
|
49 |
+
- gradient_accumulation_steps: 4
|
50 |
+
- total_train_batch_size: 128
|
51 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
52 |
+
- lr_scheduler_type: linear
|
53 |
+
- lr_scheduler_warmup_ratio: 0.1
|
54 |
+
- num_epochs: 5
|
55 |
+
|
56 |
+
### Framework versions
|
57 |
+
|
58 |
+
- Transformers 4.45.2
|
59 |
+
- Pytorch 2.4.1+cu121
|
60 |
+
- Datasets 3.0.1
|
61 |
+
- Tokenizers 0.20.0
|
all_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"eval_accuracy": 0.567952380952381,
|
3 |
+
"eval_loss": 0.9383690357208252,
|
4 |
+
"eval_model_preparation_time": 0.0055,
|
5 |
+
"eval_runtime": 1478.4624,
|
6 |
+
"eval_samples_per_second": 14.204,
|
7 |
+
"eval_steps_per_second": 0.444
|
8 |
+
}
|
config.json
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/dinov2-large",
|
3 |
+
"apply_layernorm": true,
|
4 |
+
"architectures": [
|
5 |
+
"Dinov2ForImageClassification"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.0,
|
8 |
+
"drop_path_rate": 0.0,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.0,
|
11 |
+
"hidden_size": 1024,
|
12 |
+
"id2label": {
|
13 |
+
"0": "fake",
|
14 |
+
"1": "real"
|
15 |
+
},
|
16 |
+
"image_size": 518,
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"label2id": {
|
19 |
+
"fake": 0,
|
20 |
+
"real": 1
|
21 |
+
},
|
22 |
+
"layer_norm_eps": 1e-06,
|
23 |
+
"layerscale_value": 1.0,
|
24 |
+
"mlp_ratio": 4,
|
25 |
+
"model_type": "dinov2",
|
26 |
+
"num_attention_heads": 16,
|
27 |
+
"num_channels": 3,
|
28 |
+
"num_hidden_layers": 24,
|
29 |
+
"out_features": [
|
30 |
+
"stage24"
|
31 |
+
],
|
32 |
+
"out_indices": [
|
33 |
+
24
|
34 |
+
],
|
35 |
+
"patch_size": 14,
|
36 |
+
"problem_type": "single_label_classification",
|
37 |
+
"qkv_bias": true,
|
38 |
+
"reshape_hidden_states": true,
|
39 |
+
"stage_names": [
|
40 |
+
"stem",
|
41 |
+
"stage1",
|
42 |
+
"stage2",
|
43 |
+
"stage3",
|
44 |
+
"stage4",
|
45 |
+
"stage5",
|
46 |
+
"stage6",
|
47 |
+
"stage7",
|
48 |
+
"stage8",
|
49 |
+
"stage9",
|
50 |
+
"stage10",
|
51 |
+
"stage11",
|
52 |
+
"stage12",
|
53 |
+
"stage13",
|
54 |
+
"stage14",
|
55 |
+
"stage15",
|
56 |
+
"stage16",
|
57 |
+
"stage17",
|
58 |
+
"stage18",
|
59 |
+
"stage19",
|
60 |
+
"stage20",
|
61 |
+
"stage21",
|
62 |
+
"stage22",
|
63 |
+
"stage23",
|
64 |
+
"stage24"
|
65 |
+
],
|
66 |
+
"torch_dtype": "float32",
|
67 |
+
"transformers_version": "4.45.2",
|
68 |
+
"use_swiglu_ffn": false
|
69 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"eval_accuracy": 0.567952380952381,
|
3 |
+
"eval_loss": 0.9383690357208252,
|
4 |
+
"eval_model_preparation_time": 0.0055,
|
5 |
+
"eval_runtime": 1478.4624,
|
6 |
+
"eval_samples_per_second": 14.204,
|
7 |
+
"eval_steps_per_second": 0.444
|
8 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a3f465ae34b55c893c66363e92dae386e779ed3b2942d83446e9327b3bf74706
|
3 |
+
size 1217542512
|
preprocessor_config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_size": {
|
3 |
+
"height": 224,
|
4 |
+
"width": 224
|
5 |
+
},
|
6 |
+
"do_center_crop": true,
|
7 |
+
"do_convert_rgb": true,
|
8 |
+
"do_normalize": true,
|
9 |
+
"do_rescale": true,
|
10 |
+
"do_resize": true,
|
11 |
+
"image_mean": [
|
12 |
+
0.485,
|
13 |
+
0.456,
|
14 |
+
0.406
|
15 |
+
],
|
16 |
+
"image_processor_type": "BitImageProcessor",
|
17 |
+
"image_std": [
|
18 |
+
0.229,
|
19 |
+
0.224,
|
20 |
+
0.225
|
21 |
+
],
|
22 |
+
"resample": 3,
|
23 |
+
"rescale_factor": 0.00392156862745098,
|
24 |
+
"size": {
|
25 |
+
"shortest_edge": 256
|
26 |
+
}
|
27 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:176211c8290989367786af4b8cb90d1e6245bbe60690c80b63c56c5191a29d36
|
3 |
+
size 5304
|