Update modeling_sim.py
Browse files- 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
|
4 |
|
5 |
-
class SimModel(
|
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
|