Upload folder using huggingface_hub
Browse files- README.md +23 -0
- config.json +62 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- runs/Oct16_12-24-23_r-rickyfwh-jigsaw-qulified-45e9a6er-5b214-1siv9/events.out.tfevents.1729081465.r-rickyfwh-jigsaw-qulified-45e9a6er-5b214-1siv9.86.0 +2 -2
- training_args.bin +3 -0
- training_params.json +29 -0
README.md
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
tags:
|
4 |
+
- autotrain
|
5 |
+
- image-classification
|
6 |
+
base_model: microsoft/swin-base-patch4-window7-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 |
+
datasets:
|
15 |
+
- Rickyfwh/js_qulified_test
|
16 |
+
---
|
17 |
+
|
18 |
+
# Model Trained Using AutoTrain
|
19 |
+
|
20 |
+
- Problem type: Image Classification
|
21 |
+
|
22 |
+
## Validation Metrics
|
23 |
+
No validation metrics available
|
config.json
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/swin-base-patch4-window7-224",
|
3 |
+
"_num_labels": 2,
|
4 |
+
"architectures": [
|
5 |
+
"SwinForImageClassification"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.0,
|
8 |
+
"depths": [
|
9 |
+
2,
|
10 |
+
2,
|
11 |
+
18,
|
12 |
+
2
|
13 |
+
],
|
14 |
+
"drop_path_rate": 0.1,
|
15 |
+
"embed_dim": 128,
|
16 |
+
"encoder_stride": 32,
|
17 |
+
"hidden_act": "gelu",
|
18 |
+
"hidden_dropout_prob": 0.0,
|
19 |
+
"hidden_size": 1024,
|
20 |
+
"id2label": {
|
21 |
+
"0": "qualified",
|
22 |
+
"1": "unqualified"
|
23 |
+
},
|
24 |
+
"image_size": 224,
|
25 |
+
"initializer_range": 0.02,
|
26 |
+
"label2id": {
|
27 |
+
"qualified": 0,
|
28 |
+
"unqualified": 1
|
29 |
+
},
|
30 |
+
"layer_norm_eps": 1e-05,
|
31 |
+
"mlp_ratio": 4.0,
|
32 |
+
"model_type": "swin",
|
33 |
+
"num_channels": 3,
|
34 |
+
"num_heads": [
|
35 |
+
4,
|
36 |
+
8,
|
37 |
+
16,
|
38 |
+
32
|
39 |
+
],
|
40 |
+
"num_layers": 4,
|
41 |
+
"out_features": [
|
42 |
+
"stage4"
|
43 |
+
],
|
44 |
+
"out_indices": [
|
45 |
+
4
|
46 |
+
],
|
47 |
+
"patch_size": 4,
|
48 |
+
"path_norm": true,
|
49 |
+
"problem_type": "single_label_classification",
|
50 |
+
"qkv_bias": true,
|
51 |
+
"stage_names": [
|
52 |
+
"stem",
|
53 |
+
"stage1",
|
54 |
+
"stage2",
|
55 |
+
"stage3",
|
56 |
+
"stage4"
|
57 |
+
],
|
58 |
+
"torch_dtype": "float32",
|
59 |
+
"transformers_version": "4.45.0",
|
60 |
+
"use_absolute_embeddings": false,
|
61 |
+
"window_size": 7
|
62 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2fd68ef12e2ccecccbf905ea91265d7b8a7e064b63b3d5d9e850771540c997a3
|
3 |
+
size 347498816
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"image_mean": [
|
6 |
+
0.485,
|
7 |
+
0.456,
|
8 |
+
0.406
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTImageProcessor",
|
11 |
+
"image_std": [
|
12 |
+
0.229,
|
13 |
+
0.224,
|
14 |
+
0.225
|
15 |
+
],
|
16 |
+
"resample": 3,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 224,
|
20 |
+
"width": 224
|
21 |
+
}
|
22 |
+
}
|
runs/Oct16_12-24-23_r-rickyfwh-jigsaw-qulified-45e9a6er-5b214-1siv9/events.out.tfevents.1729081465.r-rickyfwh-jigsaw-qulified-45e9a6er-5b214-1siv9.86.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:442c395aa581984ff49d2f30d71d88d940de8bff3a1b07cae0f0ac2db1b89b11
|
3 |
+
size 17741
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8ea36eadb52ca6a74a5c698e7fb7f202be26487eee65f5346c9fbd59101fcd42
|
3 |
+
size 5240
|
training_params.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"data_path": "Rickyfwh/js_qulified_test",
|
3 |
+
"model": "microsoft/swin-base-patch4-window7-224",
|
4 |
+
"username": "Rickyfwh",
|
5 |
+
"lr": 5e-05,
|
6 |
+
"epochs": 3,
|
7 |
+
"batch_size": 4,
|
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": "autotrain-ylva9-udf9l",
|
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 |
+
}
|