Spaces:
Runtime error
Runtime error
Commit
·
fcbdce5
1
Parent(s):
6cdc783
Update utils.py
Browse files
utils.py
CHANGED
@@ -2,7 +2,6 @@ import torch
|
|
2 |
from torch import nn
|
3 |
import lightning.pytorch as pl
|
4 |
from torch.nn import functional as F
|
5 |
-
from torch.utils.data import DataLoader, Dataset, random_splitim
|
6 |
|
7 |
class Head(nn.Module):
|
8 |
""" one head of self-attention """
|
|
|
2 |
from torch import nn
|
3 |
import lightning.pytorch as pl
|
4 |
from torch.nn import functional as F
|
|
|
5 |
|
6 |
class Head(nn.Module):
|
7 |
""" one head of self-attention """
|