MCPcopy Create free account
hub / github.com/THUDM/LongWriter / get_decoder

Method get_decoder

train/patch/modeling_llama.py:1185–1186  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1183 self.model = decoder
1184
1185 def get_decoder(self):
1186 return self.model
1187
1188 @add_start_docstrings_to_model_forward(LLAMA_INPUTS_DOCSTRING)
1189 @replace_return_docstrings(output_type=CausalLMOutputWithPast, config_class=_CONFIG_FOR_DOC)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected