Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion makemore.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ def get_block_size(self):

def forward(self, idx, targets=None):

# gather the word embeddings of the previous 3 words
# gather the word embeddings of the previous block_size tokens
embs = []
for k in range(self.block_size):
tok_emb = self.wte(idx) # token embeddings of shape (b, t, n_embd)
Expand Down