Skip to content

Commit

Permalink
training time
Browse files Browse the repository at this point in the history
  • Loading branch information
puririshi98 committed Oct 1, 2024
1 parent b160381 commit 6846130
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/llm/ogbg_code2.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
def get_loss_ogbg(model, batch, **kwargs) -> torch.Tensor:
questions = [master_prompt for i in range(len(batch.y))]
labels = ['|'.join(label) for label in batch.y]
print("batch.desc=", batch.desc)
return model(questions, batch.x.to(torch.float), batch.edge_index,
batch.batch, labels, batch.edge_attr, batch.desc)

Expand Down

0 comments on commit 6846130

Please sign in to comment.