01Yassine commited on
Commit
ffe4646
·
verified ·
1 Parent(s): 1e03f88

Upload config.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.yaml +68 -0
config.yaml ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ exp_name: wavlm_TCM_NoAug_seed2
2
+ output_dir: ./outputs/batch1/
3
+ seed: 2
4
+ data:
5
+ sampling_rate: 16000
6
+ label_map:
7
+ bonafide: 1
8
+ spoof: 0
9
+ train:
10
+ dataset_type: StandardDataset
11
+ parquet_files:
12
+ - /netscratch/yelkheir/DeepFense/DeepFense/deepfense/config/parquets/asvspoof19_train.parquet
13
+ dataset_names:
14
+ - ASVSpoof19_Train
15
+ batch_size: 32
16
+ shuffle: true
17
+ num_workers: 4
18
+ base_transform:
19
+ - type: pad
20
+ max_len: 64000
21
+ random_pad: true
22
+ pad_type: repeat
23
+ augment_transform: []
24
+ val:
25
+ dataset_type: StandardDataset
26
+ parquet_files:
27
+ - /netscratch/yelkheir/DeepFense/DeepFense/deepfense/config/parquets/asvspoof19_val.parquet
28
+ dataset_names:
29
+ - ASVSpoof19_Val
30
+ batch_size: 32
31
+ shuffle: false
32
+ num_workers: 4
33
+ base_transform:
34
+ - type: pad
35
+ max_len: 64000
36
+ pad_type: repeat
37
+ model:
38
+ type: StandardDetector
39
+ frontend:
40
+ type: wavlm
41
+ args:
42
+ ckpt_path: /netscratch/yelkheir/ssl_models/WavLM-Large.pt
43
+ freeze: false
44
+ source: unil
45
+ backend:
46
+ type: TCM
47
+ args:
48
+ emb_size: 128
49
+ heads: 4
50
+ num_encoders: 1
51
+ loss:
52
+ - type: CrossEntropy
53
+ embedding_dim: 128
54
+ n_classes: 2
55
+ weight: 1.0
56
+ training:
57
+ trainer: StandardTrainer
58
+ epochs: 100
59
+ early_stopping_patience: 7
60
+ optimizer:
61
+ type: adam
62
+ lr: 1.0e-06
63
+ metrics:
64
+ ACC: {}
65
+ EER: {}
66
+ eval_every_epochs: 1
67
+ device: cuda
68
+ output_dir: ./outputs/batch1/wavlm_TCM_NoAug_seed2_20260129_092943