Update modeling.py
Browse files- modeling.py +2 -1
modeling.py
CHANGED
|
@@ -2,7 +2,8 @@ import torch
|
|
| 2 |
import torch.nn as nn
|
| 3 |
from transformers import PreTrainedModel
|
| 4 |
from transformers.modeling_outputs import CausalLMOutputWithPast
|
| 5 |
-
|
|
|
|
| 6 |
|
| 7 |
class MaskedSelfAttentionLayer(nn.Module):
|
| 8 |
def __init__(self, embed_dim, num_heads):
|
|
|
|
| 2 |
import torch.nn as nn
|
| 3 |
from transformers import PreTrainedModel
|
| 4 |
from transformers.modeling_outputs import CausalLMOutputWithPast
|
| 5 |
+
|
| 6 |
+
from .configure import RecombinationTransformerConfig
|
| 7 |
|
| 8 |
class MaskedSelfAttentionLayer(nn.Module):
|
| 9 |
def __init__(self, embed_dim, num_heads):
|