Update modeling_mistral.py
Browse files- modeling_mistral.py +2 -0
modeling_mistral.py
CHANGED
@@ -200,6 +200,8 @@ class MistralDenseFormerModel(MistralPreTrainedModel):
|
|
200 |
|
201 |
|
202 |
class MistralDenseFormerForCausalLM(MistralForCausalLM):
|
|
|
|
|
203 |
def __init__(self, config: MistralDenseFormerConfig):
|
204 |
super().__init__(config)
|
205 |
self.model = MistralDenseFormerModel(config)
|
|
|
200 |
|
201 |
|
202 |
class MistralDenseFormerForCausalLM(MistralForCausalLM):
|
203 |
+
config_class = MistralDenseFormerConfig
|
204 |
+
|
205 |
def __init__(self, config: MistralDenseFormerConfig):
|
206 |
super().__init__(config)
|
207 |
self.model = MistralDenseFormerModel(config)
|