  def debug_model_cli(
      # fmt: off
      ctx: typer.Context,  # This is only used to read additional arguments
      config_path: Path = Arg(..., help="Path to config file", exists=True),
      section: str = Arg(..., help="Section that defines the model to be analysed"),
      layers: str = Opt("", "--layers", "-l", help="Comma-separated names of layer IDs to print"),
      dimensions: bool = Opt(False, "--dimensions", "-DIM", help="Show dimensions"),
      parameters: bool = Opt(False, "--parameters", "-PAR", help="Show parameters"),
      gradients: bool = Opt(False, "--gradients", "-GRAD", help="Show gradients"),
      attributes: bool = Opt(False, "--attributes", "-ATTR", help="Show attributes"),
 
</s> remove             _, config = util.load_model_from_config(cfg, overrides=config_overrides)
 </s> add             nlp, config = util.load_model_from_config(cfg, overrides=config_overrides) </s> remove     seed = config["pretraining"]["seed"]
 </s> add     seed = config.get("training", {}).get("seed", None) </s> remove     component = dot_to_object(config, section)
 </s> add     component = nlp.get_pipe(pipe_name) </s> remove             f"The section '{section}' does not specify an object that holds a Model.",
 </s> add             f"The component '{pipe_name}' does not specify an object that holds a Model.",
    pipe_name: str = Arg(..., help="Name of the pipe of which the model should be analysed"),
  def debug_model_cli(
      # fmt: off
      ctx: typer.Context,  # This is only used to read additional arguments
      config_path: Path = Arg(..., help="Path to config file", exists=True),
    pipe_name: str = Arg(..., help="Name of the pipe of which the model should be analysed"),
      layers: str = Opt("", "--layers", "-l", help="Comma-separated names of layer IDs to print"),
      dimensions: bool = Opt(False, "--dimensions", "-DIM", help="Show dimensions"),
      parameters: bool = Opt(False, "--parameters", "-PAR", help="Show parameters"),
      gradients: bool = Opt(False, "--gradients", "-GRAD", help="Show gradients"),
      attributes: bool = Opt(False, "--attributes", "-ATTR", help="Show attributes"),
keep keep keep keep replace keep keep keep keep keep
 pipe_name instead of section in debug_model 
spacy/cli/debug_model.py