class_docstr: Base class for alpaca prompters
class_docstr_tok: ["Base","class","for","alpaca","prompters"]
code: def match_prompt_style(self):
      # pylint: disable=duplicate-code
      if self.prompt_style == PromptStyle.INSTRUCT.value:
          self.turn_format = "### Instruction:\n{instruction}\n\n### Input:\n{input}\n\n### Response:\n"
          self.turn_no_input_format = (
              "### Instruction:\n{instruction}\n\n### Response:\n"
          )
          self.system_format = "### System:\n{system}\n\n"
      if self.prompt_style == PromptStyle.CHAT.value:
          self.turn_format = "USER: {instruction}\n{input}\nASSISTANT:"
          self.turn_no_input_format = "USER: {instruction}\nASSISTANT:"
          self.system_format = "SYSTEM: {system}\n"
      if self.prompt_style == PromptStyle.CHATML.value:
          self.turn_format = "<|im_start|>user\n{instruction}\n{input}<|im_end|>\n<|im_start|>assistant\n"
          self.turn_no_input_format = "<|im_start|>user\n{instruction}<|im_end|>\n<|im_start|>assistant\n"
          self.system_format = (
              "<|im_start|>system\n{system}<|im_end|>\n"
          )
  
imports: import logging
  from enum import Enum
  from typing import Generator, Optional, Union
  from colorama import Fore
  from fastchat.conversation import Conversation, get_conv_template
label_desc: Use image node_id 2 for calling the AlpacaPrompter obj's underlying member method code with example usage: obj.match_prompt_style() without return types