Upload folder using huggingface_hub
Browse files- checkpoint-32/config.json +46 -0
 - checkpoint-32/model.safetensors +3 -0
 - checkpoint-32/optimizer.pt +3 -0
 - checkpoint-32/preprocessor_config.json +23 -0
 - checkpoint-32/rng_state.pth +3 -0
 - checkpoint-32/scheduler.pt +3 -0
 - checkpoint-32/trainer_state.json +53 -0
 - checkpoint-32/training_args.bin +3 -0
 - config.json +46 -0
 - model.safetensors +3 -0
 - preprocessor_config.json +23 -0
 - training_args.bin +3 -0
 
    	
        checkpoint-32/config.json
    ADDED
    
    | 
         @@ -0,0 +1,46 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "_name_or_path": "google/vit-base-patch16-224-in21k",
         
     | 
| 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": "0-2",
         
     | 
| 13 | 
         
            +
                "1": "3-9",
         
     | 
| 14 | 
         
            +
                "2": "10-19",
         
     | 
| 15 | 
         
            +
                "3": "20-29",
         
     | 
| 16 | 
         
            +
                "4": "30-39",
         
     | 
| 17 | 
         
            +
                "5": "40-49",
         
     | 
| 18 | 
         
            +
                "6": "50-59",
         
     | 
| 19 | 
         
            +
                "7": "60-69",
         
     | 
| 20 | 
         
            +
                "8": "more than 70"
         
     | 
| 21 | 
         
            +
              },
         
     | 
| 22 | 
         
            +
              "image_size": 224,
         
     | 
| 23 | 
         
            +
              "initializer_range": 0.02,
         
     | 
| 24 | 
         
            +
              "intermediate_size": 3072,
         
     | 
| 25 | 
         
            +
              "label2id": {
         
     | 
| 26 | 
         
            +
                "0-2": 0,
         
     | 
| 27 | 
         
            +
                "10-19": 2,
         
     | 
| 28 | 
         
            +
                "20-29": 3,
         
     | 
| 29 | 
         
            +
                "3-9": 1,
         
     | 
| 30 | 
         
            +
                "30-39": 4,
         
     | 
| 31 | 
         
            +
                "40-49": 5,
         
     | 
| 32 | 
         
            +
                "50-59": 6,
         
     | 
| 33 | 
         
            +
                "60-69": 7,
         
     | 
| 34 | 
         
            +
                "more than 70": 8
         
     | 
| 35 | 
         
            +
              },
         
     | 
| 36 | 
         
            +
              "layer_norm_eps": 1e-12,
         
     | 
| 37 | 
         
            +
              "model_type": "vit",
         
     | 
| 38 | 
         
            +
              "num_attention_heads": 12,
         
     | 
| 39 | 
         
            +
              "num_channels": 3,
         
     | 
| 40 | 
         
            +
              "num_hidden_layers": 12,
         
     | 
| 41 | 
         
            +
              "patch_size": 16,
         
     | 
| 42 | 
         
            +
              "problem_type": "single_label_classification",
         
     | 
| 43 | 
         
            +
              "qkv_bias": true,
         
     | 
| 44 | 
         
            +
              "torch_dtype": "float32",
         
     | 
| 45 | 
         
            +
              "transformers_version": "4.47.0"
         
     | 
| 46 | 
         
            +
            }
         
     | 
    	
        checkpoint-32/model.safetensors
    ADDED
    
    | 
         @@ -0,0 +1,3 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            version https://git-lfs.github.com/spec/v1
         
     | 
| 2 | 
         
            +
            oid sha256:8c2e34c076a38920a0faa6bd6d28ab3c256de02211af98588a84de50a3fcbf61
         
     | 
| 3 | 
         
            +
            size 343245508
         
     | 
    	
        checkpoint-32/optimizer.pt
    ADDED
    
    | 
         @@ -0,0 +1,3 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            version https://git-lfs.github.com/spec/v1
         
     | 
| 2 | 
         
            +
            oid sha256:ecf20baba72b0625f4b93c33924e6dbdc7864803fe84800ca6d7684d763d07c5
         
     | 
| 3 | 
         
            +
            size 686611898
         
     | 
    	
        checkpoint-32/preprocessor_config.json
    ADDED
    
    | 
         @@ -0,0 +1,23 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "do_convert_rgb": null,
         
     | 
| 3 | 
         
            +
              "do_normalize": true,
         
     | 
| 4 | 
         
            +
              "do_rescale": true,
         
     | 
| 5 | 
         
            +
              "do_resize": true,
         
     | 
| 6 | 
         
            +
              "image_mean": [
         
     | 
| 7 | 
         
            +
                0.5,
         
     | 
| 8 | 
         
            +
                0.5,
         
     | 
| 9 | 
         
            +
                0.5
         
     | 
| 10 | 
         
            +
              ],
         
     | 
| 11 | 
         
            +
              "image_processor_type": "ViTImageProcessor",
         
     | 
| 12 | 
         
            +
              "image_std": [
         
     | 
| 13 | 
         
            +
                0.5,
         
     | 
| 14 | 
         
            +
                0.5,
         
     | 
| 15 | 
         
            +
                0.5
         
     | 
| 16 | 
         
            +
              ],
         
     | 
| 17 | 
         
            +
              "resample": 2,
         
     | 
| 18 | 
         
            +
              "rescale_factor": 0.00392156862745098,
         
     | 
| 19 | 
         
            +
              "size": {
         
     | 
| 20 | 
         
            +
                "height": 224,
         
     | 
| 21 | 
         
            +
                "width": 224
         
     | 
| 22 | 
         
            +
              }
         
     | 
| 23 | 
         
            +
            }
         
     | 
    	
        checkpoint-32/rng_state.pth
    ADDED
    
    | 
         @@ -0,0 +1,3 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            version https://git-lfs.github.com/spec/v1
         
     | 
| 2 | 
         
            +
            oid sha256:6b3ee827a7a00012c0a116546df467feee35e70376d81a7a85b1a70eb90414d3
         
     | 
| 3 | 
         
            +
            size 14244
         
     | 
    	
        checkpoint-32/scheduler.pt
    ADDED
    
    | 
         @@ -0,0 +1,3 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            version https://git-lfs.github.com/spec/v1
         
     | 
| 2 | 
         
            +
            oid sha256:56eec20d0c973eb7e7f22bff0d2cd051e8d4c98231e7961894dc75b33a3a36fe
         
     | 
| 3 | 
         
            +
            size 1064
         
     | 
    	
        checkpoint-32/trainer_state.json
    ADDED
    
    | 
         @@ -0,0 +1,53 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "best_metric": 2.178948402404785,
         
     | 
| 3 | 
         
            +
              "best_model_checkpoint": "fairface_age_image_detection/checkpoint-32",
         
     | 
| 4 | 
         
            +
              "epoch": 2.0,
         
     | 
| 5 | 
         
            +
              "eval_steps": 500,
         
     | 
| 6 | 
         
            +
              "global_step": 32,
         
     | 
| 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.14,
         
     | 
| 14 | 
         
            +
                  "eval_loss": 2.1873559951782227,
         
     | 
| 15 | 
         
            +
                  "eval_model_preparation_time": 0.0047,
         
     | 
| 16 | 
         
            +
                  "eval_runtime": 8.2156,
         
     | 
| 17 | 
         
            +
                  "eval_samples_per_second": 12.172,
         
     | 
| 18 | 
         
            +
                  "eval_steps_per_second": 1.582,
         
     | 
| 19 | 
         
            +
                  "step": 16
         
     | 
| 20 | 
         
            +
                },
         
     | 
| 21 | 
         
            +
                {
         
     | 
| 22 | 
         
            +
                  "epoch": 2.0,
         
     | 
| 23 | 
         
            +
                  "eval_accuracy": 0.18,
         
     | 
| 24 | 
         
            +
                  "eval_loss": 2.178948402404785,
         
     | 
| 25 | 
         
            +
                  "eval_model_preparation_time": 0.0047,
         
     | 
| 26 | 
         
            +
                  "eval_runtime": 8.316,
         
     | 
| 27 | 
         
            +
                  "eval_samples_per_second": 12.025,
         
     | 
| 28 | 
         
            +
                  "eval_steps_per_second": 1.563,
         
     | 
| 29 | 
         
            +
                  "step": 32
         
     | 
| 30 | 
         
            +
                }
         
     | 
| 31 | 
         
            +
              ],
         
     | 
| 32 | 
         
            +
              "logging_steps": 500,
         
     | 
| 33 | 
         
            +
              "max_steps": 32,
         
     | 
| 34 | 
         
            +
              "num_input_tokens_seen": 0,
         
     | 
| 35 | 
         
            +
              "num_train_epochs": 2,
         
     | 
| 36 | 
         
            +
              "save_steps": 500,
         
     | 
| 37 | 
         
            +
              "stateful_callbacks": {
         
     | 
| 38 | 
         
            +
                "TrainerControl": {
         
     | 
| 39 | 
         
            +
                  "args": {
         
     | 
| 40 | 
         
            +
                    "should_epoch_stop": false,
         
     | 
| 41 | 
         
            +
                    "should_evaluate": false,
         
     | 
| 42 | 
         
            +
                    "should_log": false,
         
     | 
| 43 | 
         
            +
                    "should_save": true,
         
     | 
| 44 | 
         
            +
                    "should_training_stop": true
         
     | 
| 45 | 
         
            +
                  },
         
     | 
| 46 | 
         
            +
                  "attributes": {}
         
     | 
| 47 | 
         
            +
                }
         
     | 
| 48 | 
         
            +
              },
         
     | 
| 49 | 
         
            +
              "total_flos": 7.7496851367936e+16,
         
     | 
| 50 | 
         
            +
              "train_batch_size": 32,
         
     | 
| 51 | 
         
            +
              "trial_name": null,
         
     | 
| 52 | 
         
            +
              "trial_params": null
         
     | 
| 53 | 
         
            +
            }
         
     | 
    	
        checkpoint-32/training_args.bin
    ADDED
    
    | 
         @@ -0,0 +1,3 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            version https://git-lfs.github.com/spec/v1
         
     | 
| 2 | 
         
            +
            oid sha256:28ebf2b6dbb08045128c07625eb89924fd949f0c3794edd35784a5c320305df8
         
     | 
| 3 | 
         
            +
            size 5304
         
     | 
    	
        config.json
    ADDED
    
    | 
         @@ -0,0 +1,46 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "_name_or_path": "google/vit-base-patch16-224-in21k",
         
     | 
| 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": "0-2",
         
     | 
| 13 | 
         
            +
                "1": "3-9",
         
     | 
| 14 | 
         
            +
                "2": "10-19",
         
     | 
| 15 | 
         
            +
                "3": "20-29",
         
     | 
| 16 | 
         
            +
                "4": "30-39",
         
     | 
| 17 | 
         
            +
                "5": "40-49",
         
     | 
| 18 | 
         
            +
                "6": "50-59",
         
     | 
| 19 | 
         
            +
                "7": "60-69",
         
     | 
| 20 | 
         
            +
                "8": "more than 70"
         
     | 
| 21 | 
         
            +
              },
         
     | 
| 22 | 
         
            +
              "image_size": 224,
         
     | 
| 23 | 
         
            +
              "initializer_range": 0.02,
         
     | 
| 24 | 
         
            +
              "intermediate_size": 3072,
         
     | 
| 25 | 
         
            +
              "label2id": {
         
     | 
| 26 | 
         
            +
                "0-2": 0,
         
     | 
| 27 | 
         
            +
                "10-19": 2,
         
     | 
| 28 | 
         
            +
                "20-29": 3,
         
     | 
| 29 | 
         
            +
                "3-9": 1,
         
     | 
| 30 | 
         
            +
                "30-39": 4,
         
     | 
| 31 | 
         
            +
                "40-49": 5,
         
     | 
| 32 | 
         
            +
                "50-59": 6,
         
     | 
| 33 | 
         
            +
                "60-69": 7,
         
     | 
| 34 | 
         
            +
                "more than 70": 8
         
     | 
| 35 | 
         
            +
              },
         
     | 
| 36 | 
         
            +
              "layer_norm_eps": 1e-12,
         
     | 
| 37 | 
         
            +
              "model_type": "vit",
         
     | 
| 38 | 
         
            +
              "num_attention_heads": 12,
         
     | 
| 39 | 
         
            +
              "num_channels": 3,
         
     | 
| 40 | 
         
            +
              "num_hidden_layers": 12,
         
     | 
| 41 | 
         
            +
              "patch_size": 16,
         
     | 
| 42 | 
         
            +
              "problem_type": "single_label_classification",
         
     | 
| 43 | 
         
            +
              "qkv_bias": true,
         
     | 
| 44 | 
         
            +
              "torch_dtype": "float32",
         
     | 
| 45 | 
         
            +
              "transformers_version": "4.47.0"
         
     | 
| 46 | 
         
            +
            }
         
     | 
    	
        model.safetensors
    ADDED
    
    | 
         @@ -0,0 +1,3 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            version https://git-lfs.github.com/spec/v1
         
     | 
| 2 | 
         
            +
            oid sha256:8c2e34c076a38920a0faa6bd6d28ab3c256de02211af98588a84de50a3fcbf61
         
     | 
| 3 | 
         
            +
            size 343245508
         
     | 
    	
        preprocessor_config.json
    ADDED
    
    | 
         @@ -0,0 +1,23 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "do_convert_rgb": null,
         
     | 
| 3 | 
         
            +
              "do_normalize": true,
         
     | 
| 4 | 
         
            +
              "do_rescale": true,
         
     | 
| 5 | 
         
            +
              "do_resize": true,
         
     | 
| 6 | 
         
            +
              "image_mean": [
         
     | 
| 7 | 
         
            +
                0.5,
         
     | 
| 8 | 
         
            +
                0.5,
         
     | 
| 9 | 
         
            +
                0.5
         
     | 
| 10 | 
         
            +
              ],
         
     | 
| 11 | 
         
            +
              "image_processor_type": "ViTImageProcessor",
         
     | 
| 12 | 
         
            +
              "image_std": [
         
     | 
| 13 | 
         
            +
                0.5,
         
     | 
| 14 | 
         
            +
                0.5,
         
     | 
| 15 | 
         
            +
                0.5
         
     | 
| 16 | 
         
            +
              ],
         
     | 
| 17 | 
         
            +
              "resample": 2,
         
     | 
| 18 | 
         
            +
              "rescale_factor": 0.00392156862745098,
         
     | 
| 19 | 
         
            +
              "size": {
         
     | 
| 20 | 
         
            +
                "height": 224,
         
     | 
| 21 | 
         
            +
                "width": 224
         
     | 
| 22 | 
         
            +
              }
         
     | 
| 23 | 
         
            +
            }
         
     | 
    	
        training_args.bin
    ADDED
    
    | 
         @@ -0,0 +1,3 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            version https://git-lfs.github.com/spec/v1
         
     | 
| 2 | 
         
            +
            oid sha256:28ebf2b6dbb08045128c07625eb89924fd949f0c3794edd35784a5c320305df8
         
     | 
| 3 | 
         
            +
            size 5304
         
     |