svjack commited on
Commit
149d0e5
1 Parent(s): f97469e

Update JointBERT-master/model/modeling_jointalbert.py

Browse files
JointBERT-master/model/modeling_jointalbert.py CHANGED
@@ -1,6 +1,7 @@
1
  import torch
2
  import torch.nn as nn
3
- from transformers.modeling_albert import AlbertPreTrainedModel, AlbertModel, AlbertConfig
 
4
  from torchcrf import CRF
5
  from .module import IntentClassifier, SlotClassifier
6
 
 
1
  import torch
2
  import torch.nn as nn
3
+ #from transformers.modeling_albert import AlbertPreTrainedModel, AlbertModel, AlbertConfig
4
+ from transformers.models.albert.modeling_albert import AlbertPreTrainedModel, AlbertModel, AlbertConfig
5
  from torchcrf import CRF
6
  from .module import IntentClassifier, SlotClassifier
7