Upload model
Browse files
model.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import torch.nn as nn
|
2 |
import torch.nn.functional as F
|
3 |
from transformers import AutoModel, AutoTokenizer, PreTrainedModel
|
4 |
-
from config import SRLModelConfig
|
5 |
|
6 |
|
7 |
class SRLModel(PreTrainedModel):
|
|
|
1 |
import torch.nn as nn
|
2 |
import torch.nn.functional as F
|
3 |
from transformers import AutoModel, AutoTokenizer, PreTrainedModel
|
4 |
+
from .config import SRLModelConfig
|
5 |
|
6 |
|
7 |
class SRLModel(PreTrainedModel):
|