Spaces:
Running
Running
Update model.py
Browse files
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
|