class_docstr: A class to represent a model's property and metadata in the ONNX Hub.
  It extracts model name, path, sha, tags, etc. from the passed in raw_model_info dict.
  
  Attributes:
      model: The name of the model.
      model_path: The path to the model, relative to the model zoo (https://github.com/onnx/models/) repo root.
      metadata: Additional metadata of the model, such as the size of the model, IO ports, etc.
      model_sha: The SHA256 digest of the model file.
      tags: A set of tags associated with the model.
      opset: The opset version of the model.
class_docstr_tok: ["A","class","to","represent","a","model","'s","property","and","metadata","in","the","ONNX","Hub",".","It","extracts","model","name",",","path",",","sha",",","tags",",","etc",".","from","the","passed","in","raw_model_info","dict",".","Attributes",":","model",":","The","name","of","the","model",".","model_path",":","The","path","to","the","model",",","relative","to","the","model","zoo","(","https",":","\/\/github.com\/onnx\/models\/",")","repo","root",".","metadata",":","Additional","metadata","of","the","model",",","such","as","the","size","of","the","model",",","IO","ports",",","etc",".","model_sha",":","The","SHA256","digest","of","the","model","file",".","tags",":","A","set","of","tags","associated","with","the","model",".","opset",":","The","opset","version","of","the","model","."]
code: def __repr__(self) -> str:
      return self.__str__()
  
imports: import hashlib
  import json
  import os
  import sys
  import tarfile
  from io import BytesIO
  from os.path import join
  from typing import IO, Any, Dict, List, Optional, Set, Tuple, cast
  from urllib.error import HTTPError
  from urllib.request import urlopen
  import onnx
label_desc: Use image node_id 3 for calling the ModelInfo obj's underlying member method code with example usage: obj.__repr__() and returns: self