KCAZAR commited on
Commit
c6e81b7
1 Parent(s): b313b82

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - autotrain
5
+ - image-classification
6
+ base_model: google/mobilenet_v2_1.0_224
7
+ widget:
8
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
9
+ example_title: Tiger
10
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
11
+ example_title: Teapot
12
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
13
+ example_title: Palace
14
+ ---
15
+
16
+ # Model Trained Using AutoTrain
17
+
18
+ - Problem type: Image Classification
19
+
20
+ ## Validation Metrics
21
+ loss: 0.5388542413711548
22
+
23
+ f1: 1.0
24
+
25
+ precision: 1.0
26
+
27
+ recall: 1.0
28
+
29
+ auc: 1.0
30
+
31
+ accuracy: 1.0
checkpoint-3/config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/mobilenet_v2_1.0_224",
3
+ "_num_labels": 2,
4
+ "architectures": [
5
+ "MobileNetV2ForImageClassification"
6
+ ],
7
+ "classifier_dropout_prob": 0.2,
8
+ "depth_divisible_by": 8,
9
+ "depth_multiplier": 1.0,
10
+ "expand_ratio": 6,
11
+ "finegrained_output": true,
12
+ "first_layer_is_expansion": true,
13
+ "hidden_act": "relu6",
14
+ "id2label": {
15
+ "0": "maduras",
16
+ "1": "normales"
17
+ },
18
+ "image_size": 224,
19
+ "initializer_range": 0.02,
20
+ "label2id": {
21
+ "maduras": 0,
22
+ "normales": 1
23
+ },
24
+ "layer_norm_eps": 0.001,
25
+ "min_depth": 8,
26
+ "model_type": "mobilenet_v2",
27
+ "num_channels": 3,
28
+ "output_stride": 32,
29
+ "problem_type": "single_label_classification",
30
+ "semantic_loss_ignore_index": 255,
31
+ "tf_padding": true,
32
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.42.2"
34
+ }
checkpoint-3/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b132b3bb9683bc99b7e8ecbb3bd2bab7b16cd62ded2c95a013f3933f8fd30aa0
3
+ size 9080216
checkpoint-3/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f92f2b64deccde6f47b78f68a0465199d5174ee7be8584127abca4c416094ea
3
+ size 17939322
checkpoint-3/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b44b72d72268f7b847934f1ce735a4d454406f4d6fada2a5685698daaee563fd
3
+ size 13990
checkpoint-3/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27e04c5cc6020871a8fa75301674649299045dddf5647df667140915df0692cc
3
+ size 1064
checkpoint-3/trainer_state.json ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.5388542413711548,
3
+ "best_model_checkpoint": "clasificador-de-bananas/checkpoint-3",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 3,
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
+ "grad_norm": 12.091423988342285,
14
+ "learning_rate": 5e-05,
15
+ "loss": 0.6409,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_accuracy": 0.5,
21
+ "eval_auc": 1.0,
22
+ "eval_f1": 0.6666666666666666,
23
+ "eval_loss": 0.8383752107620239,
24
+ "eval_precision": 0.5,
25
+ "eval_recall": 1.0,
26
+ "eval_runtime": 0.087,
27
+ "eval_samples_per_second": 22.988,
28
+ "eval_steps_per_second": 11.494,
29
+ "step": 1
30
+ },
31
+ {
32
+ "epoch": 2.0,
33
+ "grad_norm": 13.67370319366455,
34
+ "learning_rate": 4.4444444444444447e-05,
35
+ "loss": 0.6143,
36
+ "step": 2
37
+ },
38
+ {
39
+ "epoch": 2.0,
40
+ "eval_accuracy": 0.0,
41
+ "eval_auc": 1.0,
42
+ "eval_f1": 0.0,
43
+ "eval_loss": 0.7281892895698547,
44
+ "eval_precision": 0.0,
45
+ "eval_recall": 0.0,
46
+ "eval_runtime": 0.0939,
47
+ "eval_samples_per_second": 21.299,
48
+ "eval_steps_per_second": 10.65,
49
+ "step": 2
50
+ },
51
+ {
52
+ "epoch": 3.0,
53
+ "grad_norm": 15.966830253601074,
54
+ "learning_rate": 3.888888888888889e-05,
55
+ "loss": 0.6377,
56
+ "step": 3
57
+ },
58
+ {
59
+ "epoch": 3.0,
60
+ "eval_accuracy": 1.0,
61
+ "eval_auc": 1.0,
62
+ "eval_f1": 1.0,
63
+ "eval_loss": 0.5388542413711548,
64
+ "eval_precision": 1.0,
65
+ "eval_recall": 1.0,
66
+ "eval_runtime": 0.0727,
67
+ "eval_samples_per_second": 27.491,
68
+ "eval_steps_per_second": 13.746,
69
+ "step": 3
70
+ }
71
+ ],
72
+ "logging_steps": 1,
73
+ "max_steps": 10,
74
+ "num_input_tokens_seen": 0,
75
+ "num_train_epochs": 10,
76
+ "save_steps": 500,
77
+ "stateful_callbacks": {
78
+ "EarlyStoppingCallback": {
79
+ "args": {
80
+ "early_stopping_patience": 5,
81
+ "early_stopping_threshold": 0.01
82
+ },
83
+ "attributes": {
84
+ "early_stopping_patience_counter": 0
85
+ }
86
+ },
87
+ "TrainerControl": {
88
+ "args": {
89
+ "should_epoch_stop": false,
90
+ "should_evaluate": false,
91
+ "should_log": false,
92
+ "should_save": true,
93
+ "should_training_stop": false
94
+ },
95
+ "attributes": {}
96
+ }
97
+ },
98
+ "total_flos": 63033801965568.0,
99
+ "train_batch_size": 8,
100
+ "trial_name": null,
101
+ "trial_params": null
102
+ }
checkpoint-3/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a042f9dd9105f69ed25d92b14263224ac99836aa8dc9cd7db530de4dd46e0155
3
+ size 5176
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/mobilenet_v2_1.0_224",
3
+ "_num_labels": 2,
4
+ "architectures": [
5
+ "MobileNetV2ForImageClassification"
6
+ ],
7
+ "classifier_dropout_prob": 0.2,
8
+ "depth_divisible_by": 8,
9
+ "depth_multiplier": 1.0,
10
+ "expand_ratio": 6,
11
+ "finegrained_output": true,
12
+ "first_layer_is_expansion": true,
13
+ "hidden_act": "relu6",
14
+ "id2label": {
15
+ "0": "maduras",
16
+ "1": "normales"
17
+ },
18
+ "image_size": 224,
19
+ "initializer_range": 0.02,
20
+ "label2id": {
21
+ "maduras": 0,
22
+ "normales": 1
23
+ },
24
+ "layer_norm_eps": 0.001,
25
+ "min_depth": 8,
26
+ "model_type": "mobilenet_v2",
27
+ "num_channels": 3,
28
+ "output_stride": 32,
29
+ "problem_type": "single_label_classification",
30
+ "semantic_loss_ignore_index": 255,
31
+ "tf_padding": true,
32
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.42.2"
34
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b132b3bb9683bc99b7e8ecbb3bd2bab7b16cd62ded2c95a013f3933f8fd30aa0
3
+ size 9080216
preprocessor_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 224,
4
+ "width": 224
5
+ },
6
+ "do_center_crop": true,
7
+ "do_normalize": true,
8
+ "do_rescale": true,
9
+ "do_resize": true,
10
+ "image_mean": [
11
+ 0.5,
12
+ 0.5,
13
+ 0.5
14
+ ],
15
+ "image_processor_type": "MobileNetV2ImageProcessor",
16
+ "image_std": [
17
+ 0.5,
18
+ 0.5,
19
+ 0.5
20
+ ],
21
+ "resample": 2,
22
+ "rescale_factor": 0.00392156862745098,
23
+ "size": {
24
+ "shortest_edge": 256
25
+ }
26
+ }
runs/Jul15_17-03-17_r-kcazar-prueba-finetunning-l6xjmmao-b1bdc-aq4af/events.out.tfevents.1721062999.r-kcazar-prueba-finetunning-l6xjmmao-b1bdc-aq4af.106.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9692eded4f7187d12a157527c8c495c5e1a89ea46b50b8776bae1d8ee0545887
3
- size 4994
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:184f82825157aa948f6ab7f32f96bfeb26608a2af363df0b757044b50e4fcea6
3
+ size 11070
runs/Jul15_17-03-17_r-kcazar-prueba-finetunning-l6xjmmao-b1bdc-aq4af/events.out.tfevents.1721063011.r-kcazar-prueba-finetunning-l6xjmmao-b1bdc-aq4af.106.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea33093f00862352998ecda1ba17162364a3b255a3314b91fc8cfbc99d19f78c
3
+ size 597
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a042f9dd9105f69ed25d92b14263224ac99836aa8dc9cd7db530de4dd46e0155
3
+ size 5176
training_params.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "clasificador-de-bananas/autotrain-data",
3
+ "model": "google/mobilenet_v2_1.0_224",
4
+ "username": "KCAZAR",
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": "validation",
17
+ "logging_steps": -1,
18
+ "project_name": "clasificador-de-bananas",
19
+ "auto_find_batch_size": false,
20
+ "mixed_precision": "none",
21
+ "save_total_limit": 1,
22
+ "push_to_hub": true,
23
+ "eval_strategy": "epoch",
24
+ "image_column": "autotrain_image",
25
+ "target_column": "autotrain_label",
26
+ "log": "tensorboard",
27
+ "early_stopping_patience": 5,
28
+ "early_stopping_threshold": 0.01
29
+ }