Rename modeling_custom_mbz_test.py to modeling.py
Browse files
modeling_custom_mbz_test.py → modeling.py
RENAMED
|
@@ -140,7 +140,7 @@ class GPT(nn.Module):
|
|
| 140 |
x = self.out_head(self.norm(x))
|
| 141 |
return x
|
| 142 |
|
| 143 |
-
class
|
| 144 |
config_class = CustomConfig
|
| 145 |
_supports_attention_backend = True
|
| 146 |
|
|
|
|
| 140 |
x = self.out_head(self.norm(x))
|
| 141 |
return x
|
| 142 |
|
| 143 |
+
class CustomModel(PreTrainedModel):
|
| 144 |
config_class = CustomConfig
|
| 145 |
_supports_attention_backend = True
|
| 146 |
|