NoahMacLean1 commited on
Commit
354be0f
1 Parent(s): 35f16d5

Upload folder using huggingface_hub

Browse files
all_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.0,
3
+ "total_flos": 6.19935916916736e+16,
4
+ "train_loss": 0.18857557158200786,
5
+ "train_runtime": 58.406,
6
+ "train_samples_per_second": 13.697,
7
+ "train_steps_per_second": 0.89
8
+ }
checkpoint-40/config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224-in21k",
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": "fake",
13
+ "1": "real"
14
+ },
15
+ "image_size": 224,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "fake": "0",
20
+ "real": "1"
21
+ },
22
+ "layer_norm_eps": 1e-12,
23
+ "model_type": "vit",
24
+ "num_attention_heads": 12,
25
+ "num_channels": 3,
26
+ "num_hidden_layers": 12,
27
+ "patch_size": 16,
28
+ "problem_type": "single_label_classification",
29
+ "qkv_bias": true,
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.28.1"
32
+ }
checkpoint-40/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c444107d86ec702da53170f53655f08dcc8f50e44e911af8e4aa93cc955410a4
3
+ size 686518725
checkpoint-40/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": "ViTFeatureExtractor",
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-40/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c819692dd7e9ab91e110fab73870c49d97dad32a0d7055a322624e44ed74cc3
3
+ size 343268717
checkpoint-40/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1dc30cddb28389aa13579bd9af12d97654450670d10b6e9e4f899d012fe78dea
3
+ size 14575
checkpoint-40/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57c89c7765412de4a31242f8c86f155856192e5f74b2c2681532f22cca64dd77
3
+ size 627
checkpoint-40/trainer_state.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.019374027848243713,
3
+ "best_model_checkpoint": "./noah-maclean-pokemon-cards/checkpoint-40",
4
+ "epoch": 3.076923076923077,
5
+ "global_step": 40,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.77,
12
+ "learning_rate": 0.00016153846153846155,
13
+ "loss": 0.6048,
14
+ "step": 10
15
+ },
16
+ {
17
+ "epoch": 1.54,
18
+ "learning_rate": 0.0001230769230769231,
19
+ "loss": 0.2124,
20
+ "step": 20
21
+ },
22
+ {
23
+ "epoch": 2.31,
24
+ "learning_rate": 8.461538461538461e-05,
25
+ "loss": 0.1083,
26
+ "step": 30
27
+ },
28
+ {
29
+ "epoch": 3.08,
30
+ "learning_rate": 4.615384615384616e-05,
31
+ "loss": 0.0379,
32
+ "step": 40
33
+ },
34
+ {
35
+ "epoch": 3.08,
36
+ "eval_accuracy": 0.995,
37
+ "eval_loss": 0.019374027848243713,
38
+ "eval_runtime": 2.7836,
39
+ "eval_samples_per_second": 71.849,
40
+ "eval_steps_per_second": 8.981,
41
+ "step": 40
42
+ }
43
+ ],
44
+ "max_steps": 52,
45
+ "num_train_epochs": 4,
46
+ "total_flos": 4.773506560258867e+16,
47
+ "trial_name": null,
48
+ "trial_params": null
49
+ }
checkpoint-40/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:acbf72cbc3307ad7e493a422ada5e5686859830c7b270d65e4322fdf4c6e650d
3
+ size 3579
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224-in21k",
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": "fake",
13
+ "1": "real"
14
+ },
15
+ "image_size": 224,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "fake": "0",
20
+ "real": "1"
21
+ },
22
+ "layer_norm_eps": 1e-12,
23
+ "model_type": "vit",
24
+ "num_attention_heads": 12,
25
+ "num_channels": 3,
26
+ "num_hidden_layers": 12,
27
+ "patch_size": 16,
28
+ "problem_type": "single_label_classification",
29
+ "qkv_bias": true,
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.28.1"
32
+ }
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": "ViTFeatureExtractor",
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
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c819692dd7e9ab91e110fab73870c49d97dad32a0d7055a322624e44ed74cc3
3
+ size 343268717
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.0,
3
+ "total_flos": 6.19935916916736e+16,
4
+ "train_loss": 0.18857557158200786,
5
+ "train_runtime": 58.406,
6
+ "train_samples_per_second": 13.697,
7
+ "train_steps_per_second": 0.89
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.019374027848243713,
3
+ "best_model_checkpoint": "./noah-maclean-pokemon-cards/checkpoint-40",
4
+ "epoch": 4.0,
5
+ "global_step": 52,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.77,
12
+ "learning_rate": 0.00016153846153846155,
13
+ "loss": 0.6048,
14
+ "step": 10
15
+ },
16
+ {
17
+ "epoch": 1.54,
18
+ "learning_rate": 0.0001230769230769231,
19
+ "loss": 0.2124,
20
+ "step": 20
21
+ },
22
+ {
23
+ "epoch": 2.31,
24
+ "learning_rate": 8.461538461538461e-05,
25
+ "loss": 0.1083,
26
+ "step": 30
27
+ },
28
+ {
29
+ "epoch": 3.08,
30
+ "learning_rate": 4.615384615384616e-05,
31
+ "loss": 0.0379,
32
+ "step": 40
33
+ },
34
+ {
35
+ "epoch": 3.08,
36
+ "eval_accuracy": 0.995,
37
+ "eval_loss": 0.019374027848243713,
38
+ "eval_runtime": 2.7836,
39
+ "eval_samples_per_second": 71.849,
40
+ "eval_steps_per_second": 8.981,
41
+ "step": 40
42
+ },
43
+ {
44
+ "epoch": 3.85,
45
+ "learning_rate": 7.692307692307694e-06,
46
+ "loss": 0.0146,
47
+ "step": 50
48
+ },
49
+ {
50
+ "epoch": 4.0,
51
+ "step": 52,
52
+ "total_flos": 6.19935916916736e+16,
53
+ "train_loss": 0.18857557158200786,
54
+ "train_runtime": 58.406,
55
+ "train_samples_per_second": 13.697,
56
+ "train_steps_per_second": 0.89
57
+ }
58
+ ],
59
+ "max_steps": 52,
60
+ "num_train_epochs": 4,
61
+ "total_flos": 6.19935916916736e+16,
62
+ "trial_name": null,
63
+ "trial_params": null
64
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:acbf72cbc3307ad7e493a422ada5e5686859830c7b270d65e4322fdf4c6e650d
3
+ size 3579