01Yassine commited on
Commit
36e2a8c
·
verified ·
1 Parent(s): 1ee3f21

Upload config.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.yaml +66 -0
config.yaml ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ exp_name: FakeMusicCaps_eat_TCM_NoAug_seed240
2
+ output_dir: ./outputs/FakeMusicCaps/
3
+ seed: 240
4
+ data:
5
+ target_sr: 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/FakeMusicCaps/fakemusiccaps_train.parquet
13
+ dataset_names:
14
+ - FakeMusicCaps_Train
15
+ batch_size: 16
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/FakeMusicCaps/fakemusiccaps_dev.parquet
28
+ dataset_names:
29
+ - FakeMusicCaps_Dev
30
+ batch_size: 16
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: eat
41
+ args:
42
+ source: huggingface
43
+ backend:
44
+ type: TCM
45
+ args:
46
+ emb_size: 128
47
+ heads: 4
48
+ num_encoders: 1
49
+ loss:
50
+ - type: CrossEntropy
51
+ embedding_dim: 128
52
+ n_classes: 2
53
+ weight: 1.0
54
+ training:
55
+ trainer: StandardTrainer
56
+ epochs: 100
57
+ early_stopping_patience: 7
58
+ optimizer:
59
+ type: adam
60
+ lr: 1.0e-06
61
+ metrics:
62
+ ACC: {}
63
+ EER: {}
64
+ eval_every_epochs: 1
65
+ device: cuda
66
+ output_dir: ./outputs/FakeMusicCaps/FakeMusicCaps_eat_TCM_NoAug_seed240_20260121_222938