fix: try to fix import error
Browse files- modeling_bert.py +1 -1
modeling_bert.py
CHANGED
@@ -23,7 +23,7 @@ import torch.nn as nn
|
|
23 |
import torch.nn.functional as F
|
24 |
from einops import rearrange
|
25 |
from transformers import PretrainedConfig
|
26 |
-
from configuration_bert import JinaBertConfig
|
27 |
from transformers.models.bert.modeling_bert import (
|
28 |
BaseModelOutputWithPoolingAndCrossAttentions,
|
29 |
BertForPreTrainingOutput,
|
|
|
23 |
import torch.nn.functional as F
|
24 |
from einops import rearrange
|
25 |
from transformers import PretrainedConfig
|
26 |
+
from .configuration_bert import JinaBertConfig
|
27 |
from transformers.models.bert.modeling_bert import (
|
28 |
BaseModelOutputWithPoolingAndCrossAttentions,
|
29 |
BertForPreTrainingOutput,
|