Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add missing train_cli.sh (fix #185) #193

Merged
merged 1 commit into from
May 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
fairseq-train --user-dir ./graphormer --ddp-backend legacy_ddp --task graph_diffusion \
--criterion difussion_loss --arch graphormer_diff_base \
--data-path ./dataset/16sys_db \
--num-workers 1 \
--optimizer adam --adam-betas '(0.9, 0.98)' \
--lr 0 --weight-decay 1e-3 \
--clip-norm 10.0 \
--lr-scheduler polynomial_decay \
--max-epoch 1 \
--warmup-updates 1000 --total-num-update 10000 \
--batch-size 16 \
--train-subset 'placeholder' \
--valid-subset 'test_md' \
--validate-interval 1 \
--save-interval 5 \
--num-diffusion-timesteps 500 \
--diffusion-sampling 'ddpm' \
--ddim-steps 500 \
--diffusion-beta-schedule 'sigmoid' \
--diffusion-layer-add-time-emb \
--diffusion-layer-proj-time-emb \
--diffusion-beta-end 0.02 \
--ema-decay 0.9999 --store-ema --uses-ema --ema-fp32 \
--prior-distribution-std 1 \
--pairwise-loss \
--num-epsilon-estimator 1 \
--test-mode \
--finetune-from-model saved_checkpoints/checkpoint_prolig.pt