Update modeling_Llamoe.py
Browse files- modeling_Llamoe.py +1 -1
modeling_Llamoe.py
CHANGED
@@ -940,7 +940,7 @@ class LlamoeForCausalLM(LlamoePreTrainedModel):
|
|
940 |
def __init__(self, config: PhiConfig) -> None:
|
941 |
super().__init__(config)
|
942 |
|
943 |
-
self.transformer =
|
944 |
self.lm_head = CausalLMHead(config)
|
945 |
self.loss = CausalLMLoss()
|
946 |
|
|
|
940 |
def __init__(self, config: PhiConfig) -> None:
|
941 |
super().__init__(config)
|
942 |
|
943 |
+
self.transformer = LlamoeModel(config)
|
944 |
self.lm_head = CausalLMHead(config)
|
945 |
self.loss = CausalLMLoss()
|
946 |
|