Upload folder using huggingface_hub
Browse files- checkpoint-50/config.json +42 -0
- checkpoint-50/model.safetensors +3 -0
- checkpoint-50/optimizer.pt +3 -0
- checkpoint-50/preprocessor_config.json +22 -0
- checkpoint-50/rng_state.pth +3 -0
- checkpoint-50/scheduler.pt +3 -0
- checkpoint-50/trainer_state.json +39 -0
- checkpoint-50/training_args.bin +3 -0
- model.safetensors +1 -1
checkpoint-50/config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "dima806/horse_breeds_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,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "Friesian",
|
13 |
+
"1": "Arabian",
|
14 |
+
"2": "Percheron",
|
15 |
+
"3": "Orlov Trotter",
|
16 |
+
"4": "Akhal-Teke",
|
17 |
+
"5": "Vladimir Heavy Draft",
|
18 |
+
"6": "Appaloosa"
|
19 |
+
},
|
20 |
+
"image_size": 224,
|
21 |
+
"initializer_range": 0.02,
|
22 |
+
"intermediate_size": 3072,
|
23 |
+
"label2id": {
|
24 |
+
"Akhal-Teke": 4,
|
25 |
+
"Appaloosa": 6,
|
26 |
+
"Arabian": 1,
|
27 |
+
"Friesian": 0,
|
28 |
+
"Orlov Trotter": 3,
|
29 |
+
"Percheron": 2,
|
30 |
+
"Vladimir Heavy Draft": 5
|
31 |
+
},
|
32 |
+
"layer_norm_eps": 1e-12,
|
33 |
+
"model_type": "vit",
|
34 |
+
"num_attention_heads": 12,
|
35 |
+
"num_channels": 3,
|
36 |
+
"num_hidden_layers": 12,
|
37 |
+
"patch_size": 16,
|
38 |
+
"problem_type": "single_label_classification",
|
39 |
+
"qkv_bias": true,
|
40 |
+
"torch_dtype": "float32",
|
41 |
+
"transformers_version": "4.38.2"
|
42 |
+
}
|
checkpoint-50/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b28d2b4b51b393b69455eb89c0e6431f5f9015acf79e99495c67ced2f33b687f
|
3 |
+
size 343239356
|
checkpoint-50/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ac7f23d247e76bcb57629d4687de2a45a6c99805b3ddf3ae9c1a8e609f3826d5
|
3 |
+
size 686599173
|
checkpoint-50/preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"image_mean": [
|
6 |
+
0.5,
|
7 |
+
0.5,
|
8 |
+
0.5
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTImageProcessor",
|
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": 224,
|
20 |
+
"width": 224
|
21 |
+
}
|
22 |
+
}
|
checkpoint-50/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ec7c626e2cc0b6674a3eea9276043d90828026a0f4054528b8a285b0e96bcb97
|
3 |
+
size 14575
|
checkpoint-50/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:26842947a94bff8f8da3b32ad99de7d3824a080336424cea5187ba1e3d28f98a
|
3 |
+
size 627
|
checkpoint-50/trainer_state.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 1.0427368879318237,
|
3 |
+
"best_model_checkpoint": "horse_breeds_image_detection/checkpoint-50",
|
4 |
+
"epoch": 2.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 50,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 1.0,
|
13 |
+
"eval_accuracy": 0.8045977011494253,
|
14 |
+
"eval_loss": 1.0630697011947632,
|
15 |
+
"eval_runtime": 1.1291,
|
16 |
+
"eval_samples_per_second": 77.053,
|
17 |
+
"eval_steps_per_second": 9.742,
|
18 |
+
"step": 25
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"epoch": 2.0,
|
22 |
+
"eval_accuracy": 0.8275862068965517,
|
23 |
+
"eval_loss": 1.0427368879318237,
|
24 |
+
"eval_runtime": 1.1131,
|
25 |
+
"eval_samples_per_second": 78.157,
|
26 |
+
"eval_steps_per_second": 9.882,
|
27 |
+
"step": 50
|
28 |
+
}
|
29 |
+
],
|
30 |
+
"logging_steps": 500,
|
31 |
+
"max_steps": 50,
|
32 |
+
"num_input_tokens_seen": 0,
|
33 |
+
"num_train_epochs": 2,
|
34 |
+
"save_steps": 500,
|
35 |
+
"total_flos": 1.199629756335145e+17,
|
36 |
+
"train_batch_size": 32,
|
37 |
+
"trial_name": null,
|
38 |
+
"trial_params": null
|
39 |
+
}
|
checkpoint-50/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:be3860eeb198415b73c6a7d682df29d4be74f499686e5a47a891d751cf7bbaa7
|
3 |
+
size 4411
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343239356
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b28d2b4b51b393b69455eb89c0e6431f5f9015acf79e99495c67ced2f33b687f
|
3 |
size 343239356
|