Skip to content

Commit

Permalink
Update gptlite.py
Browse files Browse the repository at this point in the history
  • Loading branch information
brunomaga authored Oct 12, 2023
1 parent 38a5b70 commit ccdadf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/GPT-lite/gptlite.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def get_batch(source):

class Head(nn.Module):

def __init__(self, head_size=16):
def __init__(self, head_size):
super().__init__()
self.key = nn.Linear(n_embd, head_size, bias=False)
self.query = nn.Linear(n_embd, head_size, bias=False)
Expand Down

0 comments on commit ccdadf5

Please sign in to comment.