01Yassine commited on
Commit
dfdce39
·
verified ·
1 Parent(s): 4f6ef54

Upload config.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.yaml +67 -0
config.yaml ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ exp_name: FakeMusicCaps_eat_MLP_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: MLP
45
+ args:
46
+ input_dim: 1024
47
+ projection:
48
+ - 128
49
+ pooling_type: mean
50
+ loss:
51
+ - type: CrossEntropy
52
+ embedding_dim: 128
53
+ n_classes: 2
54
+ weight: 1.0
55
+ training:
56
+ trainer: StandardTrainer
57
+ epochs: 100
58
+ early_stopping_patience: 7
59
+ optimizer:
60
+ type: adam
61
+ lr: 1.0e-06
62
+ metrics:
63
+ ACC: {}
64
+ EER: {}
65
+ eval_every_epochs: 1
66
+ device: cuda
67
+ output_dir: ./outputs/FakeMusicCaps/FakeMusicCaps_eat_MLP_NoAug_seed240_20260122_010941