class_docstr: archive_file : `str`, optional
      The location of model's pretrained weights.
  training_config : `str`, optional
      A url to the training config.
  install_instructions : `str`, optional
      Any additional instructions for installations.
  overrides : `Dict`, optional
      Optional overrides for the model's architecture.
class_docstr_tok: ["archive_file",":","`","str","`",",","optional","The","location","of","model","'s","pretrained","weights",".","training_config",":","`","str","`",",","optional","A","url","to","the","training","config",".","install_instructions",":","`","str","`",",","optional","Any","additional","instructions","for","installations",".","overrides",":","`","Dict","`",",","optional","Optional","overrides","for","the","model","'s","architecture","."]
code: def __init__(
      self,
      archive_file: Optional[str] = None,
      training_config: Optional[str] = None,
      install_instructions: Optional[str] = None,
      overrides: Optional[Dict] = None,
  ):
      if archive_file and not archive_file.startswith("https:"):
          archive_file = os.path.join(
              self._storage_location, archive_file
          )
  
      if training_config and not training_config.startswith("https:"):
          training_config = os.path.join(
              self._config_location, training_config
          )
  
      self.archive_file = archive_file
      self.training_config = training_config
      self.install_instructions = install_instructions
      self.overrides = overrides
  
imports: import os
  import logging
  from dataclasses import dataclass
  from typing import Optional, Union, Dict, Any, Callable
  from allennlp.common.from_params import FromParams
  from allennlp.models import Model
  from allennlp.common.checks import ConfigurationError
label_desc: Use image node_id 1 to create a new ModelUsage object from inherited base classes: ModelCardInfo with example: obj = ModelUsage(archive_file, training_config, install_instructions, overrides)