projects
/
culture.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update.
[culture.git]
/
mygpt.py
diff --git
a/mygpt.py
b/mygpt.py
index
5ea4668
..
b4446c6
100755
(executable)
--- a/
mygpt.py
+++ b/
mygpt.py
@@
-197,7
+197,6
@@
class MyGPT(nn.Module):
dropout=0.0,
len_max=1e5,
):
-
super().__init__()
assert dim_model % nb_heads == 0
@@
-258,7
+257,6
@@
class MyGPT(nn.Module):
######################################################################
if __name__ == "__main__":
-
print("Basic check.")
vocabulary_size = 10