class_docstr: A base monitor class for easy task model monitoring
  
  Attributes:
  -----------
  dataset:
      argilla dataset name
  sample_rate:
      The portion of the data to be store in argilla. Default = 0.2
class_docstr_tok: ["A","base","monitor","class","for","easy","task","model","monitoring","Attributes",":","--","--","--","--","--","-","dataset",":","argilla","dataset","name","sample_rate",":","The","portion","of","the","data","to","be","store","in","argilla",".","Default","=","0.2"]
docstr: Return the monitored task model
docstr_tok: ["Return","the","monitored","task","model"]
code: def __model__(self):
      """Return the monitored task model"""
      return self.__wrapped__
  
imports: import atexit
  import logging
  import random
  import threading
  from queue import Empty, Queue
  from typing import Any, Dict, Iterable, List, Optional
  import backoff
  import monotonic
  import wrapt
  from argilla.client.api import Api
  from argilla.client.models import Record
  from argilla.client.sdk.commons.errors import ArApiResponseError
label_desc: Use image node_id 2 for calling the BaseMonitor obj's underlying member method code with example usage: obj.__model__() and returns: self