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

Update JointBERT-master/model/modeling_jointdistilbert.py

Browse files
JointBERT-master/model/modeling_jointdistilbert.py CHANGED
@@ -1,6 +1,7 @@
1
  import torch
2
  import torch.nn as nn
3
- from transformers.modeling_distilbert import DistilBertPreTrainedModel, DistilBertModel, DistilBertConfig
 
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_distilbert import DistilBertPreTrainedModel, DistilBertModel, DistilBertConfig
4
+ from transformers.models.distilbert.modeling_distilbert import DistilBertPreTrainedModel, DistilBertModel, DistilBertConfig
5
  from torchcrf import CRF
6
  from .module import IntentClassifier, SlotClassifier
7