Update
authorFrançois Fleuret <francois@fleuret.org>
Tue, 14 Mar 2023 20:05:11 +0000 (21:05 +0100)
committerFrançois Fleuret <francois@fleuret.org>
Tue, 14 Mar 2023 20:05:11 +0000 (21:05 +0100)
beaver.py

index 1408f0b..54510f0 100755 (executable)
--- a/beaver.py
+++ b/beaver.py
@@ -175,7 +175,7 @@ def one_shot(gpt, task):
     model = nn.Sequential(
         nn.Linear(args.dim_model, args.dim_model),
         nn.ReLU(),
-        nn.Linear(args.dim_model, 4)
+        nn.Linear(args.dim_model, 4),
     ).to(device)
 
     for n_epoch in range(args.nb_epochs):