abhishek HF staff commited on
Commit
ec4d209
1 Parent(s): f5484a6

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - autotrain
5
+ - image-classification
6
+ widget:
7
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
8
+ example_title: Tiger
9
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
10
+ example_title: Teapot
11
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
12
+ example_title: Palace
13
+ datasets:
14
+ - cats_vs_dogs
15
+ ---
16
+
17
+ # Model Trained Using AutoTrain
18
+
19
+ - Problem type: Image Classification
20
+
21
+ ## Validation Metricsg
22
+ No validation metrics available
checkpoint-732/config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224",
3
+ "_num_labels": 2,
4
+ "architectures": [
5
+ "ViTForImageClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.0,
8
+ "encoder_stride": 16,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.0,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "cat",
14
+ "1": "dog"
15
+ },
16
+ "image_size": 224,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "cat": 0,
21
+ "dog": 1
22
+ },
23
+ "layer_norm_eps": 1e-12,
24
+ "model_type": "vit",
25
+ "num_attention_heads": 12,
26
+ "num_channels": 3,
27
+ "num_hidden_layers": 12,
28
+ "patch_size": 16,
29
+ "problem_type": "single_label_classification",
30
+ "qkv_bias": true,
31
+ "torch_dtype": "float32",
32
+ "transformers_version": "4.32.0.dev0"
33
+ }
checkpoint-732/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:604bc01ac3d9d7a7e99a29f5da7ce2e3b7e6575326f689b73d214fbc10b2632c
3
+ size 686568453
checkpoint-732/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f54c43e4464a55de23f01aa240f26bfab4c564e8b7b15097f4f6acdaa34cf03
3
+ size 343268717
checkpoint-732/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31a1c71b1124779cd03ede39a0c4de8105268312d0457c690c2b2f5f0803034c
3
+ size 15607
checkpoint-732/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:abdfa989520bc77a5cb08974a99c3d051f713ff2a873a9f6c56f1ed6fd76fd79
3
+ size 15607
checkpoint-732/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9cbd214cb602b6896ec1450b18a06bc3dcd5baaa1d3b5e1ca23b5e82479ae8c
3
+ size 627
checkpoint-732/trainer_state.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.0,
5
+ "global_step": 732,
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": 2.0151975683890578e-05,
13
+ "loss": 0.1151,
14
+ "step": 292
15
+ },
16
+ {
17
+ "epoch": 0.8,
18
+ "learning_rate": 6.884498480243161e-06,
19
+ "loss": 0.055,
20
+ "step": 584
21
+ }
22
+ ],
23
+ "max_steps": 732,
24
+ "num_train_epochs": 1,
25
+ "total_flos": 1.815172407581737e+18,
26
+ "trial_name": null,
27
+ "trial_params": null
28
+ }
checkpoint-732/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2088949056e4f384a2a24bb30027f2276c2f786e1d1588ae7c28fe51f825c9b8
3
+ size 3963
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224",
3
+ "_num_labels": 2,
4
+ "architectures": [
5
+ "ViTForImageClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.0,
8
+ "encoder_stride": 16,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.0,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "cat",
14
+ "1": "dog"
15
+ },
16
+ "image_size": 224,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "cat": 0,
21
+ "dog": 1
22
+ },
23
+ "layer_norm_eps": 1e-12,
24
+ "model_type": "vit",
25
+ "num_attention_heads": 12,
26
+ "num_channels": 3,
27
+ "num_hidden_layers": 12,
28
+ "patch_size": 16,
29
+ "problem_type": "single_label_classification",
30
+ "qkv_bias": true,
31
+ "torch_dtype": "float32",
32
+ "transformers_version": "4.32.0.dev0"
33
+ }
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
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f54c43e4464a55de23f01aa240f26bfab4c564e8b7b15097f4f6acdaa34cf03
3
+ size 343268717
runs/Aug11_14-31-30_beast/events.out.tfevents.1691757091.beast.1776024.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b29717c067da5829d0009254e77509a28e6039b4385115940dee94380efe1701
3
+ size 4713
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2088949056e4f384a2a24bb30027f2276c2f786e1d1588ae7c28fe51f825c9b8
3
+ size 3963
training_params.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "cats_vs_dogs",
3
+ "model_name": "google/vit-base-patch16-224",
4
+ "lr": 3e-05,
5
+ "epochs": 1,
6
+ "batch_size": 16,
7
+ "warmup_ratio": 0.1,
8
+ "gradient_accumulation": 1,
9
+ "optimizer": "adamw_torch",
10
+ "scheduler": "linear",
11
+ "weight_decay": 0.0,
12
+ "max_grad_norm": 1.0,
13
+ "seed": 42,
14
+ "train_split": "train",
15
+ "valid_split": null,
16
+ "logging_steps": -1,
17
+ "project_name": "output",
18
+ "auto_find_batch_size": false,
19
+ "fp16": true,
20
+ "save_total_limit": 1,
21
+ "save_strategy": "epoch",
22
+ "token": null,
23
+ "push_to_hub": true,
24
+ "repo_id": "abhishek/imgclfcd4",
25
+ "evaluation_strategy": "epoch",
26
+ "image_column": "image",
27
+ "target_column": "labels"
28
+ }