Skip to content

Commit

Permalink
address #2
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Oct 13, 2024
1 parent a1eea5d commit a79389b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nGPT_pytorch/nGPT.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ def forward(
mask = None,
return_loss = False
):
token_embed, l2norm = self.token_embed.weight, self.l2norm
token_embed = self.token_embed.weight

if return_loss:
assert self.causal
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "nGPT-pytorch"
version = "0.1.6"
version = "0.1.7"
description = "nGPT"
authors = [
{ name = "Phil Wang", email = "[email protected]" }
Expand Down

0 comments on commit a79389b

Please sign in to comment.