ydshieh
commited on
Commit
•
eb8e175
1
Parent(s):
cbde900
add model
Browse files- modeling_my_model.py +1 -1
modeling_my_model.py
CHANGED
@@ -4,7 +4,7 @@ from .configuration_my_model import MyModelConfig
|
|
4 |
|
5 |
|
6 |
class MyModelPretrainedModel(PreTrainedModel):
|
7 |
-
|
8 |
|
9 |
|
10 |
class MyModel(MyModelPretrainedModel):
|
|
|
4 |
|
5 |
|
6 |
class MyModelPretrainedModel(PreTrainedModel):
|
7 |
+
config_class = MyModelConfig
|
8 |
|
9 |
|
10 |
class MyModel(MyModelPretrainedModel):
|