Upload folder using huggingface_hub
Browse files- checkpoint-205/config.json +58 -0
- checkpoint-205/model.safetensors +3 -0
- checkpoint-205/optimizer.pt +3 -0
- checkpoint-205/preprocessor_config.json +22 -0
- checkpoint-205/rng_state.pth +3 -0
- checkpoint-205/scheduler.pt +3 -0
- checkpoint-205/trainer_state.json +66 -0
- checkpoint-205/training_args.bin +3 -0
- config.json +2 -2
- model.safetensors +1 -1
- training_args.bin +2 -2
checkpoint-205/config.json
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "dima806/top_15_anime_characters_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": "Killua",
|
13 |
+
"1": "Sakata Gintoki",
|
14 |
+
"2": "Eren Yeager",
|
15 |
+
"3": "Ichigo",
|
16 |
+
"4": "Lelouch Lamperouge",
|
17 |
+
"5": "Naruto",
|
18 |
+
"6": "Goku",
|
19 |
+
"7": "Vegeta",
|
20 |
+
"8": "Zoro",
|
21 |
+
"9": "Natsu Dragneel",
|
22 |
+
"10": "Gon",
|
23 |
+
"11": "Sasuke",
|
24 |
+
"12": "Elric Edward",
|
25 |
+
"13": "Light Yagami",
|
26 |
+
"14": "Luffy"
|
27 |
+
},
|
28 |
+
"image_size": 224,
|
29 |
+
"initializer_range": 0.02,
|
30 |
+
"intermediate_size": 3072,
|
31 |
+
"label2id": {
|
32 |
+
"Elric Edward": 12,
|
33 |
+
"Eren Yeager": 2,
|
34 |
+
"Goku": 6,
|
35 |
+
"Gon": 10,
|
36 |
+
"Ichigo": 3,
|
37 |
+
"Killua": 0,
|
38 |
+
"Lelouch Lamperouge": 4,
|
39 |
+
"Light Yagami": 13,
|
40 |
+
"Luffy": 14,
|
41 |
+
"Naruto": 5,
|
42 |
+
"Natsu Dragneel": 9,
|
43 |
+
"Sakata Gintoki": 1,
|
44 |
+
"Sasuke": 11,
|
45 |
+
"Vegeta": 7,
|
46 |
+
"Zoro": 8
|
47 |
+
},
|
48 |
+
"layer_norm_eps": 1e-12,
|
49 |
+
"model_type": "vit",
|
50 |
+
"num_attention_heads": 12,
|
51 |
+
"num_channels": 3,
|
52 |
+
"num_hidden_layers": 12,
|
53 |
+
"patch_size": 16,
|
54 |
+
"problem_type": "single_label_classification",
|
55 |
+
"qkv_bias": true,
|
56 |
+
"torch_dtype": "float32",
|
57 |
+
"transformers_version": "4.38.2"
|
58 |
+
}
|
checkpoint-205/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:939bd50d006c99bd470094c9c1764a9070129a54a2e16be0e3bbe8201b8dabc6
|
3 |
+
size 343263964
|
checkpoint-205/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:99727842394eb36b3fa60cce5438513d5b89853a239b42870be46071370ad671
|
3 |
+
size 686648325
|
checkpoint-205/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-205/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:edb33b34d2774d7a0ac0d348d11a4150bab596e91cfa96322d8150d4d69a056a
|
3 |
+
size 14575
|
checkpoint-205/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b321d9181b9efe553f26f0068892ef9177396003f40f8beb720e5f87460c3d5b
|
3 |
+
size 627
|
checkpoint-205/trainer_state.json
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.7494692206382751,
|
3 |
+
"best_model_checkpoint": "top_15_anime_characters_image_detection/checkpoint-205",
|
4 |
+
"epoch": 5.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 205,
|
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.9722222222222222,
|
14 |
+
"eval_loss": 0.8964908719062805,
|
15 |
+
"eval_runtime": 29.9443,
|
16 |
+
"eval_samples_per_second": 28.854,
|
17 |
+
"eval_steps_per_second": 3.607,
|
18 |
+
"step": 41
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"epoch": 2.0,
|
22 |
+
"eval_accuracy": 0.9745370370370371,
|
23 |
+
"eval_loss": 0.8349034190177917,
|
24 |
+
"eval_runtime": 30.1056,
|
25 |
+
"eval_samples_per_second": 28.699,
|
26 |
+
"eval_steps_per_second": 3.587,
|
27 |
+
"step": 82
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 3.0,
|
31 |
+
"eval_accuracy": 0.9768518518518519,
|
32 |
+
"eval_loss": 0.7861354947090149,
|
33 |
+
"eval_runtime": 29.8742,
|
34 |
+
"eval_samples_per_second": 28.921,
|
35 |
+
"eval_steps_per_second": 3.615,
|
36 |
+
"step": 123
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"epoch": 4.0,
|
40 |
+
"eval_accuracy": 0.9768518518518519,
|
41 |
+
"eval_loss": 0.7586653232574463,
|
42 |
+
"eval_runtime": 29.8029,
|
43 |
+
"eval_samples_per_second": 28.99,
|
44 |
+
"eval_steps_per_second": 3.624,
|
45 |
+
"step": 164
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 5.0,
|
49 |
+
"eval_accuracy": 0.9768518518518519,
|
50 |
+
"eval_loss": 0.7494692206382751,
|
51 |
+
"eval_runtime": 29.7443,
|
52 |
+
"eval_samples_per_second": 29.048,
|
53 |
+
"eval_steps_per_second": 3.631,
|
54 |
+
"step": 205
|
55 |
+
}
|
56 |
+
],
|
57 |
+
"logging_steps": 500,
|
58 |
+
"max_steps": 205,
|
59 |
+
"num_input_tokens_seen": 0,
|
60 |
+
"num_train_epochs": 5,
|
61 |
+
"save_steps": 500,
|
62 |
+
"total_flos": 5.0220660043137024e+17,
|
63 |
+
"train_batch_size": 32,
|
64 |
+
"trial_name": null,
|
65 |
+
"trial_params": null
|
66 |
+
}
|
checkpoint-205/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5657601c9f1eda3a42d5fccb4fde843f081b07ae4fbf7bd1edcbdeca52aef4f8
|
3 |
+
size 4411
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"ViTForImageClassification"
|
5 |
],
|
@@ -54,5 +54,5 @@
|
|
54 |
"problem_type": "single_label_classification",
|
55 |
"qkv_bias": true,
|
56 |
"torch_dtype": "float32",
|
57 |
-
"transformers_version": "4.
|
58 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "dima806/top_15_anime_characters_image_detection",
|
3 |
"architectures": [
|
4 |
"ViTForImageClassification"
|
5 |
],
|
|
|
54 |
"problem_type": "single_label_classification",
|
55 |
"qkv_bias": true,
|
56 |
"torch_dtype": "float32",
|
57 |
+
"transformers_version": "4.38.2"
|
58 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343263964
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:939bd50d006c99bd470094c9c1764a9070129a54a2e16be0e3bbe8201b8dabc6
|
3 |
size 343263964
|
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:5657601c9f1eda3a42d5fccb4fde843f081b07ae4fbf7bd1edcbdeca52aef4f8
|
3 |
+
size 4411
|