Skip to content

Commit

Permalink
fix typo in nanogpt python code
Browse files Browse the repository at this point in the history
  • Loading branch information
hellerve committed Aug 27, 2024
1 parent 948c61f commit fde5686
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/nanogpt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ def generate(self, idx, max_new_tokens):

@dataclass
class TrainingContext:
model = nn.Module
context = torch.Tensor
model: nn.Module
context: torch.Tensor

@gtView
def gt_view_children(self, builder):
Expand Down

0 comments on commit fde5686

Please sign in to comment.