Skip to content

Commit

Permalink
manual edits
Browse files Browse the repository at this point in the history
  • Loading branch information
riship committed Dec 21, 2024
1 parent b51e8bb commit 48788cd
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions examples/llm/g_retriever.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,14 +185,14 @@ def inference_step(model, batch, model_save_name):


def train(
num_epochs, # Total number of training epochs
hidden_channels, # Number of hidden channels in GNN
num_gnn_layers, # Number of GNN layers
batch_size, # Training batch size
eval_batch_size, # Evaluation batch size
lr, # Initial learning rate
checkpointing=False, # Whether to checkpoint model
tiny_llama=False, # Whether to use tiny LLaMA model
num_epochs, # Total number of training epochs
hidden_channels, # Number of hidden channels in GNN
num_gnn_layers, # Number of GNN layers
batch_size, # Training batch size
eval_batch_size, # Evaluation batch size
lr, # Initial learning rate
checkpointing=False, # Whether to checkpoint model
tiny_llama=False, # Whether to use tiny LLaMA model
):
"""Train a GNN+LLM model on WebQSP dataset.
Expand Down

0 comments on commit 48788cd

Please sign in to comment.