imfarzanansari commited on
Commit
022b4f6
1 Parent(s): aa98969

Upload 8 files

Browse files
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224",
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": "level -1",
13
+ "1": "level 0",
14
+ "2": "level 1",
15
+ "3": "level 2",
16
+ "4": "level 3"
17
+ },
18
+ "image_size": 224,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "level -1": "0",
23
+ "level 0": "1",
24
+ "level 1": "2",
25
+ "level 2": "3",
26
+ "level 3": "4"
27
+ },
28
+ "layer_norm_eps": 1e-12,
29
+ "model_type": "vit",
30
+ "num_attention_heads": 12,
31
+ "num_channels": 3,
32
+ "num_hidden_layers": 12,
33
+ "patch_size": 16,
34
+ "problem_type": "single_label_classification",
35
+ "qkv_bias": true,
36
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.35.2"
38
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:973ff1be5f2142c7daa6de784f39bf5838fdbaa73e816c107a1b8dafdc35571a
3
+ size 343233204
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e5ff926e92d8a6e00edd1ebb511cdb3675fb1649fc424643fadab56d162c87c
3
+ size 686586885
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
+ }
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f35cda9c07ffa9c83b3dd2a500741887df91a62c37a6d3f2cc1278bf6440f734
3
+ size 14575
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:958b32e5ca5b4e44cc52d8083335416618c09ee5be862a4b5968879024d0e237
3
+ size 627
trainer_state.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.7562522705350321,
3
+ "best_model_checkpoint": "vit-finetuned-acne-classification/checkpoint-31",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 31,
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_loss": 0.5284544229507446,
14
+ "eval_precision": 0.7562522705350321,
15
+ "eval_runtime": 29.8583,
16
+ "eval_samples_per_second": 16.478,
17
+ "eval_steps_per_second": 2.076,
18
+ "step": 31
19
+ }
20
+ ],
21
+ "logging_steps": 500,
22
+ "max_steps": 93,
23
+ "num_train_epochs": 3,
24
+ "save_steps": 500,
25
+ "total_flos": 6.091034155341005e+17,
26
+ "trial_name": null,
27
+ "trial_params": null
28
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1dea8f174d216c62d3e2d6c19ec321f498b9c0ef69bfd17ab7892bf25bc9bcf8
3
+ size 4155