Model save
Browse files- README.md +92 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/vit-base-patch16-224-in21k
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
- f1
|
11 |
+
- precision
|
12 |
+
- recall
|
13 |
+
model-index:
|
14 |
+
- name: VIT-ASVspoof5-Mel_Spectrogram-Synthetic-Voice-Detection
|
15 |
+
results:
|
16 |
+
- task:
|
17 |
+
name: Image Classification
|
18 |
+
type: image-classification
|
19 |
+
dataset:
|
20 |
+
name: imagefolder
|
21 |
+
type: imagefolder
|
22 |
+
config: default
|
23 |
+
split: validation
|
24 |
+
args: default
|
25 |
+
metrics:
|
26 |
+
- name: Accuracy
|
27 |
+
type: accuracy
|
28 |
+
value: 0.7633416105001773
|
29 |
+
- name: F1
|
30 |
+
type: f1
|
31 |
+
value: 0.8263822744093812
|
32 |
+
- name: Precision
|
33 |
+
type: precision
|
34 |
+
value: 0.9621029413546957
|
35 |
+
- name: Recall
|
36 |
+
type: recall
|
37 |
+
value: 0.7242190921033426
|
38 |
+
---
|
39 |
+
|
40 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
41 |
+
should probably proofread and complete it, then remove this comment. -->
|
42 |
+
|
43 |
+
# VIT-ASVspoof5-Mel_Spectrogram-Synthetic-Voice-Detection
|
44 |
+
|
45 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the imagefolder dataset.
|
46 |
+
It achieves the following results on the evaluation set:
|
47 |
+
- Loss: 2.0728
|
48 |
+
- Accuracy: 0.7633
|
49 |
+
- F1: 0.8264
|
50 |
+
- Precision: 0.9621
|
51 |
+
- Recall: 0.7242
|
52 |
+
|
53 |
+
## Model description
|
54 |
+
|
55 |
+
More information needed
|
56 |
+
|
57 |
+
## Intended uses & limitations
|
58 |
+
|
59 |
+
More information needed
|
60 |
+
|
61 |
+
## Training and evaluation data
|
62 |
+
|
63 |
+
More information needed
|
64 |
+
|
65 |
+
## Training procedure
|
66 |
+
|
67 |
+
### Training hyperparameters
|
68 |
+
|
69 |
+
The following hyperparameters were used during training:
|
70 |
+
- learning_rate: 5e-05
|
71 |
+
- train_batch_size: 8
|
72 |
+
- eval_batch_size: 8
|
73 |
+
- seed: 42
|
74 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
75 |
+
- lr_scheduler_type: linear
|
76 |
+
- num_epochs: 3.0
|
77 |
+
|
78 |
+
### Training results
|
79 |
+
|
80 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
81 |
+
|:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|:---------:|:------:|
|
82 |
+
| 0.0047 | 1.0 | 22795 | 0.9664 | 0.8373 | 0.8919 | 0.9221 | 0.8637 |
|
83 |
+
| 0.0064 | 2.0 | 45590 | 1.6013 | 0.7830 | 0.8421 | 0.9701 | 0.7439 |
|
84 |
+
| 0.0 | 3.0 | 68385 | 2.0728 | 0.7633 | 0.8264 | 0.9621 | 0.7242 |
|
85 |
+
|
86 |
+
|
87 |
+
### Framework versions
|
88 |
+
|
89 |
+
- Transformers 4.44.0
|
90 |
+
- Pytorch 2.4.0+cu124
|
91 |
+
- Datasets 2.21.0
|
92 |
+
- Tokenizers 0.19.1
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343223968
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6fb87ac88613ff771ae1d3421c5ba4be2467a74520e286391d6ef06c033b5485
|
3 |
size 343223968
|