End of training
Browse files- README.md +79 -0
- config.json +41 -0
- model.safetensors +3 -0
- preprocessor_config.json +31 -0
- runs/Jul31_13-59-33_0508-124547-7g8b340j-172-16-88-57/events.out.tfevents.1753970383.0508-124547-7g8b340j-172-16-88-57.3407.0 +3 -0
- runs/Jul31_14-02-38_0508-124547-7g8b340j-172-16-88-57/events.out.tfevents.1753970561.0508-124547-7g8b340j-172-16-88-57.3407.1 +3 -0
- runs/Jul31_14-05-48_0508-124547-7g8b340j-172-16-88-57/events.out.tfevents.1753970749.0508-124547-7g8b340j-172-16-88-57.3407.2 +3 -0
- runs/Jul31_14-08-56_0508-124547-7g8b340j-172-16-88-57/events.out.tfevents.1753970937.0508-124547-7g8b340j-172-16-88-57.3407.3 +3 -0
- runs/Jul31_14-11-40_0508-124547-7g8b340j-172-16-88-57/events.out.tfevents.1753971101.0508-124547-7g8b340j-172-16-88-57.3407.4 +3 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
base_model: google/vit-base-patch16-224-in21k
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
metrics:
|
| 8 |
+
- accuracy
|
| 9 |
+
model-index:
|
| 10 |
+
- name: etsy-room-classifier
|
| 11 |
+
results: []
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 15 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 16 |
+
|
| 17 |
+
# etsy-room-classifier
|
| 18 |
+
|
| 19 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on an unknown dataset.
|
| 20 |
+
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 1.0884
|
| 22 |
+
- Accuracy: 0.75
|
| 23 |
+
|
| 24 |
+
## Model description
|
| 25 |
+
|
| 26 |
+
More information needed
|
| 27 |
+
|
| 28 |
+
## Intended uses & limitations
|
| 29 |
+
|
| 30 |
+
More information needed
|
| 31 |
+
|
| 32 |
+
## Training and evaluation data
|
| 33 |
+
|
| 34 |
+
More information needed
|
| 35 |
+
|
| 36 |
+
## Training procedure
|
| 37 |
+
|
| 38 |
+
### Training hyperparameters
|
| 39 |
+
|
| 40 |
+
The following hyperparameters were used during training:
|
| 41 |
+
- learning_rate: 1e-05
|
| 42 |
+
- train_batch_size: 16
|
| 43 |
+
- eval_batch_size: 16
|
| 44 |
+
- seed: 2025
|
| 45 |
+
- distributed_type: multi-GPU
|
| 46 |
+
- gradient_accumulation_steps: 4
|
| 47 |
+
- total_train_batch_size: 64
|
| 48 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 49 |
+
- lr_scheduler_type: linear
|
| 50 |
+
- lr_scheduler_warmup_ratio: 0.1
|
| 51 |
+
- num_epochs: 15
|
| 52 |
+
|
| 53 |
+
### Training results
|
| 54 |
+
|
| 55 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 56 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 57 |
+
| 1.7984 | 1.0 | 12 | 1.7703 | 0.2 |
|
| 58 |
+
| 1.7678 | 2.0 | 24 | 1.7096 | 0.45 |
|
| 59 |
+
| 1.6943 | 3.0 | 36 | 1.6088 | 0.525 |
|
| 60 |
+
| 1.6284 | 4.0 | 48 | 1.5027 | 0.575 |
|
| 61 |
+
| 1.4732 | 5.0 | 60 | 1.4243 | 0.55 |
|
| 62 |
+
| 1.4102 | 6.0 | 72 | 1.3879 | 0.55 |
|
| 63 |
+
| 1.3583 | 7.0 | 84 | 1.3096 | 0.625 |
|
| 64 |
+
| 1.2844 | 8.0 | 96 | 1.2460 | 0.675 |
|
| 65 |
+
| 1.2383 | 9.0 | 108 | 1.1915 | 0.7 |
|
| 66 |
+
| 1.1613 | 10.0 | 120 | 1.1863 | 0.65 |
|
| 67 |
+
| 1.1508 | 11.0 | 132 | 1.1619 | 0.775 |
|
| 68 |
+
| 1.0836 | 12.0 | 144 | 1.1397 | 0.8 |
|
| 69 |
+
| 1.115 | 13.0 | 156 | 1.1122 | 0.75 |
|
| 70 |
+
| 1.0829 | 14.0 | 168 | 1.0820 | 0.8 |
|
| 71 |
+
| 1.0483 | 15.0 | 180 | 1.0884 | 0.75 |
|
| 72 |
+
|
| 73 |
+
|
| 74 |
+
### Framework versions
|
| 75 |
+
|
| 76 |
+
- Transformers 4.54.1
|
| 77 |
+
- Pytorch 2.3.1+cu121
|
| 78 |
+
- Datasets 2.19.1
|
| 79 |
+
- Tokenizers 0.21.4
|
config.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"ViTForImageClassification"
|
| 4 |
+
],
|
| 5 |
+
"attention_probs_dropout_prob": 0.0,
|
| 6 |
+
"encoder_stride": 16,
|
| 7 |
+
"hidden_act": "gelu",
|
| 8 |
+
"hidden_dropout_prob": 0.0,
|
| 9 |
+
"hidden_size": 768,
|
| 10 |
+
"id2label": {
|
| 11 |
+
"0": "bathroom",
|
| 12 |
+
"1": "bedroom",
|
| 13 |
+
"2": "hallway",
|
| 14 |
+
"3": "kitchen",
|
| 15 |
+
"4": "other",
|
| 16 |
+
"5": "toilet"
|
| 17 |
+
},
|
| 18 |
+
"image_size": 224,
|
| 19 |
+
"initializer_range": 0.02,
|
| 20 |
+
"intermediate_size": 3072,
|
| 21 |
+
"label2id": {
|
| 22 |
+
"bathroom": "0",
|
| 23 |
+
"bedroom": "1",
|
| 24 |
+
"hallway": "2",
|
| 25 |
+
"kitchen": "3",
|
| 26 |
+
"other": "4",
|
| 27 |
+
"toilet": "5"
|
| 28 |
+
},
|
| 29 |
+
"layer_norm_eps": 1e-12,
|
| 30 |
+
"model_type": "vit",
|
| 31 |
+
"num_attention_heads": 12,
|
| 32 |
+
"num_channels": 3,
|
| 33 |
+
"num_hidden_layers": 12,
|
| 34 |
+
"patch_size": 16,
|
| 35 |
+
"pooler_act": "tanh",
|
| 36 |
+
"pooler_output_size": 768,
|
| 37 |
+
"problem_type": "single_label_classification",
|
| 38 |
+
"qkv_bias": true,
|
| 39 |
+
"torch_dtype": "float32",
|
| 40 |
+
"transformers_version": "4.54.1"
|
| 41 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba395b79bb410c637491727cabc8eb819f21df4d1356eebd5d05cca7a85b4c3f
|
| 3 |
+
size 343236280
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_size": null,
|
| 3 |
+
"data_format": "channels_first",
|
| 4 |
+
"default_to_square": true,
|
| 5 |
+
"device": null,
|
| 6 |
+
"disable_grouping": null,
|
| 7 |
+
"do_center_crop": null,
|
| 8 |
+
"do_convert_rgb": null,
|
| 9 |
+
"do_normalize": true,
|
| 10 |
+
"do_rescale": true,
|
| 11 |
+
"do_resize": true,
|
| 12 |
+
"image_mean": [
|
| 13 |
+
0.5,
|
| 14 |
+
0.5,
|
| 15 |
+
0.5
|
| 16 |
+
],
|
| 17 |
+
"image_processor_type": "ViTImageProcessorFast",
|
| 18 |
+
"image_std": [
|
| 19 |
+
0.5,
|
| 20 |
+
0.5,
|
| 21 |
+
0.5
|
| 22 |
+
],
|
| 23 |
+
"input_data_format": null,
|
| 24 |
+
"resample": 2,
|
| 25 |
+
"rescale_factor": 0.00392156862745098,
|
| 26 |
+
"return_tensors": null,
|
| 27 |
+
"size": {
|
| 28 |
+
"height": 224,
|
| 29 |
+
"width": 224
|
| 30 |
+
}
|
| 31 |
+
}
|
runs/Jul31_13-59-33_0508-124547-7g8b340j-172-16-88-57/events.out.tfevents.1753970383.0508-124547-7g8b340j-172-16-88-57.3407.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:69d797f2b6170f7c9e53fd0610d45d1ae6287b0c9f2e4191e9c9c5888ab32fbe
|
| 3 |
+
size 11216
|
runs/Jul31_14-02-38_0508-124547-7g8b340j-172-16-88-57/events.out.tfevents.1753970561.0508-124547-7g8b340j-172-16-88-57.3407.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:68bb491b7c5baa4055e8ddc5141751540474e30d6c027c2201b7ecbcad507076
|
| 3 |
+
size 11216
|
runs/Jul31_14-05-48_0508-124547-7g8b340j-172-16-88-57/events.out.tfevents.1753970749.0508-124547-7g8b340j-172-16-88-57.3407.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8b46bbb9d85b24d2244133916ad7d5b32ec28f9bac1b1f1c62ab894584221241
|
| 3 |
+
size 11285
|
runs/Jul31_14-08-56_0508-124547-7g8b340j-172-16-88-57/events.out.tfevents.1753970937.0508-124547-7g8b340j-172-16-88-57.3407.3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d4e46593f0bfd0d8956f30e1bac6f2475031f99a4cb89ee8699b38204ce2944c
|
| 3 |
+
size 9889
|
runs/Jul31_14-11-40_0508-124547-7g8b340j-172-16-88-57/events.out.tfevents.1753971101.0508-124547-7g8b340j-172-16-88-57.3407.4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:152e690e8fde94de3f59043def83983e59a826095352fb46e76d6c2e3f64c5c6
|
| 3 |
+
size 14111
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e86c71806b3b8572fc69cda1304b8914092e666407dc2b626a831741e69ca134
|
| 3 |
+
size 5432
|