dima806 commited on
Commit
0f422da
1 Parent(s): f02fd67

Upload folder using huggingface_hub

Browse files
checkpoint-183/config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dima806/marvel_heroes_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": "captain america",
13
+ "1": "black widow",
14
+ "2": "spider-man",
15
+ "3": "thanos",
16
+ "4": "ironman",
17
+ "5": "hulk",
18
+ "6": "loki",
19
+ "7": "doctor strange"
20
+ },
21
+ "image_size": 224,
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "black widow": 1,
26
+ "captain america": 0,
27
+ "doctor strange": 7,
28
+ "hulk": 5,
29
+ "ironman": 4,
30
+ "loki": 6,
31
+ "spider-man": 2,
32
+ "thanos": 3
33
+ },
34
+ "layer_norm_eps": 1e-12,
35
+ "model_type": "vit",
36
+ "num_attention_heads": 12,
37
+ "num_channels": 3,
38
+ "num_hidden_layers": 12,
39
+ "patch_size": 16,
40
+ "problem_type": "single_label_classification",
41
+ "qkv_bias": true,
42
+ "torch_dtype": "float32",
43
+ "transformers_version": "4.38.2"
44
+ }
checkpoint-183/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:187e87d2d9afde5760c7e2a1bc5613d41d8482f100e55427a06d60119083964e
3
+ size 343242432
checkpoint-183/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c19bc5ab64d7561d8410cd3f0be65f929cd368219f11fc302e4df10d83750d53
3
+ size 686605317
checkpoint-183/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-183/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8f1c21678144aa4ed32c4d30e89762458055dccdfc9ed782989d83704e066d2
3
+ size 14575
checkpoint-183/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df9d7170d3a18ac47f35bd2fdc3cc9020a91af7127d0da9d426cf5cdc33d2339
3
+ size 627
checkpoint-183/trainer_state.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.5040547251701355,
3
+ "best_model_checkpoint": "marvel_heroes_image_detection/checkpoint-183",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 183,
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.8838461538461538,
14
+ "eval_loss": 0.5055141448974609,
15
+ "eval_runtime": 26.4155,
16
+ "eval_samples_per_second": 49.214,
17
+ "eval_steps_per_second": 6.171,
18
+ "step": 61
19
+ },
20
+ {
21
+ "epoch": 2.0,
22
+ "eval_accuracy": 0.8876923076923077,
23
+ "eval_loss": 0.5043380856513977,
24
+ "eval_runtime": 27.3244,
25
+ "eval_samples_per_second": 47.577,
26
+ "eval_steps_per_second": 5.965,
27
+ "step": 122
28
+ },
29
+ {
30
+ "epoch": 3.0,
31
+ "eval_accuracy": 0.8838461538461538,
32
+ "eval_loss": 0.5040547251701355,
33
+ "eval_runtime": 27.4714,
34
+ "eval_samples_per_second": 47.322,
35
+ "eval_steps_per_second": 5.933,
36
+ "step": 183
37
+ }
38
+ ],
39
+ "logging_steps": 500,
40
+ "max_steps": 610,
41
+ "num_input_tokens_seen": 0,
42
+ "num_train_epochs": 10,
43
+ "save_steps": 500,
44
+ "total_flos": 4.5288754052471194e+17,
45
+ "train_batch_size": 32,
46
+ "trial_name": null,
47
+ "trial_params": null
48
+ }
checkpoint-183/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e983c3d162c2a505bb6d1ba6ea8e6234af8469dd780f6a666a3c0386f485cd3
3
+ size 4411
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0d1394ddd2655036f9fef32372e0e181ba81cd9f0d4817fb18bdb23dab4cf038
3
  size 343242432
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:187e87d2d9afde5760c7e2a1bc5613d41d8482f100e55427a06d60119083964e
3
  size 343242432
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1139c83f8365ef755d2540a5325fdfea5f84818dba771d02eccf90d196bc79ed
3
  size 4411
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e983c3d162c2a505bb6d1ba6ea8e6234af8469dd780f6a666a3c0386f485cd3
3
  size 4411