code: def build_vocab(self, sentences, tokenize=True):
      assert hasattr(self, "w2v_path"), "w2v path not set"
      word_dict = self.get_word_dict(sentences, tokenize)
      self.word_vec = self.get_w2v(word_dict)
  
imports: import time
  import numpy
  import torch
  from torch import nn
  import textattack
label_desc: Use image node_id 8 for calling the InferSentModel obj's underlying member method code with example usage: obj.build_vocab(sentences, tokenize) without return types