class_docstr: Log objects to ClearML.
  
  To log all the necessary details for a ParlAI experiment using MLOps. After logging,
  details can be viewed in ClearML Experiment Manager Web UI.
docstr: Upload custom artifacts/models to ClearML.
  
  :param artifact_name:
      Name of artifact/model to log or display in ClearML WebUI
  :param artifact_path:
      The disk location of the artifact/model for uploading.
docstr_tok: ["Upload","custom","artifacts\/models","to","ClearML",".",":","param","artifact_name",":","Name","of","artifact\/model","to","log","or","display","in","ClearML","WebUI",":","param","artifact_path",":","The","disk","location","of","the","artifact\/model","for","uploading","."]
code: def upload_artifact(self, artifact_name, artifact_path):
      """
      Upload custom artifacts/models to ClearML.
  
      :param artifact_name:
          Name of artifact/model to log or display in ClearML WebUI
      :param artifact_path:
          The disk location of the artifact/model for uploading.
      """
  
      self.clearml_task.update_output_model(
          model_path=artifact_path,
          model_name=artifact_name,
          auto_delete_file=False,
      )
  
imports: import datetime
  import json
  import numbers
  import os
  import pathlib
  import re
  from typing import Optional
  import parlai.utils.logging
  from parlai.core.metrics import Metric, dict_report, get_metric_display_data
  from parlai.core.opt import Opt
  from parlai.core.params import ParlaiParser
  from parlai.utils.io import PathManager
label_desc: Use image node_id 6 for calling the ClearMLLogger obj's underlying member method code with example usage: obj.upload_artifact(artifact_name, artifact_path) without return types