Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xnuohz committed Jan 7, 2025
1 parent 74f2bb9 commit 502659a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion torch_geometric/datasets/tag_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ def token(self) -> Dict[str, Tensor]:
@property
def llm_explanation_token(self) -> Dict[str, Tensor]:
if self._llm_explanation_token is None: # lazy load
self._llm_explanation_token = self.tokenize_graph()
self._llm_explanation_token = self.tokenize_graph(
text_type='llm_explanation')
return self._llm_explanation_token

# load is_gold after init
Expand Down

0 comments on commit 502659a

Please sign in to comment.