Upload folder using huggingface_hub
Browse files- README.md +24 -0
- config.json +70 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- runs/Jan21_16-58-25_r-mariamhsein16-autotrain-advanced-8dzysppp-40a23-nlqcl/events.out.tfevents.1769014707.r-mariamhsein16-autotrain-advanced-8dzysppp-40a23-nlqcl.150.0 +2 -2
- training_args.bin +3 -0
- training_params.json +29 -0
README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
---
|
| 3 |
+
tags:
|
| 4 |
+
- autotrain
|
| 5 |
+
- transformers
|
| 6 |
+
- image-classification
|
| 7 |
+
base_model: microsoft/resnet-50
|
| 8 |
+
widget:
|
| 9 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
|
| 10 |
+
example_title: Tiger
|
| 11 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
|
| 12 |
+
example_title: Teapot
|
| 13 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
|
| 14 |
+
example_title: Palace
|
| 15 |
+
datasets:
|
| 16 |
+
- mrojasfallas/wonders-of-the-world-images
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# Model Trained Using AutoTrain
|
| 20 |
+
|
| 21 |
+
- Problem type: Image Classification
|
| 22 |
+
|
| 23 |
+
## Validation Metrics
|
| 24 |
+
No validation metrics available
|
config.json
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "microsoft/resnet-50",
|
| 3 |
+
"_num_labels": 12,
|
| 4 |
+
"architectures": [
|
| 5 |
+
"ResNetForImageClassification"
|
| 6 |
+
],
|
| 7 |
+
"depths": [
|
| 8 |
+
3,
|
| 9 |
+
4,
|
| 10 |
+
6,
|
| 11 |
+
3
|
| 12 |
+
],
|
| 13 |
+
"downsample_in_bottleneck": false,
|
| 14 |
+
"downsample_in_first_stage": false,
|
| 15 |
+
"embedding_size": 64,
|
| 16 |
+
"hidden_act": "relu",
|
| 17 |
+
"hidden_sizes": [
|
| 18 |
+
256,
|
| 19 |
+
512,
|
| 20 |
+
1024,
|
| 21 |
+
2048
|
| 22 |
+
],
|
| 23 |
+
"id2label": {
|
| 24 |
+
"0": "burj_khalifa",
|
| 25 |
+
"1": "chichen_itza",
|
| 26 |
+
"2": "christ_the_reedemer",
|
| 27 |
+
"3": "eiffel_tower",
|
| 28 |
+
"4": "great_wall_of_china",
|
| 29 |
+
"5": "machu_pichu",
|
| 30 |
+
"6": "pyramids_of_giza",
|
| 31 |
+
"7": "roman_colosseum",
|
| 32 |
+
"8": "statue_of_liberty",
|
| 33 |
+
"9": "stonehenge",
|
| 34 |
+
"10": "taj_mahal",
|
| 35 |
+
"11": "venezuela_angel_falls"
|
| 36 |
+
},
|
| 37 |
+
"label2id": {
|
| 38 |
+
"burj_khalifa": 0,
|
| 39 |
+
"chichen_itza": 1,
|
| 40 |
+
"christ_the_reedemer": 2,
|
| 41 |
+
"eiffel_tower": 3,
|
| 42 |
+
"great_wall_of_china": 4,
|
| 43 |
+
"machu_pichu": 5,
|
| 44 |
+
"pyramids_of_giza": 6,
|
| 45 |
+
"roman_colosseum": 7,
|
| 46 |
+
"statue_of_liberty": 8,
|
| 47 |
+
"stonehenge": 9,
|
| 48 |
+
"taj_mahal": 10,
|
| 49 |
+
"venezuela_angel_falls": 11
|
| 50 |
+
},
|
| 51 |
+
"layer_type": "bottleneck",
|
| 52 |
+
"model_type": "resnet",
|
| 53 |
+
"num_channels": 3,
|
| 54 |
+
"out_features": [
|
| 55 |
+
"stage4"
|
| 56 |
+
],
|
| 57 |
+
"out_indices": [
|
| 58 |
+
4
|
| 59 |
+
],
|
| 60 |
+
"problem_type": "single_label_classification",
|
| 61 |
+
"stage_names": [
|
| 62 |
+
"stem",
|
| 63 |
+
"stage1",
|
| 64 |
+
"stage2",
|
| 65 |
+
"stage3",
|
| 66 |
+
"stage4"
|
| 67 |
+
],
|
| 68 |
+
"torch_dtype": "float32",
|
| 69 |
+
"transformers_version": "4.48.0"
|
| 70 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a26b7c80d795585bbe40b76f18cde3094df1d042306547ea636b75b0bcb40c61
|
| 3 |
+
size 94384944
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_pct": 0.875,
|
| 3 |
+
"do_normalize": true,
|
| 4 |
+
"do_rescale": true,
|
| 5 |
+
"do_resize": true,
|
| 6 |
+
"image_mean": [
|
| 7 |
+
0.485,
|
| 8 |
+
0.456,
|
| 9 |
+
0.406
|
| 10 |
+
],
|
| 11 |
+
"image_processor_type": "ConvNextImageProcessor",
|
| 12 |
+
"image_std": [
|
| 13 |
+
0.229,
|
| 14 |
+
0.224,
|
| 15 |
+
0.225
|
| 16 |
+
],
|
| 17 |
+
"resample": 3,
|
| 18 |
+
"rescale_factor": 0.00392156862745098,
|
| 19 |
+
"size": {
|
| 20 |
+
"shortest_edge": 224
|
| 21 |
+
}
|
| 22 |
+
}
|
runs/Jan21_16-58-25_r-mariamhsein16-autotrain-advanced-8dzysppp-40a23-nlqcl/events.out.tfevents.1769014707.r-mariamhsein16-autotrain-advanced-8dzysppp-40a23-nlqcl.150.0
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b5b2d35e986c879513f896b9f18c7a977fe1e147333d92546536940dbff16402
|
| 3 |
+
size 34369
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ead5522bee6ff2ae8079cece207335d18fb7e4d55e68dedbcd2c2a70f309762f
|
| 3 |
+
size 5368
|
training_params.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"data_path": "mrojasfallas/wonders-of-the-world-images",
|
| 3 |
+
"model": "microsoft/resnet-50",
|
| 4 |
+
"username": "mariamhsein16",
|
| 5 |
+
"lr": 5e-05,
|
| 6 |
+
"epochs": 10,
|
| 7 |
+
"batch_size": 8,
|
| 8 |
+
"warmup_ratio": 0.1,
|
| 9 |
+
"gradient_accumulation": 1,
|
| 10 |
+
"optimizer": "adamw_torch",
|
| 11 |
+
"scheduler": "linear",
|
| 12 |
+
"weight_decay": 0.0,
|
| 13 |
+
"max_grad_norm": 1.0,
|
| 14 |
+
"seed": 42,
|
| 15 |
+
"train_split": "train",
|
| 16 |
+
"valid_split": null,
|
| 17 |
+
"logging_steps": -1,
|
| 18 |
+
"project_name": "WondersofWorld",
|
| 19 |
+
"auto_find_batch_size": false,
|
| 20 |
+
"mixed_precision": "fp16",
|
| 21 |
+
"save_total_limit": 1,
|
| 22 |
+
"push_to_hub": true,
|
| 23 |
+
"eval_strategy": "epoch",
|
| 24 |
+
"image_column": "image",
|
| 25 |
+
"target_column": "label",
|
| 26 |
+
"log": "tensorboard",
|
| 27 |
+
"early_stopping_patience": 5,
|
| 28 |
+
"early_stopping_threshold": 0.01
|
| 29 |
+
}
|