Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 21, 2024
1 parent 48788cd commit c64c705
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 c64c705

Please sign in to comment.