Skip to content

Commit

Permalink
change experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
Yiwen Yuan committed Nov 17, 2024
1 parent 1845d1b commit 5ba7bc4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Binary file added convergence_curve_contextgnn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added convergence_curve_idgnn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added convergence_curve_shallowrhsgnn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/.relbench_example.py.swp
Binary file not shown.
10 changes: 5 additions & 5 deletions examples/contextgnn_sample_softmax.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@
from contextgnn.utils import GloveTextEmbedding, RHSEmbeddingMode

parser = argparse.ArgumentParser()
parser.add_argument("--dataset", type=str, default="rel-trial")
parser.add_argument("--task", type=str, default="site-sponsor-run")
parser.add_argument("--dataset", type=str, default="rel-amazon")
parser.add_argument("--task", type=str, default="user-item-purchase")
parser.add_argument("--lr", type=float, default=0.001)
parser.add_argument("--epochs", type=int, default=20)
parser.add_argument("--eval_epochs_interval", type=int, default=1)
parser.add_argument("--batch_size", type=int, default=512)
parser.add_argument("--channels", type=int, default=128)
parser.add_argument("--aggr", type=str, default="sum")
parser.add_argument("--num_layers", type=int, default=4)
parser.add_argument("--num_neighbors", type=int, default=128)
parser.add_argument("--num_layers", type=int, default=6)
parser.add_argument("--num_neighbors", type=int, default=64)
parser.add_argument("--temporal_strategy", type=str, default="last")
parser.add_argument("--max_steps_per_epoch", type=int, default=2000)
parser.add_argument("--num_workers", type=int, default=0)
Expand Down Expand Up @@ -121,7 +121,7 @@
torch_frame_model_kwargs={
"channels": 128,
"num_layers": 4,
}, rhs_sample_size=100).to(device)
}, rhs_sample_size=1000).to(device)

optimizer = torch.optim.Adam(model.parameters(), lr=args.lr)

Expand Down

0 comments on commit 5ba7bc4

Please sign in to comment.