code: def make_github_table_per_model(reduced_by_model):
      header = "| model | no. of errors | major error | count |"
      sep = "|-:|-:|-:|-:|"
      lines = [header, sep]
      for model in reduced_by_model:
          count = reduced_by_model[model]["count"]
          error, _count = list(
              reduced_by_model[model]["errors"].items()
          )[0]
          line = f"| {model} | {count} | {error[:60]} | {_count} |"
          lines.append(line)
  
      return "\n".join(lines)
  
file_path: H2O/h2o_flexgen/benchmark/third_party/transformers/utils/get_ci_error_statistics.py
imports: import argparse
  import json
  import math
  import os
  import subprocess
  import time
  import zipfile
  from collections import Counter
  import requests
label_desc: Use image node_id 10 for calling a global function with example usage: make_github_table_per_model(reduced_by_model) and returns: str