dima806 commited on
Commit
fd38acb
1 Parent(s): 2f13d3d

Upload folder using huggingface_hub

Browse files
checkpoint-34/config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dima806/horse_breeds_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": "Friesian",
13
+ "1": "Arabian",
14
+ "2": "Percheron",
15
+ "3": "Orlov Trotter",
16
+ "4": "Akhal-Teke",
17
+ "5": "Vladimir Heavy Draft",
18
+ "6": "Appaloosa"
19
+ },
20
+ "image_size": 224,
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 3072,
23
+ "label2id": {
24
+ "Akhal-Teke": 4,
25
+ "Appaloosa": 6,
26
+ "Arabian": 1,
27
+ "Friesian": 0,
28
+ "Orlov Trotter": 3,
29
+ "Percheron": 2,
30
+ "Vladimir Heavy Draft": 5
31
+ },
32
+ "layer_norm_eps": 1e-12,
33
+ "model_type": "vit",
34
+ "num_attention_heads": 12,
35
+ "num_channels": 3,
36
+ "num_hidden_layers": 12,
37
+ "patch_size": 16,
38
+ "problem_type": "single_label_classification",
39
+ "qkv_bias": true,
40
+ "torch_dtype": "float32",
41
+ "transformers_version": "4.38.2"
42
+ }
checkpoint-34/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1317200d91ea5a812c999b733270be77bfa30e8bbfc9cc889a4f65a2e20a8d01
3
+ size 343239356
checkpoint-34/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43b3d9032d53393eca70901816ecb49fdf20b00fdd224d0160119c82bcb1e44f
3
+ size 686599173
checkpoint-34/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-34/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:525de18d3e4b73d9abc5eb8adc00a00ec6f823a5ba85e85d71420929d4c3ea41
3
+ size 14575
checkpoint-34/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d38f947a61213784052248e2516fcaae41a9c4f30959779789a8795db02db68f
3
+ size 627
checkpoint-34/trainer_state.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.9436824321746826,
3
+ "best_model_checkpoint": "horse_breeds_image_detection/checkpoint-34",
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 34,
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.8507462686567164,
14
+ "eval_loss": 0.9528061747550964,
15
+ "eval_runtime": 1.7117,
16
+ "eval_samples_per_second": 78.287,
17
+ "eval_steps_per_second": 9.932,
18
+ "step": 17
19
+ },
20
+ {
21
+ "epoch": 2.0,
22
+ "eval_accuracy": 0.8507462686567164,
23
+ "eval_loss": 0.9436824321746826,
24
+ "eval_runtime": 1.651,
25
+ "eval_samples_per_second": 81.161,
26
+ "eval_steps_per_second": 10.297,
27
+ "step": 34
28
+ }
29
+ ],
30
+ "logging_steps": 500,
31
+ "max_steps": 34,
32
+ "num_input_tokens_seen": 0,
33
+ "num_train_epochs": 2,
34
+ "save_steps": 500,
35
+ "total_flos": 8.307513558083174e+16,
36
+ "train_batch_size": 32,
37
+ "trial_name": null,
38
+ "trial_params": null
39
+ }
checkpoint-34/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be3860eeb198415b73c6a7d682df29d4be74f499686e5a47a891d751cf7bbaa7
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
  ],
@@ -38,5 +38,5 @@
38
  "problem_type": "single_label_classification",
39
  "qkv_bias": true,
40
  "torch_dtype": "float32",
41
- "transformers_version": "4.33.2"
42
  }
 
1
  {
2
+ "_name_or_path": "dima806/horse_breeds_image_detection",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
 
38
  "problem_type": "single_label_classification",
39
  "qkv_bias": true,
40
  "torch_dtype": "float32",
41
+ "transformers_version": "4.38.2"
42
  }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1317200d91ea5a812c999b733270be77bfa30e8bbfc9cc889a4f65a2e20a8d01
3
+ size 343239356
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ae18a4d69a45702a6c1943d71ba7f821e7ec1df8b20c82c1d5ce460a4728e644
3
- size 4027
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be3860eeb198415b73c6a7d682df29d4be74f499686e5a47a891d751cf7bbaa7
3
+ size 4411