
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->

# initial_ViT_model

This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the fair_face dataset.
It achieves the following results on the evaluation set:
- Loss: 3.6347
- Accuracy: 0.2125

## Model description

More information needed

## Intended uses & limitations

More information needed

## Training and evaluation data

More information needed

## Training procedure

### Training hyperparameters

The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 64
- eval_batch_size: 64
- seed: 42
- gradient_accumulation_steps: 4
- total_train_batch_size: 256
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_ratio: 0.2
- num_epochs: 1

### Training results

| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
| 4.7855        | 0.15  | 50   | 4.6444          | 0.0511   |
| 4.4242        | 0.29  | 100  | 4.2124          | 0.1418   |
| 4.0596        | 0.44  | 150  | 3.9402          | 0.1744   |
| 3.859         | 0.59  | 200  | 3.7823          | 0.1956   |
| 3.7392        | 0.74  | 250  | 3.6877          | 0.2105   |
| 3.6424        | 0.88  | 300  | 3.6347          | 0.2125   |


### Framework versions

- Transformers 4.35.2
- Pytorch 2.1.0+cu121
- Datasets 2.16.1
- Tokenizers 0.15.0

east asian_male_0-2 east asian_male_3-9 east asian_male_10-19 east asian_male_20-29 east asian_male_30-39 east asian_male_40-49 east asian_male_50-59 east asian_male_60-69 east asian_male_more than 70 east asian_female_0-2 east asian_female_3-9 east asian_female_10-19 east asian_female_20-29 east asian_female_30-39 east asian_female_40-49 east asian_female_50-59 east asian_female_60-69 east asian_female_more than 70 indian_male_0-2 indian_male_3-9 indian_male_10-19 indian_male_20-29 indian_male_30-39 indian_male_40-49 indian_male_50-59 indian_male_60-69 indian_male_more than 70 indian_female_0-2 indian_female_3-9 indian_female_10-19 indian_female_20-29 indian_female_30-39 indian_female_40-49 indian_female_50-59 indian_female_60-69 indian_female_more than 70 black_male_0-2 black_male_3-9 black_male_10-19 black_male_20-29 black_male_30-39 black_male_40-49 black_male_50-59 black_male_60-69 black_male_more than 70 black_female_0-2 black_female_3-9 black_female_10-19 black_female_20-29 black_female_30-39 black_female_40-49 black_female_50-59 black_female_60-69 black_female_more than 70 white_male_0-2 white_male_3-9 white_male_10-19 white_male_20-29 white_male_30-39 white_male_40-49 white_male_50-59 white_male_60-69 white_male_more than 70 white_female_0-2 white_female_3-9 white_female_10-19 white_female_20-29 white_female_30-39 white_female_40-49 white_female_50-59 white_female_60-69 white_female_more than 70 middle eastern_male_0-2 middle eastern_male_3-9 middle eastern_male_10-19 middle eastern_male_20-29 middle eastern_male_30-39 middle eastern_male_40-49 middle eastern_male_50-59 middle eastern_male_60-69 middle eastern_male_more than 70 middle eastern_female_0-2 middle eastern_female_3-9 middle eastern_female_10-19 middle eastern_female_20-29 middle eastern_female_30-39 middle eastern_female_40-49 middle eastern_female_50-59 middle eastern_female_60-69 middle eastern_female_more than 70 latino_hispanic_male_0-2 latino_hispanic_male_3-9 latino_hispanic_male_10-19 latino_hispanic_male_20-29 latino_hispanic_male_30-39 latino_hispanic_male_40-49 latino_hispanic_male_50-59 latino_hispanic_male_60-69 latino_hispanic_male_more than 70 latino_hispanic_female_0-2 latino_hispanic_female_3-9 latino_hispanic_female_10-19 latino_hispanic_female_20-29 latino_hispanic_female_30-39 latino_hispanic_female_40-49 latino_hispanic_female_50-59 latino_hispanic_female_60-69 latino_hispanic_female_more than 70 southeast asian_male_0-2 southeast asian_male_3-9 southeast asian_male_10-19 southeast asian_male_20-29 southeast asian_male_30-39 southeast asian_male_40-49 southeast asian_male_50-59 southeast asian_male_60-69 southeast asian_male_more than 70 southeast asian_female_0-2 southeast asian_female_3-9 southeast asian_female_10-19 southeast asian_female_20-29 southeast asian_female_30-39 southeast asian_female_40-49 southeast asian_female_50-59 southeast asian_female_60-69 southeast asian_female_more than 70