Model save
Browse files- README.md +6 -25
- adapter_model.safetensors +1 -1
README.md
CHANGED
@@ -2,8 +2,6 @@
|
|
2 |
base_model: google/vit-base-patch16-224-in21k
|
3 |
library_name: peft
|
4 |
license: apache-2.0
|
5 |
-
metrics:
|
6 |
-
- accuracy
|
7 |
tags:
|
8 |
- generated_from_trainer
|
9 |
model-index:
|
@@ -14,16 +12,11 @@ model-index:
|
|
14 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
should probably proofread and complete it, then remove this comment. -->
|
16 |
|
17 |
-
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/sajjadi/Fast-PEFT/runs/
|
18 |
-
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/sajjadi/Fast-PEFT/runs/
|
19 |
-
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/sajjadi/Fast-PEFT/runs/96k6jbqw)
|
20 |
-
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/sajjadi/Fast-PEFT/runs/96k6jbqw)
|
21 |
# vit-base-patch16-224-in21k-lora
|
22 |
|
23 |
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.
|
24 |
-
It achieves the following results on the evaluation set:
|
25 |
-
- Loss: 2.8427
|
26 |
-
- Accuracy: 0.8389
|
27 |
|
28 |
## Model description
|
29 |
|
@@ -42,29 +35,17 @@ More information needed
|
|
42 |
### Training hyperparameters
|
43 |
|
44 |
The following hyperparameters were used during training:
|
45 |
-
- learning_rate: 0.
|
46 |
- train_batch_size: 256
|
47 |
- eval_batch_size: 256
|
48 |
- seed: 42
|
49 |
-
- gradient_accumulation_steps:
|
50 |
-
- total_train_batch_size:
|
51 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
52 |
- lr_scheduler_type: linear
|
53 |
-
- num_epochs:
|
54 |
- mixed_precision_training: Native AMP
|
55 |
|
56 |
-
### Training results
|
57 |
-
|
58 |
-
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
59 |
-
|:-------------:|:------:|:----:|:---------------:|:--------:|
|
60 |
-
| 4.6217 | 0.5102 | 1 | 4.3498 | 0.4605 |
|
61 |
-
| 4.1682 | 1.5306 | 3 | 3.8653 | 0.7667 |
|
62 |
-
| 3.7481 | 2.5510 | 5 | 3.4273 | 0.8061 |
|
63 |
-
| 3.3953 | 3.5714 | 7 | 3.0890 | 0.8274 |
|
64 |
-
| 3.1465 | 4.5918 | 9 | 2.8856 | 0.838 |
|
65 |
-
| 3.0693 | 5.1020 | 10 | 2.8427 | 0.8389 |
|
66 |
-
|
67 |
-
|
68 |
### Framework versions
|
69 |
|
70 |
- PEFT 0.13.0
|
|
|
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:
|
|
|
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 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/sajjadi/Fast-PEFT/runs/a5xjqfdt)
|
16 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/sajjadi/Fast-PEFT/runs/a5xjqfdt)
|
|
|
|
|
17 |
# vit-base-patch16-224-in21k-lora
|
18 |
|
19 |
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.
|
|
|
|
|
|
|
20 |
|
21 |
## Model description
|
22 |
|
|
|
35 |
### Training hyperparameters
|
36 |
|
37 |
The following hyperparameters were used during training:
|
38 |
+
- learning_rate: 0.002
|
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: 100
|
47 |
- mixed_precision_training: Native AMP
|
48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
### Framework versions
|
50 |
|
51 |
- PEFT 0.13.0
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 606152
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e9e124abed4fdc44e093604e58d24117cfe0ef3391f8329420124b6edb56b8bd
|
3 |
size 606152
|