Download Simulation2/default.yaml from GAO612/SAMI: direct link, hf CLI and curl.
- Browser
- Download file 2.08 kB
-
https://huggingface.co/datasets/GAO612/SAMI/resolve/main/Simulation2/default.yaml
- Command line
-
hf download hf://datasets/GAO612/SAMI/Simulation2/default.yaml
-
curl -L -o default.yaml https://huggingface.co/datasets/GAO612/SAMI/resolve/main/Simulation2/default.yaml
2.08 kB
| seed: 42 | |
| data: | |
| train_dir: "./sami/Simulation2/processed_simulation2.h5ad" | |
| val_dir: "" | |
| infer_dir: "./data/infer" | |
| file_pattern: "*.h5ad" | |
| omics1_obsm_key: "rna_feat_pca" | |
| omics2_obsm_key: "protein_feat" | |
| omics1_target_obsm_key: "rna_feat_pca" | |
| omics2_target_obsm_key: "protein_feat" | |
| batch_size: 1 | |
| num_workers: 0 | |
| pin_memory: false | |
| model: | |
| branch_mode: "multimodal_fusion" # Options: "omics1", "omics2", "multimodal_fusion" | |
| hidden_dim: 64 | |
| omics1_in_dim: 50 | |
| omics2_in_dim: 100 | |
| omics1_target_dim: 50 | |
| omics2_target_dim: 100 | |
| omics1_encoder: | |
| feature_adapter: | |
| adapter_type: "mlp_bottleneck" | |
| adapter_dim: 64 | |
| dropout: 0.1 | |
| force_linear: false | |
| omics1_augmentation: | |
| enabled: false | |
| alpha: 0.5 | |
| omics2_encoder: | |
| adapter_type: "mlp_bottleneck" | |
| adapter_dim: 64 | |
| dropout: 0.1 | |
| force_linear: false | |
| graph: | |
| top_k: 6 | |
| symmetrize: true | |
| add_self_loops: false | |
| chunk_size: 512 | |
| graph_backbone: | |
| omics1: | |
| type: "pointnext" | |
| use_layer_transformer: true | |
| omics2: | |
| type: "pointnext" | |
| use_layer_transformer: true | |
| pointnext: | |
| expansion: 4 | |
| dropout: 0.1 | |
| max_neighbors: null | |
| pooling: "mean" | |
| cross_modal_attention: | |
| num_heads: 4 | |
| dropout: 0.1 | |
| gat: | |
| num_layers: 3 | |
| omics1_num_layers: 3 | |
| omics2_num_layers: 3 | |
| num_heads: 4 | |
| dropout: 0.1 | |
| leaky_relu_negative_slope: 0.2 | |
| layer_transformer: | |
| num_heads: 4 | |
| ff_dim: 256 | |
| dropout: 0.1 | |
| pooling: "mean" | |
| fusion: | |
| mlp_hidden_dim: 256 | |
| dropout: 0.1 | |
| train: | |
| device: "cuda" | |
| epochs: 100 | |
| lr: 1.0e-3 | |
| weight_decay: 1.0e-4 | |
| grad_clip_norm: 5.0 | |
| amp: false | |
| log_interval: 10 | |
| output_dir: "./outputs" | |
| save_every: 20 | |
| loss: | |
| lambda_omics1: 10.0 | |
| lambda_omics2: 10.0 | |
| lambda_contrastive: 0.5 | |
| lambda_consistency: 1.0 | |
| contrastive: | |
| use_symmetric_loss: false | |
| consistency: | |
| temperature: 0.1 | |
| projector_hidden_dim: 128 | |
| projector_out_dim: 64 | |
| infer: | |
| checkpoint_path: "" | |
| output_path: "./outputs/infer_embeddings.pt" | |
| save_reconstruction: false | |