JungleWong commited on
Commit
1072543
·
1 Parent(s): 5de8a8b

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - autotrain
5
+ - image-classification
6
+ widget:
7
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
8
+ example_title: Tiger
9
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
10
+ example_title: Teapot
11
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
12
+ example_title: Palace
13
+ datasets:
14
+ - JungleWong/autotrain-data-wong_autotrain
15
+ ---
16
+
17
+ # Model Trained Using AutoTrain
18
+
19
+ - Problem type: Image Classification
20
+
21
+ ## Validation Metricsg
22
+ loss: 3.847293969571684e+27
23
+
24
+ f1_macro: 0.16666666666666666
25
+
26
+ f1_micro: 0.3333333333333333
27
+
28
+ f1_weighted: 0.16666666666666666
29
+
30
+ precision_macro: 0.1111111111111111
31
+
32
+ precision_micro: 0.3333333333333333
33
+
34
+ precision_weighted: 0.1111111111111111
35
+
36
+ recall_macro: 0.3333333333333333
37
+
38
+ recall_micro: 0.3333333333333333
39
+
40
+ recall_weighted: 0.3333333333333333
41
+
42
+ accuracy: 0.3333333333333333
checkpoint-2/config.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/beit-base-patch16-224",
3
+ "_num_labels": 3,
4
+ "add_fpn": false,
5
+ "architectures": [
6
+ "BeitForImageClassification"
7
+ ],
8
+ "attention_probs_dropout_prob": 0.0,
9
+ "auxiliary_channels": 256,
10
+ "auxiliary_concat_input": false,
11
+ "auxiliary_loss_weight": 0.4,
12
+ "auxiliary_num_convs": 1,
13
+ "drop_path_rate": 0.1,
14
+ "hidden_act": "gelu",
15
+ "hidden_dropout_prob": 0.0,
16
+ "hidden_size": 768,
17
+ "id2label": {
18
+ "0": "11covered_with_a_quilt_and_only_the_head_exposed",
19
+ "1": "12covered_with_a_quilt_and_exposed_other_parts_of_the_body",
20
+ "2": "13has_nothing_to_do_with_11_and_12_above"
21
+ },
22
+ "image_size": 224,
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 3072,
25
+ "label2id": {
26
+ "11covered_with_a_quilt_and_only_the_head_exposed": 0,
27
+ "12covered_with_a_quilt_and_exposed_other_parts_of_the_body": 1,
28
+ "13has_nothing_to_do_with_11_and_12_above": 2
29
+ },
30
+ "layer_norm_eps": 1e-12,
31
+ "layer_scale_init_value": 0.1,
32
+ "model_type": "beit",
33
+ "num_attention_heads": 12,
34
+ "num_channels": 3,
35
+ "num_hidden_layers": 12,
36
+ "out_features": [
37
+ "stage12"
38
+ ],
39
+ "out_indices": [
40
+ 12
41
+ ],
42
+ "patch_size": 16,
43
+ "pool_scales": [
44
+ 1,
45
+ 2,
46
+ 3,
47
+ 6
48
+ ],
49
+ "problem_type": "single_label_classification",
50
+ "reshape_hidden_states": true,
51
+ "semantic_loss_ignore_index": 255,
52
+ "stage_names": [
53
+ "stem",
54
+ "stage1",
55
+ "stage2",
56
+ "stage3",
57
+ "stage4",
58
+ "stage5",
59
+ "stage6",
60
+ "stage7",
61
+ "stage8",
62
+ "stage9",
63
+ "stage10",
64
+ "stage11",
65
+ "stage12"
66
+ ],
67
+ "torch_dtype": "float32",
68
+ "transformers_version": "4.36.1",
69
+ "use_absolute_position_embeddings": false,
70
+ "use_auxiliary_head": true,
71
+ "use_mask_token": false,
72
+ "use_mean_pooling": true,
73
+ "use_relative_position_bias": true,
74
+ "use_shared_relative_position_bias": false,
75
+ "vocab_size": 8192
76
+ }
checkpoint-2/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7974e80d2b059416a7f83d536890e4d75891ac08bda25e0a305fee43f1e24d14
3
+ size 343083404
checkpoint-2/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fed9d0158fd746161c2d01560f95482976c28d9a6a3b7118c9156814ef446290
3
+ size 686294522
checkpoint-2/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b341b4c561c6b9c6508b051fa13d4a52bb4b80d7a6a844777fd808f8d9545fad
3
+ size 13990
checkpoint-2/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba5dddc2fa8a733dff0131eb90eb56cf18e8438866994f03c63083a2de07cfee
3
+ size 1064
checkpoint-2/trainer_state.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 3.847293969571684e+27,
3
+ "best_model_checkpoint": "/tmp/model/checkpoint-2",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 2,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.5,
13
+ "learning_rate": 5e-05,
14
+ "loss": 4.5068376765914746e+27,
15
+ "step": 1
16
+ },
17
+ {
18
+ "epoch": 1.0,
19
+ "learning_rate": 4e-05,
20
+ "loss": 1.0699384279415926e+28,
21
+ "step": 2
22
+ },
23
+ {
24
+ "epoch": 1.0,
25
+ "eval_accuracy": 0.3333333333333333,
26
+ "eval_f1_macro": 0.16666666666666666,
27
+ "eval_f1_micro": 0.3333333333333333,
28
+ "eval_f1_weighted": 0.16666666666666666,
29
+ "eval_loss": 3.847293969571684e+27,
30
+ "eval_precision_macro": 0.1111111111111111,
31
+ "eval_precision_micro": 0.3333333333333333,
32
+ "eval_precision_weighted": 0.1111111111111111,
33
+ "eval_recall_macro": 0.3333333333333333,
34
+ "eval_recall_micro": 0.3333333333333333,
35
+ "eval_recall_weighted": 0.3333333333333333,
36
+ "eval_runtime": 0.9046,
37
+ "eval_samples_per_second": 3.316,
38
+ "eval_steps_per_second": 1.105,
39
+ "step": 2
40
+ }
41
+ ],
42
+ "logging_steps": 1,
43
+ "max_steps": 6,
44
+ "num_input_tokens_seen": 0,
45
+ "num_train_epochs": 3,
46
+ "save_steps": 500,
47
+ "total_flos": 852055194912768.0,
48
+ "train_batch_size": 8,
49
+ "trial_name": null,
50
+ "trial_params": null
51
+ }
checkpoint-2/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43d21503e003dec3ea09e992ecf44d4c8ec7610bf971aa513611abe1d19ad6ea
3
+ size 4728
config.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/beit-base-patch16-224",
3
+ "_num_labels": 3,
4
+ "add_fpn": false,
5
+ "architectures": [
6
+ "BeitForImageClassification"
7
+ ],
8
+ "attention_probs_dropout_prob": 0.0,
9
+ "auxiliary_channels": 256,
10
+ "auxiliary_concat_input": false,
11
+ "auxiliary_loss_weight": 0.4,
12
+ "auxiliary_num_convs": 1,
13
+ "drop_path_rate": 0.1,
14
+ "hidden_act": "gelu",
15
+ "hidden_dropout_prob": 0.0,
16
+ "hidden_size": 768,
17
+ "id2label": {
18
+ "0": "11covered_with_a_quilt_and_only_the_head_exposed",
19
+ "1": "12covered_with_a_quilt_and_exposed_other_parts_of_the_body",
20
+ "2": "13has_nothing_to_do_with_11_and_12_above"
21
+ },
22
+ "image_size": 224,
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 3072,
25
+ "label2id": {
26
+ "11covered_with_a_quilt_and_only_the_head_exposed": 0,
27
+ "12covered_with_a_quilt_and_exposed_other_parts_of_the_body": 1,
28
+ "13has_nothing_to_do_with_11_and_12_above": 2
29
+ },
30
+ "layer_norm_eps": 1e-12,
31
+ "layer_scale_init_value": 0.1,
32
+ "model_type": "beit",
33
+ "num_attention_heads": 12,
34
+ "num_channels": 3,
35
+ "num_hidden_layers": 12,
36
+ "out_features": [
37
+ "stage12"
38
+ ],
39
+ "out_indices": [
40
+ 12
41
+ ],
42
+ "patch_size": 16,
43
+ "pool_scales": [
44
+ 1,
45
+ 2,
46
+ 3,
47
+ 6
48
+ ],
49
+ "problem_type": "single_label_classification",
50
+ "reshape_hidden_states": true,
51
+ "semantic_loss_ignore_index": 255,
52
+ "stage_names": [
53
+ "stem",
54
+ "stage1",
55
+ "stage2",
56
+ "stage3",
57
+ "stage4",
58
+ "stage5",
59
+ "stage6",
60
+ "stage7",
61
+ "stage8",
62
+ "stage9",
63
+ "stage10",
64
+ "stage11",
65
+ "stage12"
66
+ ],
67
+ "torch_dtype": "float32",
68
+ "transformers_version": "4.36.1",
69
+ "use_absolute_position_embeddings": false,
70
+ "use_auxiliary_head": true,
71
+ "use_mask_token": false,
72
+ "use_mean_pooling": true,
73
+ "use_relative_position_bias": true,
74
+ "use_shared_relative_position_bias": false,
75
+ "vocab_size": 8192
76
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7974e80d2b059416a7f83d536890e4d75891ac08bda25e0a305fee43f1e24d14
3
+ size 343083404
preprocessor_config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 224,
4
+ "width": 224
5
+ },
6
+ "do_center_crop": false,
7
+ "do_normalize": true,
8
+ "do_reduce_labels": false,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "image_mean": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "image_processor_type": "BeitImageProcessor",
17
+ "image_std": [
18
+ 0.5,
19
+ 0.5,
20
+ 0.5
21
+ ],
22
+ "resample": 2,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "size": {
25
+ "height": 224,
26
+ "width": 224
27
+ }
28
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43d21503e003dec3ea09e992ecf44d4c8ec7610bf971aa513611abe1d19ad6ea
3
+ size 4728
training_params.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "JungleWong/autotrain-data-wong_autotrain",
3
+ "model": "microsoft/beit-base-patch16-224",
4
+ "username": "JungleWong",
5
+ "lr": 5e-05,
6
+ "epochs": 3,
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": "/tmp/model",
19
+ "auto_find_batch_size": false,
20
+ "mixed_precision": "no",
21
+ "save_total_limit": 1,
22
+ "save_strategy": "epoch",
23
+ "push_to_hub": true,
24
+ "repo_id": "JungleWong/wong_autotrain",
25
+ "evaluation_strategy": "epoch",
26
+ "image_column": "autotrain_image",
27
+ "target_column": "autotrain_label",
28
+ "log": "none"
29
+ }