verytuffcat commited on
Commit
2476656
1 Parent(s): e216408

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - autotrain
5
+ - image-classification
6
+ base_model: google/vit-base-patch16-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
+ - verytuffcat/recaptcha-dataset
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,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224",
3
+ "_num_labels": 13,
4
+ "architectures": [
5
+ "ViTForImageClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.0,
8
+ "encoder_stride": 16,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.0,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "bicycle",
14
+ "1": "bridge",
15
+ "2": "bus",
16
+ "3": "car",
17
+ "4": "chimney",
18
+ "5": "crosswalk",
19
+ "6": "hydrant",
20
+ "7": "motorcycle",
21
+ "8": "mountain",
22
+ "9": "other",
23
+ "10": "palm",
24
+ "11": "stair",
25
+ "12": "traffic light"
26
+ },
27
+ "image_size": 224,
28
+ "initializer_range": 0.02,
29
+ "intermediate_size": 3072,
30
+ "label2id": {
31
+ "bicycle": 0,
32
+ "bridge": 1,
33
+ "bus": 2,
34
+ "car": 3,
35
+ "chimney": 4,
36
+ "crosswalk": 5,
37
+ "hydrant": 6,
38
+ "motorcycle": 7,
39
+ "mountain": 8,
40
+ "other": 9,
41
+ "palm": 10,
42
+ "stair": 11,
43
+ "traffic light": 12
44
+ },
45
+ "layer_norm_eps": 1e-12,
46
+ "model_type": "vit",
47
+ "num_attention_heads": 12,
48
+ "num_channels": 3,
49
+ "num_hidden_layers": 12,
50
+ "patch_size": 16,
51
+ "problem_type": "single_label_classification",
52
+ "qkv_bias": true,
53
+ "torch_dtype": "float32",
54
+ "transformers_version": "4.46.2"
55
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00fc9b7aaf3905456299aab0f5255f5e3cd16115e8588cd786df96cc8db32e84
3
+ size 343257812
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.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_processor_type": "ViTImageProcessor",
11
+ "image_std": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "resample": 2,
17
+ "rescale_factor": 0.00392156862745098,
18
+ "size": {
19
+ "height": 224,
20
+ "width": 224
21
+ }
22
+ }
runs/Dec20_09-04-56_r-verytuffcat-test-9ex53m7f-48a73-jj2v9/events.out.tfevents.1734685499.r-verytuffcat-test-9ex53m7f-48a73-jj2v9.135.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c20e94f1360908a73057a778c813dcc5f02347088a13127999011ff988db3736
3
- size 30183
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db61746c1d34488303f6751555271073965633c29da59dc5bda372fed683635c
3
+ size 31170
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71186e191f45233d239a9a82608530cc599b3f536af9c4063c09a453af588e8b
3
+ size 5304
training_params.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "verytuffcat/recaptcha-dataset",
3
+ "model": "google/vit-base-patch16-224",
4
+ "username": "verytuffcat",
5
+ "lr": 5e-05,
6
+ "epochs": 20,
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": "autotrain-crpox-a5nlb",
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
+ }