Upload folder using huggingface_hub
Browse files- checkpoint-2250/config.json +4 -3
- checkpoint-2250/model.safetensors +1 -1
- checkpoint-2250/optimizer.pt +2 -2
- checkpoint-2250/preprocessor_config.json +1 -14
- checkpoint-2250/rng_state.pth +2 -2
- checkpoint-2250/scheduler.pt +2 -2
- checkpoint-2250/trainer_state.json +42 -27
- checkpoint-2250/training_args.bin +2 -2
- config.json +4 -3
- model.safetensors +1 -1
- preprocessor_config.json +1 -14
- training_args.bin +2 -2
checkpoint-2250/config.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "dima806/ai_vs_real_image_detection",
|
| 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,
|
|
@@ -25,8 +25,9 @@
|
|
| 25 |
"num_channels": 3,
|
| 26 |
"num_hidden_layers": 12,
|
| 27 |
"patch_size": 16,
|
|
|
|
|
|
|
| 28 |
"problem_type": "single_label_classification",
|
| 29 |
"qkv_bias": true,
|
| 30 |
-
"
|
| 31 |
-
"transformers_version": "4.39.3"
|
| 32 |
}
|
|
|
|
| 1 |
{
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"ViTForImageClassification"
|
| 4 |
],
|
| 5 |
"attention_probs_dropout_prob": 0.0,
|
| 6 |
+
"dtype": "float32",
|
| 7 |
"encoder_stride": 16,
|
| 8 |
"hidden_act": "gelu",
|
| 9 |
"hidden_dropout_prob": 0.0,
|
|
|
|
| 25 |
"num_channels": 3,
|
| 26 |
"num_hidden_layers": 12,
|
| 27 |
"patch_size": 16,
|
| 28 |
+
"pooler_act": "tanh",
|
| 29 |
+
"pooler_output_size": 768,
|
| 30 |
"problem_type": "single_label_classification",
|
| 31 |
"qkv_bias": true,
|
| 32 |
+
"transformers_version": "4.57.1"
|
|
|
|
| 33 |
}
|
checkpoint-2250/model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 343223968
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4965312dcb2650fdd5952fd05f0d52c8e011efa5639c03e07bf8eb2f3ecd40ca
|
| 3 |
size 343223968
|
checkpoint-2250/optimizer.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a9bc393c204a3850342447efadddc179de8ded3dd284ad94d3ddab5ae18ecd81
|
| 3 |
+
size 686572107
|
checkpoint-2250/preprocessor_config.json
CHANGED
|
@@ -1,18 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
"images",
|
| 4 |
-
"do_resize",
|
| 5 |
-
"size",
|
| 6 |
-
"resample",
|
| 7 |
-
"do_rescale",
|
| 8 |
-
"rescale_factor",
|
| 9 |
-
"do_normalize",
|
| 10 |
-
"image_mean",
|
| 11 |
-
"image_std",
|
| 12 |
-
"return_tensors",
|
| 13 |
-
"data_format",
|
| 14 |
-
"input_data_format"
|
| 15 |
-
],
|
| 16 |
"do_normalize": true,
|
| 17 |
"do_rescale": true,
|
| 18 |
"do_resize": true,
|
|
|
|
| 1 |
{
|
| 2 |
+
"do_convert_rgb": null,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
"do_normalize": true,
|
| 4 |
"do_rescale": true,
|
| 5 |
"do_resize": true,
|
checkpoint-2250/rng_state.pth
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4c86cc5f2dd4fb671cd4ae676e0d00ba562a53b4e8c91656bffc4d509c0e3ae2
|
| 3 |
+
size 14645
|
checkpoint-2250/scheduler.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:53717cf119cab454890d4aa2d26aa4a86585b5facd129b6c5968b3314c4a326b
|
| 3 |
+
size 1465
|
checkpoint-2250/trainer_state.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
|
|
|
| 3 |
"best_model_checkpoint": "ai_vs_real_image_detection/checkpoint-2250",
|
| 4 |
"epoch": 2.0,
|
| 5 |
"eval_steps": 500,
|
|
@@ -9,49 +10,51 @@
|
|
| 9 |
"is_world_process_zero": true,
|
| 10 |
"log_history": [
|
| 11 |
{
|
| 12 |
-
"epoch": 0.
|
| 13 |
-
"grad_norm":
|
| 14 |
-
"learning_rate": 7.
|
| 15 |
-
"loss": 0.
|
| 16 |
"step": 500
|
| 17 |
},
|
| 18 |
{
|
| 19 |
-
"epoch": 0.
|
| 20 |
-
"grad_norm":
|
| 21 |
-
"learning_rate": 5.
|
| 22 |
-
"loss": 0.
|
| 23 |
"step": 1000
|
| 24 |
},
|
| 25 |
{
|
| 26 |
"epoch": 1.0,
|
| 27 |
-
"eval_accuracy": 0.
|
| 28 |
-
"eval_loss": 0.
|
| 29 |
-
"
|
| 30 |
-
"
|
| 31 |
-
"
|
|
|
|
| 32 |
"step": 1125
|
| 33 |
},
|
| 34 |
{
|
| 35 |
-
"epoch": 1.
|
| 36 |
-
"grad_norm":
|
| 37 |
-
"learning_rate": 3.
|
| 38 |
-
"loss": 0.
|
| 39 |
"step": 1500
|
| 40 |
},
|
| 41 |
{
|
| 42 |
-
"epoch": 1.
|
| 43 |
-
"grad_norm": 0.
|
| 44 |
-
"learning_rate": 1.
|
| 45 |
-
"loss": 0.
|
| 46 |
"step": 2000
|
| 47 |
},
|
| 48 |
{
|
| 49 |
"epoch": 2.0,
|
| 50 |
-
"eval_accuracy": 0.
|
| 51 |
-
"eval_loss": 0.
|
| 52 |
-
"
|
| 53 |
-
"
|
| 54 |
-
"
|
|
|
|
| 55 |
"step": 2250
|
| 56 |
}
|
| 57 |
],
|
|
@@ -60,6 +63,18 @@
|
|
| 60 |
"num_input_tokens_seen": 0,
|
| 61 |
"num_train_epochs": 2,
|
| 62 |
"save_steps": 500,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
"total_flos": 1.1158846504501248e+19,
|
| 64 |
"train_batch_size": 64,
|
| 65 |
"trial_name": null,
|
|
|
|
| 1 |
{
|
| 2 |
+
"best_global_step": 2250,
|
| 3 |
+
"best_metric": 0.043170735239982605,
|
| 4 |
"best_model_checkpoint": "ai_vs_real_image_detection/checkpoint-2250",
|
| 5 |
"epoch": 2.0,
|
| 6 |
"eval_steps": 500,
|
|
|
|
| 10 |
"is_world_process_zero": true,
|
| 11 |
"log_history": [
|
| 12 |
{
|
| 13 |
+
"epoch": 0.4444444444444444,
|
| 14 |
+
"grad_norm": 5.814823627471924,
|
| 15 |
+
"learning_rate": 7.959090909090908e-07,
|
| 16 |
+
"loss": 0.0364,
|
| 17 |
"step": 500
|
| 18 |
},
|
| 19 |
{
|
| 20 |
+
"epoch": 0.8888888888888888,
|
| 21 |
+
"grad_norm": 0.22298501431941986,
|
| 22 |
+
"learning_rate": 5.686363636363636e-07,
|
| 23 |
+
"loss": 0.0368,
|
| 24 |
"step": 1000
|
| 25 |
},
|
| 26 |
{
|
| 27 |
"epoch": 1.0,
|
| 28 |
+
"eval_accuracy": 0.9843333333333333,
|
| 29 |
+
"eval_loss": 0.0432790108025074,
|
| 30 |
+
"eval_model_preparation_time": 0.0025,
|
| 31 |
+
"eval_runtime": 568.0233,
|
| 32 |
+
"eval_samples_per_second": 84.504,
|
| 33 |
+
"eval_steps_per_second": 2.641,
|
| 34 |
"step": 1125
|
| 35 |
},
|
| 36 |
{
|
| 37 |
+
"epoch": 1.3333333333333333,
|
| 38 |
+
"grad_norm": 0.49659785628318787,
|
| 39 |
+
"learning_rate": 3.4136363636363637e-07,
|
| 40 |
+
"loss": 0.033,
|
| 41 |
"step": 1500
|
| 42 |
},
|
| 43 |
{
|
| 44 |
+
"epoch": 1.7777777777777777,
|
| 45 |
+
"grad_norm": 0.8334054350852966,
|
| 46 |
+
"learning_rate": 1.1409090909090908e-07,
|
| 47 |
+
"loss": 0.0373,
|
| 48 |
"step": 2000
|
| 49 |
},
|
| 50 |
{
|
| 51 |
"epoch": 2.0,
|
| 52 |
+
"eval_accuracy": 0.9843541666666666,
|
| 53 |
+
"eval_loss": 0.043170735239982605,
|
| 54 |
+
"eval_model_preparation_time": 0.0025,
|
| 55 |
+
"eval_runtime": 579.2635,
|
| 56 |
+
"eval_samples_per_second": 82.864,
|
| 57 |
+
"eval_steps_per_second": 2.589,
|
| 58 |
"step": 2250
|
| 59 |
}
|
| 60 |
],
|
|
|
|
| 63 |
"num_input_tokens_seen": 0,
|
| 64 |
"num_train_epochs": 2,
|
| 65 |
"save_steps": 500,
|
| 66 |
+
"stateful_callbacks": {
|
| 67 |
+
"TrainerControl": {
|
| 68 |
+
"args": {
|
| 69 |
+
"should_epoch_stop": false,
|
| 70 |
+
"should_evaluate": false,
|
| 71 |
+
"should_log": false,
|
| 72 |
+
"should_save": true,
|
| 73 |
+
"should_training_stop": true
|
| 74 |
+
},
|
| 75 |
+
"attributes": {}
|
| 76 |
+
}
|
| 77 |
+
},
|
| 78 |
"total_flos": 1.1158846504501248e+19,
|
| 79 |
"train_batch_size": 64,
|
| 80 |
"trial_name": null,
|
checkpoint-2250/training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:65eb47ea5341947e34b68939622a4329b7fa962becd59e6205fc8d22c57a386c
|
| 3 |
+
size 5777
|
config.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "dima806/ai_vs_real_image_detection",
|
| 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,
|
|
@@ -25,8 +25,9 @@
|
|
| 25 |
"num_channels": 3,
|
| 26 |
"num_hidden_layers": 12,
|
| 27 |
"patch_size": 16,
|
|
|
|
|
|
|
| 28 |
"problem_type": "single_label_classification",
|
| 29 |
"qkv_bias": true,
|
| 30 |
-
"
|
| 31 |
-
"transformers_version": "4.39.3"
|
| 32 |
}
|
|
|
|
| 1 |
{
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"ViTForImageClassification"
|
| 4 |
],
|
| 5 |
"attention_probs_dropout_prob": 0.0,
|
| 6 |
+
"dtype": "float32",
|
| 7 |
"encoder_stride": 16,
|
| 8 |
"hidden_act": "gelu",
|
| 9 |
"hidden_dropout_prob": 0.0,
|
|
|
|
| 25 |
"num_channels": 3,
|
| 26 |
"num_hidden_layers": 12,
|
| 27 |
"patch_size": 16,
|
| 28 |
+
"pooler_act": "tanh",
|
| 29 |
+
"pooler_output_size": 768,
|
| 30 |
"problem_type": "single_label_classification",
|
| 31 |
"qkv_bias": true,
|
| 32 |
+
"transformers_version": "4.57.1"
|
|
|
|
| 33 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 343223968
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4965312dcb2650fdd5952fd05f0d52c8e011efa5639c03e07bf8eb2f3ecd40ca
|
| 3 |
size 343223968
|
preprocessor_config.json
CHANGED
|
@@ -1,18 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
"images",
|
| 4 |
-
"do_resize",
|
| 5 |
-
"size",
|
| 6 |
-
"resample",
|
| 7 |
-
"do_rescale",
|
| 8 |
-
"rescale_factor",
|
| 9 |
-
"do_normalize",
|
| 10 |
-
"image_mean",
|
| 11 |
-
"image_std",
|
| 12 |
-
"return_tensors",
|
| 13 |
-
"data_format",
|
| 14 |
-
"input_data_format"
|
| 15 |
-
],
|
| 16 |
"do_normalize": true,
|
| 17 |
"do_rescale": true,
|
| 18 |
"do_resize": true,
|
|
|
|
| 1 |
{
|
| 2 |
+
"do_convert_rgb": null,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
"do_normalize": true,
|
| 4 |
"do_rescale": true,
|
| 5 |
"do_resize": true,
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:65eb47ea5341947e34b68939622a4329b7fa962becd59e6205fc8d22c57a386c
|
| 3 |
+
size 5777
|