mirror of
https://github.com/modelscope/modelscope.git
synced 2025-12-25 12:39:25 +01:00
remove llama2 dup in chat task
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/14359280 * remove llama2 dup in chat task
This commit is contained in:
@@ -74,7 +74,6 @@ def get_chat_prompt(system: str, text: str, history: List[Tuple[str, str]],
|
||||
@MODELS.register_module(Tasks.chat, module_name=Models.llama2)
|
||||
@MODELS.register_module(Tasks.chat, module_name=Models.llama)
|
||||
@MODELS.register_module(Tasks.text_generation, module_name=Models.llama2)
|
||||
@MODELS.register_module(Tasks.chat, module_name=Models.llama2)
|
||||
@MODELS.register_module(Tasks.text_generation, module_name=Models.llama)
|
||||
class LlamaForTextGeneration(MsModelMixin, LlamaForCausalLM, TorchModel):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user