PriyamSheta commited on
Commit
2fded7b
1 Parent(s): 0cfae73

Upload . with huggingface_hub (#1)

Browse files

- Upload . with huggingface_hub (78c094d01b3e0158ef0ed3a5f6558a3ba7377d0e)

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": "Happy",
13
+ "1": "Sad"
14
+ },
15
+ "image_size": 224,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "Happy": "0",
20
+ "Sad": "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.27.1"
32
+ }
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa6827aa2d76e16b7326df7bcaf12af1ae719a8f7afb8a92769fc43faad4f806
3
+ size 686513093
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:9ec42a17c558617d25a8036a999b4db40a4381e85fe7594ea7ec4d4685779728
3
+ size 343265965
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8214c01f27f2aeae1e56fc7a28278e26d2d258088ec2bdf3bdc701698ad3524
3
+ size 13553
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b75d4d0a3fe298d42986f8b7b3dcdab787bd1494f4b8d84b3debf406572aab7b
3
+ size 627
trainer_state.json ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.45936229825019836,
3
+ "best_model_checkpoint": "./vit-base-beans/checkpoint-80",
4
+ "epoch": 3.2,
5
+ "global_step": 80,
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.4,
12
+ "learning_rate": 0.00018,
13
+ "loss": 0.653,
14
+ "step": 10
15
+ },
16
+ {
17
+ "epoch": 0.8,
18
+ "learning_rate": 0.00016,
19
+ "loss": 0.4656,
20
+ "step": 20
21
+ },
22
+ {
23
+ "epoch": 1.2,
24
+ "learning_rate": 0.00014,
25
+ "loss": 0.4179,
26
+ "step": 30
27
+ },
28
+ {
29
+ "epoch": 1.6,
30
+ "learning_rate": 0.00012,
31
+ "loss": 0.2177,
32
+ "step": 40
33
+ },
34
+ {
35
+ "epoch": 1.6,
36
+ "eval_accuracy": 0.6923076923076923,
37
+ "eval_loss": 0.5713487267494202,
38
+ "eval_runtime": 45.484,
39
+ "eval_samples_per_second": 0.572,
40
+ "eval_steps_per_second": 0.088,
41
+ "step": 40
42
+ },
43
+ {
44
+ "epoch": 2.0,
45
+ "learning_rate": 0.0001,
46
+ "loss": 0.2069,
47
+ "step": 50
48
+ },
49
+ {
50
+ "epoch": 2.4,
51
+ "learning_rate": 8e-05,
52
+ "loss": 0.1021,
53
+ "step": 60
54
+ },
55
+ {
56
+ "epoch": 2.8,
57
+ "learning_rate": 6e-05,
58
+ "loss": 0.0848,
59
+ "step": 70
60
+ },
61
+ {
62
+ "epoch": 3.2,
63
+ "learning_rate": 4e-05,
64
+ "loss": 0.058,
65
+ "step": 80
66
+ },
67
+ {
68
+ "epoch": 3.2,
69
+ "eval_accuracy": 0.8076923076923077,
70
+ "eval_loss": 0.45936229825019836,
71
+ "eval_runtime": 45.4285,
72
+ "eval_samples_per_second": 0.572,
73
+ "eval_steps_per_second": 0.088,
74
+ "step": 80
75
+ }
76
+ ],
77
+ "max_steps": 100,
78
+ "num_train_epochs": 4,
79
+ "total_flos": 4.959487335333888e+16,
80
+ "trial_name": null,
81
+ "trial_params": null
82
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2bee3d0cb7570fb86caebf6ec4971a98eb9f6acd25352a2218d7f1761dd6ed69
3
+ size 3515