Eunhwan Park commited on
Update modeling_motif.py
Browse files- modeling_motif.py +1 -0
modeling_motif.py
CHANGED
|
@@ -5,6 +5,7 @@ from typing import List, Optional, Tuple, Union
|
|
| 5 |
import torch
|
| 6 |
import torch.nn.functional as F
|
| 7 |
import torch.utils.checkpoint
|
|
|
|
| 8 |
from torch import nn
|
| 9 |
from torch.nn import CrossEntropyLoss
|
| 10 |
from transformers.activations import ACT2CLS as _ACT2CLS
|
|
|
|
| 5 |
import torch
|
| 6 |
import torch.nn.functional as F
|
| 7 |
import torch.utils.checkpoint
|
| 8 |
+
import transformers
|
| 9 |
from torch import nn
|
| 10 |
from torch.nn import CrossEntropyLoss
|
| 11 |
from transformers.activations import ACT2CLS as _ACT2CLS
|