geshijoker commited on
Commit
120132a
1 Parent(s): dab0e23

vit-base-patch16-224-in21k-AdaLora

Browse files
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-AdaLora
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-AdaLora
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
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.3684
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 0.005
39
+ - train_batch_size: 256
40
+ - eval_batch_size: 256
41
+ - seed: 42
42
+ - gradient_accumulation_steps: 4
43
+ - total_train_batch_size: 1024
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 5
47
+ - mixed_precision_training: Native AMP
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss |
52
+ |:-------------:|:-----:|:----:|:---------------:|
53
+ | 0.8653 | 1.0 | 74 | 0.4922 |
54
+ | 0.7453 | 2.0 | 148 | 0.4185 |
55
+ | 0.6864 | 3.0 | 222 | 0.3936 |
56
+ | 0.6402 | 4.0 | 296 | 0.3748 |
57
+ | 0.6194 | 5.0 | 370 | 0.3684 |
58
+
59
+
60
+ ### Framework versions
61
+
62
+ - PEFT 0.11.1
63
+ - Transformers 4.43.4
64
+ - Pytorch 2.2.1+cu118
65
+ - Datasets 2.21.0
66
+ - Tokenizers 0.19.1
adapter_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": {
4
+ "base_model_class": "PeftModel",
5
+ "parent_library": "peft.peft_model"
6
+ },
7
+ "base_model_name_or_path": null,
8
+ "beta1": 0.85,
9
+ "beta2": 0.85,
10
+ "bias": "none",
11
+ "deltaT": 10,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "init_r": 12,
16
+ "layer_replication": null,
17
+ "layers_pattern": null,
18
+ "layers_to_transform": null,
19
+ "loftq_config": {},
20
+ "lora_alpha": 8,
21
+ "lora_dropout": 0.0,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": [
25
+ "classifier"
26
+ ],
27
+ "orth_reg_weight": 0.5,
28
+ "peft_type": "ADALORA",
29
+ "r": 8,
30
+ "rank_pattern": null,
31
+ "revision": null,
32
+ "target_modules": [
33
+ "query",
34
+ "value"
35
+ ],
36
+ "target_r": 8,
37
+ "task_type": null,
38
+ "tfinal": 1000,
39
+ "tinit": 200,
40
+ "total_step": null,
41
+ "use_dora": false,
42
+ "use_rslora": false
43
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25d426ee5b04f14987b77651a005fa1cbd79900279533645a5e1f64f19ce8fcd
3
+ size 2092636
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/Sep06_11-15-25_cajal/events.out.tfevents.1725646528.cajal.58195.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68545b2aa6ba20962af923aab23e0921451bd5d2b089e355a47476d5e0a4f822
3
+ size 16552
runs/Sep06_11-53-40_cajal/events.out.tfevents.1725648822.cajal.80564.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49f44f3f0b23ae7ce0d07630f523a6ce9366c9c0822b7c69fb5486a116a81184
3
+ size 19136
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:172824942d5e327bf36647cd9e915c1ecce99a1221a6c7ab738d794ed51d14bf
3
+ size 5240