Update model.py
Browse files
model.py
CHANGED
@@ -4,7 +4,7 @@ from transformers.modeling_outputs import BaseModelOutputWithPooling
|
|
4 |
import torch.nn as nn
|
5 |
import torch.nn.functional as F
|
6 |
from transformers.modeling_outputs import SequenceClassifierOutput
|
7 |
-
from transformers import
|
8 |
from transformers import PretrainedConfig
|
9 |
|
10 |
class BertLSTMConfig(PretrainedConfig):
|
|
|
4 |
import torch.nn as nn
|
5 |
import torch.nn.functional as F
|
6 |
from transformers.modeling_outputs import SequenceClassifierOutput
|
7 |
+
from transformers import PreTrainedModel
|
8 |
from transformers import PretrainedConfig
|
9 |
|
10 |
class BertLSTMConfig(PretrainedConfig):
|