Download config.yaml from DeepFense/AffectDF_Wav2Vec2_MLP_NoAug_Seed2: direct link, hf CLI and curl.
- Browser
- Download file 1.89 kB
-
https://huggingface.co/DeepFense/AffectDF_Wav2Vec2_MLP_NoAug_Seed2/resolve/main/config.yaml
- Command line
-
hf download hf://DeepFense/AffectDF_Wav2Vec2_MLP_NoAug_Seed2/config.yaml
-
curl -L -o config.yaml https://huggingface.co/DeepFense/AffectDF_Wav2Vec2_MLP_NoAug_Seed2/resolve/main/config.yaml
1.89 kB
| exp_name: AffectDF_XLSR_frozen_MLP_seed2 | |
| output_dir: outputs/AffectDF_Wav2Vec2_MLP_NoAug_Seed2 | |
| seed: 2 | |
| data: | |
| sampling_rate: 16000 | |
| label_map: | |
| bonafide: 1 | |
| spoof: 0 | |
| train: | |
| dataset_type: StandardDataset | |
| dataset_names: | |
| - AffectDF | |
| parquet_files: | |
| - AffectDF/parquets/train.parquet | |
| batch_size: 16 | |
| num_workers: 4 | |
| shuffle: true | |
| base_transform: | |
| - type: pad | |
| max_len: 64600 | |
| random_pad: false | |
| pad_type: repeat | |
| val: | |
| dataset_type: StandardDataset | |
| dataset_names: | |
| - AffectDF | |
| parquet_files: | |
| - AffectDF/parquets/val.parquet | |
| batch_size: 16 | |
| num_workers: 4 | |
| shuffle: false | |
| base_transform: | |
| - type: pad | |
| max_len: 64600 | |
| random_pad: false | |
| pad_type: repeat | |
| test: | |
| dataset_type: StandardDataset | |
| dataset_names: | |
| - AffectDF | |
| parquet_files: | |
| - AffectDF/parquets/test.parquet | |
| batch_size: 16 | |
| num_workers: 4 | |
| shuffle: false | |
| base_transform: | |
| - type: pad | |
| max_len: 64600 | |
| random_pad: false | |
| pad_type: repeat | |
| model: | |
| type: StandardDetector | |
| frontend: | |
| type: wav2vec2 | |
| args: | |
| source: fairseq | |
| freeze: true | |
| ckpt_path: xlsr2_300m.pt | |
| backend: | |
| type: MLP | |
| args: | |
| input_dim: 1024 | |
| projection: | |
| - 256 | |
| - 128 | |
| output_dim: 128 | |
| pool: mean | |
| norm_type: layer | |
| loss: | |
| - type: CrossEntropy | |
| weight: 1.0 | |
| embedding_dim: 128 | |
| n_classes: 2 | |
| class_weights: | |
| - 1.0 | |
| - 1.0 | |
| training: | |
| trainer: StandardTrainer | |
| epochs: 10 | |
| device: cuda | |
| batch_log_interval: 100 | |
| eval_every_epochs: 1 | |
| monitor_metric: EER | |
| monitor_mode: min | |
| early_stopping_patience: 3 | |
| wandb: false | |
| optimizer: | |
| type: adam | |
| lr: 0.0001 | |
| weight_decay: 0.0001 | |
| scheduler: | |
| type: exponential | |
| gamma: 0.9 | |
| metrics: | |
| ACC: {} | |
| EER: {} | |
| output_dir: outputs/AffectDF_Wav2Vec2_MLP_NoAug_Seed2 | |