pro-grammer commited on
Commit
953c93e
·
verified ·
1 Parent(s): 8154e9b

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +1 -0
model.py CHANGED
@@ -1,4 +1,5 @@
1
  import torch
 
2
  import torch.nn.functional as F
3
  from transformers import GPT2Tokenizer
4
  import tiktoken # Make sure tiktoken is imported
 
1
  import torch
2
+ import torch.nn as nn
3
  import torch.nn.functional as F
4
  from transformers import GPT2Tokenizer
5
  import tiktoken # Make sure tiktoken is imported