class_docstr: Reference:
  - data: https://huggingface.co/datasets/fujiki/japanese_alpaca_data
  - code: https://github.com/Stability-AI/gpt-neox/blob/c130a4edc1120dccec8f02a34eb60d3e8f484cd3/finetune/finetune_base_ja.py#LL118C23-L127C11
class_docstr_tok: ["Reference",":","-","data",":","https",":","\/\/huggingface.co\/datasets\/fujiki\/japanese_alpaca_data","-","code",":","https",":","\/\/github.com\/Stability-AI\/gpt-neox\/blob\/c130a4edc1120dccec8f02a34eb60d3e8f484cd3\/finetune\/finetune_base_ja.py","#","LL118C23-L127C11"]
docstr: 以下は、タスクを説明する指示と、文脈のある入力の組み合わせです。要求を適切に満たす応答を書きなさい。
  
  ### 指示:
  {instruction}
  
  ### 入力:
  {input}
  
  ### 応答:
  {response}
docstr_tok: ["\u4ee5\u4e0b\u306f\u3001\u30bf\u30b9\u30af\u3092\u8aac\u660e\u3059\u308b\u6307\u793a\u3068\u3001\u6587\u8108\u306e\u3042\u308b\u5165\u529b\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u3059\u3002\u8981\u6c42\u3092\u9069\u5207\u306b\u6e80\u305f\u3059\u5fdc\u7b54\u3092\u66f8\u304d\u306a\u3055\u3044\u3002","#","#","#","\u6307\u793a",":","{","instruction","}","#","#","#","\u5165\u529b",":","{","input","}","#","#","#","\u5fdc\u7b54",":","{","response","}"]
code: def doc_to_text(self, doc):
      """
      以下は、タスクを説明する指示と、文脈のある入力の組み合わせです。要求を適切に満たす応答を書きなさい。
  
      ### 指示:
      {instruction}
  
      ### 入力:
      {input}
  
      ### 応答:
      {response}
      """
      input_text = f"前提：{doc['premise']}\n仮説：{doc['hypothesis']}"
      return f"### 指示:\n{self.INSTRUCTION}\n\n### 入力:\n{input_text}\n\n### 応答:\n"
  
imports: import os
  from lm_eval.base import BalancedMultipleChoiceTask, rf
label_desc: Use image node_id 1 for calling the JNLIWithJAAlpacaPrompt obj's underlying member method code with example usage: obj.doc_to_text(doc) and returns: str, self, str, input_text, str