edwjin commited on
Commit
682dff9
·
verified ·
1 Parent(s): bd071f2

Update transformer.py

Browse files
Files changed (1) hide show
  1. transformer.py +1 -1
transformer.py CHANGED
@@ -5,7 +5,7 @@ import torch.nn as nn
5
  from torch.nn import functional as F
6
  import math
7
 
8
- from constants import n_head, n_embd, n_layer, n_hidden, feed_forward, n_output
9
 
10
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
11
 
 
5
  from torch.nn import functional as F
6
  import math
7
 
8
+ from constants import n_head, n_embd, n_layer, n_hidden, feed_forward, n_output, block_size
9
 
10
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
11