dima806 commited on
Commit
61759c6
1 Parent(s): 38464fe

Upload folder using huggingface_hub

Browse files
checkpoint-402/config.json ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dima806/mammals_45_types_image_classification",
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": "african_elephant",
13
+ "1": "alpaca",
14
+ "2": "american_bison",
15
+ "3": "anteater",
16
+ "4": "arctic_fox",
17
+ "5": "armadillo",
18
+ "6": "baboon",
19
+ "7": "badger",
20
+ "8": "blue_whale",
21
+ "9": "brown_bear",
22
+ "10": "camel",
23
+ "11": "dolphin",
24
+ "12": "giraffe",
25
+ "13": "groundhog",
26
+ "14": "highland_cattle",
27
+ "15": "horse",
28
+ "16": "jackal",
29
+ "17": "kangaroo",
30
+ "18": "koala",
31
+ "19": "manatee",
32
+ "20": "mongoose",
33
+ "21": "mountain_goat",
34
+ "22": "opossum",
35
+ "23": "orangutan",
36
+ "24": "otter",
37
+ "25": "polar_bear",
38
+ "26": "porcupine",
39
+ "27": "red_panda",
40
+ "28": "rhinoceros",
41
+ "29": "sea_lion",
42
+ "30": "seal",
43
+ "31": "snow_leopard",
44
+ "32": "squirrel",
45
+ "33": "sugar_glider",
46
+ "34": "tapir",
47
+ "35": "vampire_bat",
48
+ "36": "vicuna",
49
+ "37": "walrus",
50
+ "38": "warthog",
51
+ "39": "water_buffalo",
52
+ "40": "weasel",
53
+ "41": "wildebeest",
54
+ "42": "wombat",
55
+ "43": "yak",
56
+ "44": "zebra"
57
+ },
58
+ "image_size": 224,
59
+ "initializer_range": 0.02,
60
+ "intermediate_size": 3072,
61
+ "label2id": {
62
+ "african_elephant": 0,
63
+ "alpaca": 1,
64
+ "american_bison": 2,
65
+ "anteater": 3,
66
+ "arctic_fox": 4,
67
+ "armadillo": 5,
68
+ "baboon": 6,
69
+ "badger": 7,
70
+ "blue_whale": 8,
71
+ "brown_bear": 9,
72
+ "camel": 10,
73
+ "dolphin": 11,
74
+ "giraffe": 12,
75
+ "groundhog": 13,
76
+ "highland_cattle": 14,
77
+ "horse": 15,
78
+ "jackal": 16,
79
+ "kangaroo": 17,
80
+ "koala": 18,
81
+ "manatee": 19,
82
+ "mongoose": 20,
83
+ "mountain_goat": 21,
84
+ "opossum": 22,
85
+ "orangutan": 23,
86
+ "otter": 24,
87
+ "polar_bear": 25,
88
+ "porcupine": 26,
89
+ "red_panda": 27,
90
+ "rhinoceros": 28,
91
+ "sea_lion": 29,
92
+ "seal": 30,
93
+ "snow_leopard": 31,
94
+ "squirrel": 32,
95
+ "sugar_glider": 33,
96
+ "tapir": 34,
97
+ "vampire_bat": 35,
98
+ "vicuna": 36,
99
+ "walrus": 37,
100
+ "warthog": 38,
101
+ "water_buffalo": 39,
102
+ "weasel": 40,
103
+ "wildebeest": 41,
104
+ "wombat": 42,
105
+ "yak": 43,
106
+ "zebra": 44
107
+ },
108
+ "layer_norm_eps": 1e-12,
109
+ "model_type": "vit",
110
+ "num_attention_heads": 12,
111
+ "num_channels": 3,
112
+ "num_hidden_layers": 12,
113
+ "patch_size": 16,
114
+ "problem_type": "single_label_classification",
115
+ "qkv_bias": true,
116
+ "torch_dtype": "float32",
117
+ "transformers_version": "4.38.2"
118
+ }
checkpoint-402/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae3c72b717e991b7e3dc8f993732e330d0c05bf6b9c4b748297b380a0b159f63
3
+ size 343356252
checkpoint-402/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f396d0b3321ce7a3c32ec7e37455145d4835ded1033e512d42860412dee685c
3
+ size 686832901
checkpoint-402/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
+ }
checkpoint-402/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91470fa04d7113101ea7e4489ca93c67de89e3857a54a17378e6a21f6e8accd6
3
+ size 14575
checkpoint-402/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97e486c9657ba3a034ddb3dede609cec00ba0e23b5a45779c394d81b790e94d0
3
+ size 627
checkpoint-402/trainer_state.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 2.867035388946533,
3
+ "best_model_checkpoint": "mammals_45_types_image_classification/checkpoint-402",
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 402,
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.9572409488139825,
14
+ "eval_loss": 2.875110626220703,
15
+ "eval_runtime": 31.3806,
16
+ "eval_samples_per_second": 102.101,
17
+ "eval_steps_per_second": 3.219,
18
+ "step": 201
19
+ },
20
+ {
21
+ "epoch": 2.0,
22
+ "eval_accuracy": 0.9572409488139825,
23
+ "eval_loss": 2.867035388946533,
24
+ "eval_runtime": 31.3219,
25
+ "eval_samples_per_second": 102.293,
26
+ "eval_steps_per_second": 3.225,
27
+ "step": 402
28
+ }
29
+ ],
30
+ "logging_steps": 500,
31
+ "max_steps": 402,
32
+ "num_input_tokens_seen": 0,
33
+ "num_train_epochs": 2,
34
+ "save_steps": 500,
35
+ "total_flos": 1.987040178923176e+18,
36
+ "train_batch_size": 64,
37
+ "trial_name": null,
38
+ "trial_params": null
39
+ }
checkpoint-402/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f83e92d7633d75dd3622a9df2270651c30c01b34d5de896dc7e6559db58cea23
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
  ],
@@ -114,5 +114,5 @@
114
  "problem_type": "single_label_classification",
115
  "qkv_bias": true,
116
  "torch_dtype": "float32",
117
- "transformers_version": "4.35.2"
118
  }
 
1
  {
2
+ "_name_or_path": "dima806/mammals_45_types_image_classification",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
 
114
  "problem_type": "single_label_classification",
115
  "qkv_bias": true,
116
  "torch_dtype": "float32",
117
+ "transformers_version": "4.38.2"
118
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e336fe2f266eac9c541f7cd98489c16682b0b349fa876705809f69df2e8da690
3
  size 343356252
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae3c72b717e991b7e3dc8f993732e330d0c05bf6b9c4b748297b380a0b159f63
3
  size 343356252
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5197112e7aafa3b6ccf7ea7d30b828ea9762f503efb192189d71522ef61f01e3
3
- size 4091
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f83e92d7633d75dd3622a9df2270651c30c01b34d5de896dc7e6559db58cea23
3
+ size 4411