code: def _get_cpu_by_proc_cpuinfo():
      command = ["cat", "/proc/cpuinfo"]
      all_info = subprocess.check_output(command).decode()
      model_pattern = re.compile(r"^\s*model name\s*:")
      for line in all_info.split("\n"):
          if model_pattern.match(line):
              return model_pattern.sub("", line, 1).strip()
  
imports: import os
  import platform
  import re
  import subprocess
  from xml.etree import ElementTree
  import warnings
  from typing import List
  import cpuinfo
  from sacred.utils import optional_kwargs_decorator
  from sacred.settings import SETTINGS
label_desc: Use image node_id 12 for calling a global function with example usage: _get_cpu_by_proc_cpuinfo() and returns: model_pattern