code: def doc_to_text(self, doc):
      text = "Article: " + doc["article"] + "\n\n"
      for problem in doc["problems"][:-1]:
          if problem["question"][-6:] == "  _  .":
              text += (
                  problem["question"][-5:]
                  + self.get_answer_option(problem)
                  + "\n"
              )
          else:
              question = "Question: " + problem["question"] + "\n"
              answer = (
                  "Answer: " + self.get_answer_option(problem) + "\n"
              )
              text += question + answer
      text += self.last_problem(doc)["question"]
      return text
  
imports: import collections
  import datasets
  import numpy
  from lm_eval.base import rf, Task
  from lm_eval.metrics import mean
label_desc: Use image node_id 10 for calling the RACE obj's underlying member method code with example usage: obj.doc_to_text(doc) and returns: text