geshijoker commited on
Commit
607c7ce
·
verified ·
1 Parent(s): 576a645

vit-base-patch16-224-in21k-loHa

Browse files
README.md ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: google/vit-base-patch16-224-in21k
3
+ library_name: peft
4
+ license: apache-2.0
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: vit-base-patch16-224-in21k-loHa
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # vit-base-patch16-224-in21k-loHa
16
+
17
+ This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on an unknown dataset.
18
+
19
+ ## Model description
20
+
21
+ More information needed
22
+
23
+ ## Intended uses & limitations
24
+
25
+ More information needed
26
+
27
+ ## Training and evaluation data
28
+
29
+ More information needed
30
+
31
+ ## Training procedure
32
+
33
+ ### Training hyperparameters
34
+
35
+ The following hyperparameters were used during training:
36
+ - learning_rate: 0.005
37
+ - train_batch_size: 256
38
+ - eval_batch_size: 256
39
+ - seed: 42
40
+ - gradient_accumulation_steps: 4
41
+ - total_train_batch_size: 1024
42
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
43
+ - lr_scheduler_type: linear
44
+ - num_epochs: 5
45
+ - mixed_precision_training: Native AMP
46
+
47
+ ### Framework versions
48
+
49
+ - PEFT 0.11.1
50
+ - Transformers 4.43.4
51
+ - Pytorch 2.2.1+cu118
52
+ - Datasets 2.21.0
53
+ - Tokenizers 0.19.1
adapter_config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha": 16,
3
+ "alpha_pattern": {},
4
+ "auto_mapping": {
5
+ "base_model_class": "ViTForImageClassification",
6
+ "parent_library": "transformers.models.vit.modeling_vit"
7
+ },
8
+ "base_model_name_or_path": "google/vit-base-patch16-224-in21k",
9
+ "inference_mode": true,
10
+ "init_weights": true,
11
+ "layers_pattern": null,
12
+ "layers_to_transform": null,
13
+ "module_dropout": 0.1,
14
+ "modules_to_save": [
15
+ "classifier"
16
+ ],
17
+ "peft_type": "LOHA",
18
+ "r": 16,
19
+ "rank_dropout": 0.0,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "query",
24
+ "value"
25
+ ],
26
+ "task_type": null,
27
+ "use_effective_conv2d": false
28
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e99142b43b0c4b2f9bbb912cca732abaa83acc712750ca9ea9620830f56500f
3
+ size 5043020
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
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76afb12731d528c0a0e47707c9f37f863b630d72689a4c4b841691a051dc28df
3
+ size 5240