dima806 commited on
Commit
37a4913
1 Parent(s): 1bf0cad

Upload folder using huggingface_hub

Browse files
checkpoint-920/config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dima806/14_flower_types_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": "rose",
13
+ "1": "astilbe",
14
+ "2": "carnation",
15
+ "3": "tulip",
16
+ "4": "water_lily",
17
+ "5": "bellflower",
18
+ "6": "coreopsis",
19
+ "7": "common_daisy",
20
+ "8": "iris",
21
+ "9": "dandelion",
22
+ "10": "sunflower",
23
+ "11": "california_poppy",
24
+ "12": "black_eyed_susan",
25
+ "13": "calendula"
26
+ },
27
+ "image_size": 224,
28
+ "initializer_range": 0.02,
29
+ "intermediate_size": 3072,
30
+ "label2id": {
31
+ "astilbe": 1,
32
+ "bellflower": 5,
33
+ "black_eyed_susan": 12,
34
+ "calendula": 13,
35
+ "california_poppy": 11,
36
+ "carnation": 2,
37
+ "common_daisy": 7,
38
+ "coreopsis": 6,
39
+ "dandelion": 9,
40
+ "iris": 8,
41
+ "rose": 0,
42
+ "sunflower": 10,
43
+ "tulip": 3,
44
+ "water_lily": 4
45
+ },
46
+ "layer_norm_eps": 1e-12,
47
+ "model_type": "vit",
48
+ "num_attention_heads": 12,
49
+ "num_channels": 3,
50
+ "num_hidden_layers": 12,
51
+ "patch_size": 16,
52
+ "problem_type": "single_label_classification",
53
+ "qkv_bias": true,
54
+ "torch_dtype": "float32",
55
+ "transformers_version": "4.39.2"
56
+ }
checkpoint-920/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd558e7f34317c695345db6e35e3af4a2d36e3902df131ed9056a53d55bb676b
3
+ size 343260888
checkpoint-920/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d204d9c11589b81fc2653aabe704c9f0ad04d3681915f6d06d1e892f15f7b79
3
+ size 686642181
checkpoint-920/preprocessor_config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_valid_processor_keys": [
3
+ "images",
4
+ "do_resize",
5
+ "size",
6
+ "resample",
7
+ "do_rescale",
8
+ "rescale_factor",
9
+ "do_normalize",
10
+ "image_mean",
11
+ "image_std",
12
+ "return_tensors",
13
+ "data_format",
14
+ "input_data_format"
15
+ ],
16
+ "do_normalize": true,
17
+ "do_rescale": true,
18
+ "do_resize": true,
19
+ "image_mean": [
20
+ 0.5,
21
+ 0.5,
22
+ 0.5
23
+ ],
24
+ "image_processor_type": "ViTImageProcessor",
25
+ "image_std": [
26
+ 0.5,
27
+ 0.5,
28
+ 0.5
29
+ ],
30
+ "resample": 2,
31
+ "rescale_factor": 0.00392156862745098,
32
+ "size": {
33
+ "height": 224,
34
+ "width": 224
35
+ }
36
+ }
checkpoint-920/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7de87478fdd3a9820ad99ab74fb6c864649f41933d9bb01fcb679c730aa09384
3
+ size 14575
checkpoint-920/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03e60500562cdcde72ceb154e539bbe3c9a93453dcf972959917fb83e84300b0
3
+ size 627
checkpoint-920/trainer_state.json ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.31317463517189026,
3
+ "best_model_checkpoint": "14_flower_types_image_detection/checkpoint-920",
4
+ "epoch": 5.0,
5
+ "eval_steps": 500,
6
+ "global_step": 920,
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.9880749574105622,
14
+ "eval_loss": 0.3268759250640869,
15
+ "eval_runtime": 27.0258,
16
+ "eval_samples_per_second": 108.6,
17
+ "eval_steps_per_second": 3.404,
18
+ "step": 184
19
+ },
20
+ {
21
+ "epoch": 2.0,
22
+ "eval_accuracy": 0.9880749574105622,
23
+ "eval_loss": 0.32160699367523193,
24
+ "eval_runtime": 27.1972,
25
+ "eval_samples_per_second": 107.915,
26
+ "eval_steps_per_second": 3.383,
27
+ "step": 368
28
+ },
29
+ {
30
+ "epoch": 2.72,
31
+ "grad_norm": 0.7777795791625977,
32
+ "learning_rate": 4.827586206896552e-07,
33
+ "loss": 0.268,
34
+ "step": 500
35
+ },
36
+ {
37
+ "epoch": 3.0,
38
+ "eval_accuracy": 0.9880749574105622,
39
+ "eval_loss": 0.3173390030860901,
40
+ "eval_runtime": 27.3445,
41
+ "eval_samples_per_second": 107.334,
42
+ "eval_steps_per_second": 3.364,
43
+ "step": 552
44
+ },
45
+ {
46
+ "epoch": 4.0,
47
+ "eval_accuracy": 0.9884156729131175,
48
+ "eval_loss": 0.3141898810863495,
49
+ "eval_runtime": 27.2598,
50
+ "eval_samples_per_second": 107.668,
51
+ "eval_steps_per_second": 3.375,
52
+ "step": 736
53
+ },
54
+ {
55
+ "epoch": 5.0,
56
+ "eval_accuracy": 0.9884156729131175,
57
+ "eval_loss": 0.31317463517189026,
58
+ "eval_runtime": 27.092,
59
+ "eval_samples_per_second": 108.334,
60
+ "eval_steps_per_second": 3.396,
61
+ "step": 920
62
+ }
63
+ ],
64
+ "logging_steps": 500,
65
+ "max_steps": 920,
66
+ "num_input_tokens_seen": 0,
67
+ "num_train_epochs": 5,
68
+ "save_steps": 500,
69
+ "total_flos": 4.548106516809462e+18,
70
+ "train_batch_size": 64,
71
+ "trial_name": null,
72
+ "trial_params": null
73
+ }
checkpoint-920/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5036fed3496d8b859908f1c1bf5ad057aeb8d01f5eb1bdde5a11f38834340f8c
3
+ size 4411
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "google/vit-base-patch16-224-in21k",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
@@ -52,5 +52,5 @@
52
  "problem_type": "single_label_classification",
53
  "qkv_bias": true,
54
  "torch_dtype": "float32",
55
- "transformers_version": "4.34.1"
56
  }
 
1
  {
2
+ "_name_or_path": "dima806/14_flower_types_image_detection",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
 
52
  "problem_type": "single_label_classification",
53
  "qkv_bias": true,
54
  "torch_dtype": "float32",
55
+ "transformers_version": "4.39.2"
56
  }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd558e7f34317c695345db6e35e3af4a2d36e3902df131ed9056a53d55bb676b
3
+ size 343260888
preprocessor_config.json CHANGED
@@ -1,4 +1,18 @@
1
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  "do_normalize": true,
3
  "do_rescale": true,
4
  "do_resize": true,
 
1
  {
2
+ "_valid_processor_keys": [
3
+ "images",
4
+ "do_resize",
5
+ "size",
6
+ "resample",
7
+ "do_rescale",
8
+ "rescale_factor",
9
+ "do_normalize",
10
+ "image_mean",
11
+ "image_std",
12
+ "return_tensors",
13
+ "data_format",
14
+ "input_data_format"
15
+ ],
16
  "do_normalize": true,
17
  "do_rescale": true,
18
  "do_resize": true,
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b78fa9474feeabadc327847aadfdd1bc753b802fd7d04195e9103836e706a471
3
- size 4027
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5036fed3496d8b859908f1c1bf5ad057aeb8d01f5eb1bdde5a11f38834340f8c
3
+ size 4411