jwieting commited on
Commit
0ae896e
1 Parent(s): 7186847

Update modeling_sim.py

Browse files
Files changed (1) hide show
  1. modeling_sim.py +2 -2
modeling_sim.py CHANGED
@@ -1,8 +1,8 @@
1
  import torch
2
  from torch import nn
3
- from transformers import PreTrainedMobileBertModel, MobileBertModel
4
 
5
- class SimModel(MobileBertModel):
6
  def __init__(self, config):
7
  super().__init__(config)
8
  self.config = config
 
1
  import torch
2
  from torch import nn
3
+ from transformers import MobileBertPreTrainedModel, MobileBertModel
4
 
5
+ class SimModel(MobileBertPreTrainedModel):
6
  def __init__(self, config):
7
  super().__init__(config)
8
  self.config = config