Update modeling_sim.py
Browse files- modeling_sim.py +1 -1
modeling_sim.py
CHANGED
@@ -2,7 +2,7 @@ import torch
|
|
2 |
from torch import nn
|
3 |
from transformers import PreTrainedModel, MobileBertModel
|
4 |
|
5 |
-
class SimModel(
|
6 |
def __init__(self, config):
|
7 |
super().__init__(config)
|
8 |
self.config = config
|
|
|
2 |
from torch import nn
|
3 |
from transformers import PreTrainedModel, MobileBertModel
|
4 |
|
5 |
+
class SimModel(MobileBertModel):
|
6 |
def __init__(self, config):
|
7 |
super().__init__(config)
|
8 |
self.config = config
|