code: def from_pretrained(
      cls,
      model_name_or_path,
      checkpoint_file="model.pt",
      data_name_or_path=".",
      bpe="sentencepiece",
      **kwargs,
  ):
      from fairseq import hub_utils
  
      x = hub_utils.from_pretrained(
          model_name_or_path,
          checkpoint_file,
          data_name_or_path,
          archive_map=cls.hub_models(),
          bpe=bpe,
          load_checkpoint_heads=True,
          **kwargs,
      )
      return RobertaHubInterface(x["args"], x["task"], x["models"][0])
  
imports: from fairseq.models import register_model
  from .hub_interface import RobertaHubInterface
  from .model import RobertaModel
label_desc: Use image node_id 2 for calling the CamembertModel obj's underlying member method code with example usage: obj.from_pretrained(cls, model_name_or_path, checkpoint_file, data_name_or_path, bpe) and returns: RobertaHubInterface