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 f239d76 commit 948c61f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/nanogpt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def generate(self, idx, max_new_tokens):

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

@gtView
Expand Down

0 comments on commit 948c61f

Please sign in to comment.