class_docstr: Load model trained to detect offensive language in the context of single- turn
  dialogue utterances.
  
  This model was trained to be robust to adversarial examples created by humans. See
  <http://parl.ai/projects/dialogue_safety/> for more information.
class_docstr_tok: ["Load","model","trained","to","detect","offensive","language","in","the","context","of","single-","turn","dialogue","utterances",".","This","model","was","trained","to","be","robust","to","adversarial","examples","created","by","humans",".","See","<","http",":","\/\/parl.ai\/projects\/dialogue_safety\/",">","for","more","information","."]
code: def share(self):
      shared = {"model": self.model.share()}
      return shared
  
imports: from parlai.agents.transformer.transformer import TransformerClassifierAgent
  from parlai.core.agents import create_agent, create_agent_from_shared
  from parlai.tasks.dialogue_safety.agents import OK_CLASS, NOT_OK_CLASS
  from parlai.utils.typing import TShared
  from parlai.utils.io import PathManager
  import parlai.utils.logging
  import os
label_desc: Use image node_id 2 for calling the OffensiveLanguageClassifier obj's underlying member method code with example usage: obj.share() and returns: shared