Commit
•
053e1a3
1
Parent(s):
4ff95c4
Update modeling_mpt.py (#45)
Browse files- Update modeling_mpt.py (ed0bb8b56d9e3a9985e05baa78f633107e5d224a)
Co-authored-by: Younes Belkada <[email protected]>
- modeling_mpt.py +1 -0
modeling_mpt.py
CHANGED
@@ -23,6 +23,7 @@ Tokenizer = Union[PreTrainedTokenizer, PreTrainedTokenizerFast]
|
|
23 |
class MPTPreTrainedModel(PreTrainedModel):
|
24 |
config_class = MPTConfig
|
25 |
base_model_prefix = 'model'
|
|
|
26 |
|
27 |
class MPTModel(MPTPreTrainedModel):
|
28 |
|
|
|
23 |
class MPTPreTrainedModel(PreTrainedModel):
|
24 |
config_class = MPTConfig
|
25 |
base_model_prefix = 'model'
|
26 |
+
_no_split_modules=["MPTBlock"]
|
27 |
|
28 |
class MPTModel(MPTPreTrainedModel):
|
29 |
|