Spaces:
Sleeping
Sleeping
meghanaraok
commited on
Commit
•
077d4e0
1
Parent(s):
ef0a20d
Update LongHiLATmain/models/modeling.py
Browse files
LongHiLATmain/models/modeling.py
CHANGED
@@ -6,7 +6,7 @@ from torch.nn import BCEWithLogitsLoss, Dropout, Linear
|
|
6 |
from transformers import AutoModel, XLNetModel, LongformerConfig
|
7 |
from transformers.models.longformer.modeling_longformer import LongformerEncoder
|
8 |
from huggingface_hub import PyTorchModelHubMixin
|
9 |
-
from LongLAT.
|
10 |
|
11 |
logger = logging.getLogger("lwat")
|
12 |
|
|
|
6 |
from transformers import AutoModel, XLNetModel, LongformerConfig
|
7 |
from transformers.models.longformer.modeling_longformer import LongformerEncoder
|
8 |
from huggingface_hub import PyTorchModelHubMixin
|
9 |
+
from LongLAT.models.utils import initial_code_title_vectors
|
10 |
|
11 |
logger = logging.getLogger("lwat")
|
12 |
|