class_docstr: The FSNER model implements a few-shot named entity recognition method from the paper `Example-Based Named Entity Recognition <https://arxiv.org/abs/2008.10570>`__ by
  Morteza Ziyadi, Yuting Sun, Abhishek Goswami, Jade Huang, Weizhu Chen. To identify entity spans in a new domain, it
  uses a train-free few-shot learning approach inspired by question-answering.
code: def BERT(self, **inputs):
      return self.bert(**inputs).last_hidden_state
  
file_path: H2O/h2o_flexgen/benchmark/third_party/transformers/examples/research_projects/fsner/src/fsner/model.py
imports: import torch
  from transformers import AutoModel
label_desc: Use image node_id 2 for calling the FSNERModel obj's underlying member method code with example usage: obj.BERT() and returns: self