Model save
Browse files
README.md
CHANGED
@@ -1,14 +1,9 @@
|
|
1 |
---
|
2 |
-
library_name:
|
3 |
license: apache-2.0
|
4 |
base_model: facebook/dinov2-small
|
5 |
tags:
|
6 |
- generated_from_trainer
|
7 |
-
metrics:
|
8 |
-
- accuracy
|
9 |
-
- f1
|
10 |
-
- recall
|
11 |
-
- precision
|
12 |
model-index:
|
13 |
- name: dinov2_LoRA_Liveness_detection_v1.0
|
14 |
results: []
|
@@ -17,21 +12,10 @@ model-index:
|
|
17 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
18 |
should probably proofread and complete it, then remove this comment. -->
|
19 |
|
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/nguyenkhoaht002/liveness_detection/runs/
|
21 |
-
[<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/nguyenkhoaht002/liveness_detection/runs/isfrd6lh)
|
22 |
-
[<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/nguyenkhoaht002/liveness_detection/runs/isfrd6lh)
|
23 |
-
[<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/nguyenkhoaht002/liveness_detection/runs/isfrd6lh)
|
24 |
-
[<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/nguyenkhoaht002/liveness_detection/runs/isfrd6lh)
|
25 |
-
[<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/nguyenkhoaht002/liveness_detection/runs/isfrd6lh)
|
26 |
# dinov2_LoRA_Liveness_detection_v1.0
|
27 |
|
28 |
This model is a fine-tuned version of [facebook/dinov2-small](https://huggingface.co/facebook/dinov2-small) on an unknown dataset.
|
29 |
-
It achieves the following results on the evaluation set:
|
30 |
-
- Loss: 0.5907
|
31 |
-
- Accuracy: 0.73
|
32 |
-
- F1: 0.6161
|
33 |
-
- Recall: 0.73
|
34 |
-
- Precision: 1.0
|
35 |
|
36 |
## Model description
|
37 |
|
@@ -51,7 +35,7 @@ More information needed
|
|
51 |
|
52 |
The following hyperparameters were used during training:
|
53 |
- learning_rate: 5e-05
|
54 |
-
- train_batch_size:
|
55 |
- eval_batch_size: 8
|
56 |
- seed: 42
|
57 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
@@ -59,20 +43,10 @@ The following hyperparameters were used during training:
|
|
59 |
- num_epochs: 3
|
60 |
- mixed_precision_training: Native AMP
|
61 |
|
62 |
-
### Training results
|
63 |
-
|
64 |
-
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Recall | Precision |
|
65 |
-
|:-------------:|:------:|:----:|:---------------:|:--------:|:------:|:------:|:---------:|
|
66 |
-
| No log | 0.5714 | 4 | 0.9313 | 0.73 | 0.6161 | 0.73 | 1.0 |
|
67 |
-
| No log | 1.1429 | 8 | 0.8139 | 0.73 | 0.6161 | 0.73 | 1.0 |
|
68 |
-
| No log | 1.7143 | 12 | 1.0522 | 0.73 | 0.6161 | 0.73 | 1.0 |
|
69 |
-
| 1.5763 | 2.2857 | 16 | 0.8668 | 0.285 | 0.1614 | 0.285 | 0.9305 |
|
70 |
-
| 1.5763 | 2.8571 | 20 | 0.5907 | 0.73 | 0.6161 | 0.73 | 1.0 |
|
71 |
-
|
72 |
-
|
73 |
### Framework versions
|
74 |
|
|
|
75 |
- Transformers 4.44.2
|
76 |
- Pytorch 2.4.1+cu121
|
77 |
- Datasets 3.2.0
|
78 |
-
- Tokenizers 0.19.1
|
|
|
1 |
---
|
2 |
+
library_name: peft
|
3 |
license: apache-2.0
|
4 |
base_model: facebook/dinov2-small
|
5 |
tags:
|
6 |
- generated_from_trainer
|
|
|
|
|
|
|
|
|
|
|
7 |
model-index:
|
8 |
- name: dinov2_LoRA_Liveness_detection_v1.0
|
9 |
results: []
|
|
|
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/nguyenkhoaht002/liveness_detection/runs/qt5odc7e)
|
|
|
|
|
|
|
|
|
|
|
16 |
# dinov2_LoRA_Liveness_detection_v1.0
|
17 |
|
18 |
This model is a fine-tuned version of [facebook/dinov2-small](https://huggingface.co/facebook/dinov2-small) on an unknown dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
## Model description
|
21 |
|
|
|
35 |
|
36 |
The following hyperparameters were used during training:
|
37 |
- learning_rate: 5e-05
|
38 |
+
- train_batch_size: 512
|
39 |
- eval_batch_size: 8
|
40 |
- seed: 42
|
41 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
|
|
43 |
- num_epochs: 3
|
44 |
- mixed_precision_training: Native AMP
|
45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
### Framework versions
|
47 |
|
48 |
+
- PEFT 0.14.0
|
49 |
- Transformers 4.44.2
|
50 |
- Pytorch 2.4.1+cu121
|
51 |
- Datasets 3.2.0
|
52 |
+
- Tokenizers 0.19.1
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2532144
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d741fa5b325c31456a67fbc99513b20e469b440ccc6e445be2b4e9616387a155
|
3 |
size 2532144
|
runs/Jan09_04-06-41_62153c384782/events.out.tfevents.1736395604.62153c384782.21.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:836a38a276536f04cace3f8b1ccad7ebc088642697f07dbc887f838bbd68a822
|
3 |
+
size 15592
|