class_docstr: Class for generating model list in markdown format.
  
  Args:
      dataset_list (list[str]): List of dataset names.
      table_header (list[str]): List of table header.
      msg (str): Message to be displayed.
      task_abbr (str): Abbreviation of task name.
      metric_name (str): Metric name.
code: def _get_model_info(self, task_name: str):
      meta_indexes = load("../../model-index.yml")
      for meta_path in meta_indexes["Import"]:
          meta_path = osp.join("../../", meta_path)
          metainfo = load(meta_path)
          collection2md = {}
          for item in metainfo["Collections"]:
              url = self.base_url + item["README"]
              collection2md[item["Name"]] = f"[链接]({url})"
          for item in metainfo["Models"]:
              if task_name not in item["Config"]:
                  continue
              name = f'`{item["Name"]}`'
              if item.get("Alias", None):
                  if isinstance(item["Alias"], str):
                      item["Alias"] = [item["Alias"]]
                  aliases = [f"`{alias}`" for alias in item["Alias"]]
                  aliases.append(name)
                  name = " / ".join(aliases)
              readme = collection2md[item["In Collection"]]
              eval_res = self._get_eval_res(item)
              yield (name, readme, *eval_res)
  
file_path: mmocr/docs/zh_cn/weight_list.py
imports: import os.path
  from mmengine.fileio import load
  from tabulate import tabulate
label_desc: Use image node_id 2 for calling the BaseWeightList obj's underlying member method code with example usage: obj._get_model_info(task_name) without return types