majorSeaweed commited on
Commit
45b7bbd
·
verified ·
1 Parent(s): ab1a7ab

End of training

Browse files
Files changed (5) hide show
  1. README.md +49 -0
  2. config.json +73 -0
  3. model.safetensors +3 -0
  4. preprocessor_config.json +22 -0
  5. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: SWIN_BASE_PRETRAINED
7
+ results: []
8
+ ---
9
+
10
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
11
+ should probably proofread and complete it, then remove this comment. -->
12
+
13
+ # SWIN_BASE_PRETRAINED
14
+
15
+ This model was trained from scratch on an unknown dataset.
16
+
17
+ ## Model description
18
+
19
+ More information needed
20
+
21
+ ## Intended uses & limitations
22
+
23
+ More information needed
24
+
25
+ ## Training and evaluation data
26
+
27
+ More information needed
28
+
29
+ ## Training procedure
30
+
31
+ ### Training hyperparameters
32
+
33
+ The following hyperparameters were used during training:
34
+ - learning_rate: 8e-05
35
+ - train_batch_size: 32
36
+ - eval_batch_size: 32
37
+ - seed: 42
38
+ - gradient_accumulation_steps: 4
39
+ - total_train_batch_size: 128
40
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
41
+ - lr_scheduler_type: linear
42
+ - num_epochs: 10
43
+
44
+ ### Framework versions
45
+
46
+ - Transformers 4.45.1
47
+ - Pytorch 2.4.0
48
+ - Datasets 3.0.1
49
+ - Tokenizers 0.20.0
config.json ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/kaggle/working/SWIN-base-8epochs",
3
+ "architectures": [
4
+ "Swinv2ForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "depths": [
8
+ 2,
9
+ 2,
10
+ 6,
11
+ 2
12
+ ],
13
+ "drop_path_rate": 0.1,
14
+ "embed_dim": 96,
15
+ "encoder_stride": 32,
16
+ "hidden_act": "gelu",
17
+ "hidden_dropout_prob": 0.0,
18
+ "hidden_size": 768,
19
+ "id2label": {
20
+ "0": 0,
21
+ "1": 1,
22
+ "2": 2,
23
+ "3": 3,
24
+ "4": 4
25
+ },
26
+ "image_size": 256,
27
+ "initializer_range": 0.02,
28
+ "label2id": {
29
+ "0": "0",
30
+ "1": "1",
31
+ "2": "2",
32
+ "3": "3",
33
+ "4": "4"
34
+ },
35
+ "layer_norm_eps": 1e-05,
36
+ "mlp_ratio": 4.0,
37
+ "model_type": "swinv2",
38
+ "num_channels": 3,
39
+ "num_heads": [
40
+ 3,
41
+ 6,
42
+ 12,
43
+ 24
44
+ ],
45
+ "num_layers": 4,
46
+ "out_features": [
47
+ "stage4"
48
+ ],
49
+ "out_indices": [
50
+ 4
51
+ ],
52
+ "patch_size": 4,
53
+ "path_norm": true,
54
+ "pretrained_window_sizes": [
55
+ 0,
56
+ 0,
57
+ 0,
58
+ 0
59
+ ],
60
+ "problem_type": "single_label_classification",
61
+ "qkv_bias": true,
62
+ "stage_names": [
63
+ "stem",
64
+ "stage1",
65
+ "stage2",
66
+ "stage3",
67
+ "stage4"
68
+ ],
69
+ "torch_dtype": "float32",
70
+ "transformers_version": "4.45.1",
71
+ "use_absolute_embeddings": false,
72
+ "window_size": 16
73
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a00265ceef6e4d5b4852cc51a9a7f431eda1f91a8fc092a078bd4a8f65bcaeb1
3
+ size 110359372
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": "ViTFeatureExtractor",
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": 256,
20
+ "width": 256
21
+ }
22
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:838052e1e327c22f30734d058859e4e2cff32c241983ed986547c905330e9c98
3
+ size 5240