projects
/
picoclvr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d95b9b7
)
Update.
author
François Fleuret
<francois@fleuret.org>
Fri, 14 Jun 2024 09:34:41 +0000
(11:34 +0200)
committer
François Fleuret
<francois@fleuret.org>
Fri, 14 Jun 2024 09:34:41 +0000
(11:34 +0200)
main.py
patch
|
blob
|
history
diff --git
a/main.py
b/main.py
index
37515b5
..
3ff64b7
100755
(executable)
--- a/
main.py
+++ b/
main.py
@@
-844,7
+844,7
@@
for n_epoch in range(nb_epochs_finished, args.nb_epochs):
input = input.to(device)
bs = model(mygpt.BracketedSequence(input))
- output
_ar
= bs.x
+ output = bs.x
loss = F.cross_entropy(output.transpose(1, 2), input)