Update modeling_apollo.py
Browse files- modeling_apollo.py +1 -2
modeling_apollo.py
CHANGED
@@ -103,8 +103,7 @@ class ApolloForCausalLM(PreTrainedModel):
|
|
103 |
return_dict: Optional[bool] = None,
|
104 |
cache_position=None,
|
105 |
) -> Union[Tuple, CausalLMOutputWithPast]:
|
106 |
-
|
107 |
-
self.freezed_module_patch()
|
108 |
if inputs_embeds is None:
|
109 |
(
|
110 |
input_ids,
|
|
|
103 |
return_dict: Optional[bool] = None,
|
104 |
cache_position=None,
|
105 |
) -> Union[Tuple, CausalLMOutputWithPast]:
|
106 |
+
|
|
|
107 |
if inputs_embeds is None:
|
108 |
(
|
109 |
input_ids,
|