class_docstr: Base class wrapper for GPT wrapper.
class_docstr_tok: ["Base","class","wrapper","for","GPT","wrapper","."]
code: def __init__(self):
      # Load the model from the model zoo via ParlAI
      opt = {
          "skip_generation": False,
          "interactive_mode": True,
          "model": f"hugging_face/{self.model_name}",
          "gpt2_size": self.model_size,
          "add_special_tokens": False,
      }
      opt.update(self.additional_opts)
      self.model = create_agent(opt)
  
imports: from abc import ABC, abstractproperty
  from typing import Dict
  from parlai.core.agents import create_agent
  from projects.safety_bench.utils.wrapper_loading import register_model_wrapper
label_desc: Use image node_id 1 to create a new GPTWrapper object from inherited base classes: ABC with example: obj = GPTWrapper()